andom-tec changes

This commit is contained in:
Frank Schubert
2024-12-24 12:38:29 +01:00
parent aff469924e
commit ee0037835c
24 changed files with 5518 additions and 298 deletions

View File

@@ -102,13 +102,15 @@ class AddressController extends mfBaseController {
if(!array_key_exists("customer_number", $filter) || !$filter["customer_number"]) {
if(array_key_exists("type", $filter)) {
if($filter["type"] == "xinon") {
if($filter["type"] == "systemowner") {
$new_filter["customer_or_fibu_numbers"] = true;
} elseif($filter["type"] == "others") {
$new_filter["customer_or_fibu_numbers"] = false;
}
} else {
$new_filter["customer_or_fibu_numbers"] = true; // default
if(defined("TT_ADDRESS_FILTER_DEFAULT_SYSOWNER") && TT_ADDRESS_FILTER_DEFAULT_SYSOWNER) {
$new_filter["customer_or_fibu_numbers"] = true; // default
}
}
unset($filter["type"]);
unset($filter["customer_number"]);