Added Fibu Filter
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user