updated admin address and order page

This commit is contained in:
Shreesh Arora
2022-12-25 10:19:59 +05:30
parent 479a88f4e2
commit a2fea8aa6c
4 changed files with 4 additions and 8 deletions

View File

@@ -500,7 +500,7 @@ class AdminAddressesControllerCore extends AdminController
$customer = Customer::searchByName($email);
if (!empty($customer)) {
$customer = $customer['0'];
echo json_encode(array('infos' => pSQL($customer['firstname']).'_'.pSQL($customer['lastname']).'_'.pSQL($customer['company'])));
echo json_encode(array('infos' => pSQL($customer['firstname']).'_'.pSQL($customer['lastname']).'_'.pSQL($customer['company']).'_'.pSQL($customer['id_customer'])));
}
}
die;