This commit is contained in:
Alexandre SPANGARO 2022-08-20 03:26:09 +02:00
commit ff0f44ab35

View File

@ -362,9 +362,9 @@ if ($result) {
$amount_ht[$obj->socid] = $obj->amount; $amount_ht[$obj->socid] = $obj->amount;
$amount[$obj->socid] = $obj->amount_ttc; $amount[$obj->socid] = $obj->amount_ttc;
$fullname = $obj->name; $fullname = $obj->name;
if (!empty($obj->name_alias)) { if (!empty($obj->name_alias)) {
$fullname .= ' ('.$obj->name_alias.')'; $fullname .= ' ('.$obj->name_alias.')';
} }
$name[$obj->socid] = $fullname; $name[$obj->socid] = $fullname;
$address_zip[$obj->socid] = $obj->zip; $address_zip[$obj->socid] = $obj->zip;
$address_town[$obj->socid] = $obj->town; $address_town[$obj->socid] = $obj->town;