On rajoute les derniers modules et on modifie les CSS
This commit is contained in:
@@ -50,7 +50,7 @@ class ColissimoTools
|
||||
public static $isoOutreMerZone2 = array('NC', 'PF', 'WF', 'TF');
|
||||
|
||||
/** @var array $isoOutreMerZone1Special Outre-Mer zone 1, special rules with Inter-Dom & FR shipments */
|
||||
public static $isoOutreMerZone1Special = array('GP', 'MQ');
|
||||
public static $isoOutreMerZone1Special = array('GP', 'MQ', 'BL', 'MF');
|
||||
|
||||
//@formatter:off
|
||||
/** @var array $isoOutreMerReturnSpecial Outre-Mer special : we can make return from these ISO to only these same ISO + 3 FR ISO */
|
||||
@@ -1050,13 +1050,13 @@ class ColissimoTools
|
||||
*/
|
||||
public static function createAddressFromPickupPoint($pickupPoint, $order, $phone)
|
||||
{
|
||||
$customer = new Customer((int) $order->id_customer);
|
||||
$idCountry = Country::getByIso($pickupPoint->iso_country);
|
||||
$deliveryAddress = new Address((int) $order->id_address_delivery);
|
||||
$pickupPointAddress = new Address();
|
||||
$pickupPointAddress->id_customer = (int) $order->id_customer;
|
||||
$pickupPointAddress->alias = 'COLISSIMO POINT PICKUP '.(int) $pickupPoint->id;
|
||||
$pickupPointAddress->lastname = pSQL($customer->lastname);
|
||||
$pickupPointAddress->firstname = pSQL($customer->firstname);
|
||||
$pickupPointAddress->lastname = pSQL($deliveryAddress->lastname);
|
||||
$pickupPointAddress->firstname = pSQL($deliveryAddress->firstname);
|
||||
$pickupPointAddress->company = pSQL($pickupPoint->company_name);
|
||||
$pickupPointAddress->address1 = pSQL($pickupPoint->address1);
|
||||
$pickupPointAddress->address2 = pSQL($pickupPoint->address2);
|
||||
|
||||
Reference in New Issue
Block a user