WIP Address & rimo import

This commit is contained in:
Frank Schubert
2024-01-23 17:07:39 +01:00
parent 6e7d158287
commit 27b8716974
10 changed files with 646 additions and 18 deletions

View File

@@ -263,6 +263,13 @@ class AddressModel {
}
}
if(array_key_exists("fibu_or_supplier_account_number", $filter)) {
$fsn = $filter["fibu_or_supplier_account_number"];
if($fsn) {
$where .= " AND (fibu_account_number LIKE '$fsn' OR fibu_supplier_number LIKE '$fsn')";
}
}
if(array_key_exists("fibu_primary_account", $filter)) {
$fpa = $filter["fibu_primary_account"];
if($fpa) {
@@ -431,6 +438,11 @@ class AddressModel {
}
}
// custom where clause
if(array_key_exists("add-where", $filter)) {
$where .= " ".$filter['add-where'];
}
//var_dump($filter, $where);exit;
return $where;
}