diff --git a/modules/logistics/ajax.php b/modules/logistics/ajax.php index 7b822805..ae4eb1cb 100644 --- a/modules/logistics/ajax.php +++ b/modules/logistics/ajax.php @@ -406,6 +406,7 @@ if(($id_order = (int) Tools::getValue('id_order')) if(count($id_order_details) > 0) { $logs = array(); + // Send by LAPOSTE if($l = Db::getInstance()->ExecuteS(' SELECT l.*, d.`product_name`, d.`product_reference`, d.`product_supplier_reference`, e.`firstname`, e.`lastname`, "laposte" AS `carrier` FROM `'._DB_PREFIX_.'lapostews` l @@ -417,6 +418,8 @@ if(($id_order = (int) Tools::getValue('id_order')) ')) { $logs = array_merge($logs, $l); } + + // Send by EXAPAQ if($l = Db::getInstance()->ExecuteS(' SELECT l.*, d.`product_name`, d.`product_reference`, d.`product_supplier_reference`, e.`firstname`, e.`lastname`, "exapaq" AS `carrier` FROM `'._DB_PREFIX_.'exapaqws` l @@ -428,9 +431,8 @@ if(($id_order = (int) Tools::getValue('id_order')) ')) { $logs = array_merge($logs, $l); } - /* - * @Override MondialRelay - */ + + // Send by MONDIAL RELAY if($l = Db::getInstance()->ExecuteS(' SELECT l.*, d.`product_name`, d.`product_reference`, d.`product_supplier_reference`, e.`firstname`, e.`lastname`, "mondialrelay" AS `carrier` FROM `'._DB_PREFIX_.'mondialrelay_parcel` l @@ -442,9 +444,8 @@ if(($id_order = (int) Tools::getValue('id_order')) ')) { $logs = array_merge($logs, $l); } - /* - * @Override Dropshipping - */ + + // Send by DROPSHIPPING if($l = Db::getInstance()->ExecuteS(' SELECT l.*, d.`product_name`, d.`product_reference`, d.`product_supplier_reference`, "Dropshipping" as firstname FROM `'._DB_PREFIX_.'ant_dropshipping_parcel` l @@ -455,9 +456,8 @@ if(($id_order = (int) Tools::getValue('id_order')) ')) { $logs = array_merge($logs, $l); } - /* - * @Override Philea - */ + + // Send by PHILEA if($l = Db::getInstance()->ExecuteS(' SELECT l.*, d.`product_name`, d.`product_reference`, d.`product_supplier_reference`, "Philea" as firstname, c.`name` as carrier FROM `'._DB_PREFIX_.'philea_parcel` l