Merge branch 'fronkdev' into 'master'

fixed invoice_file filter in InvoiceModel

See merge request fronk/thetool!620
This commit is contained in:
Frank Schubert
2024-09-01 17:16:50 +00:00

View File

@@ -371,7 +371,7 @@ class InvoiceModel {
if($invoice_file === true) {
$where .= " AND InvoiceFile.id > 0'";
} elseif($invoice_file === false || $invoice_file === null) {
$where .= " AND InvoiceFile.id IS NOT NULL";
$where .= " AND InvoiceFile.id IS NULL";
}
}