fixed invoice_file filter in InvoiceModel
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user