Fixed to_date in Invoice/Index Filer

This commit is contained in:
Frank Schubert
2025-03-04 20:42:18 +01:00
parent cf7f70b7ea
commit 6bfce0a886

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