Correction d'un bogue dans l'envoi de mail ColissimoWs + finalisation module DHL
This commit is contained in:
@@ -53,7 +53,10 @@ class ShippingNotificationSender extends BaseAction implements EventSubscriberIn
|
||||
*/
|
||||
public function sendShippingNotification(OrderEvent $event)
|
||||
{
|
||||
if ($event->getOrder()->isSent()) {
|
||||
$order = $event->getOrder();
|
||||
$module = new ColissimoWs();
|
||||
|
||||
if ($event->getOrder()->isSent() && $order->getDeliveryModuleId() == $module->getModuleModel()->getId()) {
|
||||
$contact_email = ConfigQuery::getStoreEmail();
|
||||
|
||||
if ($contact_email) {
|
||||
|
||||
Reference in New Issue
Block a user