Order/Form: Changed owner and billingaddress to autocomplete instead of

select
This commit is contained in:
Frank Schubert
2022-01-25 22:39:57 +01:00
parent fec01ee1bc
commit 517174de4c
9 changed files with 385 additions and 115 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ foreach(IvtCustomerModel::getAll() as $cust) {
$address_data['firstname'] = $cust->firstname;
$address_data['lastname'] = $cust->surname;
$address_data['street'] = $cust->street;
if(!empty($cust->housenumber)) {
if(strlen($cust->housenumber)) {
$address_data['street'] .= " ".$cust->housenumber;
}
$address_data['zip'] = $cust->zip;