Fixed to_date in Invoice/Index Filer
This commit is contained in:
@@ -126,7 +126,7 @@ class InvoiceController extends mfBaseController {
|
||||
|
||||
if(array_key_exists("invoice_date_to", $filter)) {
|
||||
if($filter["invoice_date_to"]) {
|
||||
$to = Layout::dateToInt($filter["invoice_date_to"]." 23:59:59");
|
||||
$to = Layout::dateToInt($filter["invoice_date_to"])." 23:59:59";
|
||||
$new_filter["invoice_date<="] = $to;
|
||||
}
|
||||
unset($filter["invoice_date_to"]);
|
||||
|
||||
Reference in New Issue
Block a user