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