Added Fibu Filter

This commit is contained in:
Luca Haid
2025-01-21 09:37:40 +01:00
parent c2d284ee78
commit ed29480cce
2 changed files with 12 additions and 1 deletions

View File

@@ -577,6 +577,13 @@ class InvoiceModel {
}
}
if(array_key_exists("fibu_account_number", $filter)) {
$fibu_account_number = $filter['fibu_account_number'];
if($fibu_account_number) {
$where .= " AND Invoice.fibu_account_number = '$fibu_account_number'";
}
}
if(array_key_exists("add-where", $filter)) {
$where .= " ".$filter['add-where'];