Fixed to filter in Invoice

This commit is contained in:
Frank Schubert
2025-02-12 15:31:32 +01:00
parent c2c2a97db0
commit b583990ca8

View File

@@ -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"]);
$to = Layout::dateToInt($filter["invoice_date_to"]." 23:59:59");
$new_filter["invoice_date<="] = $to;
}
unset($filter["invoice_date_to"]);