From 276ead9bb190f9079eee5508f7a517052baca8bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=CC=81s=CC=8C=20Ludvik?= Date: Thu, 12 Dec 2024 10:40:04 +0100 Subject: [PATCH] fixup! added saveOrderTo Convertim --- src/Model/Order/ConvertimOrderDataToOrderDataMapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Order/ConvertimOrderDataToOrderDataMapper.php b/src/Model/Order/ConvertimOrderDataToOrderDataMapper.php index b82766a..9498ec8 100644 --- a/src/Model/Order/ConvertimOrderDataToOrderDataMapper.php +++ b/src/Model/Order/ConvertimOrderDataToOrderDataMapper.php @@ -124,8 +124,8 @@ public function mapConvertimOrderDataToOrderData(ConvertimOrderData $convertimOr $extraTransportData = $convertimOrderData->getTransportData()->getExtra(); if ($extraTransportData !== null && $extraTransportData->getPickUpPointCode() !== null) { - $orderData->deliveryFirstName = $extraTransportData->getName(); - $orderData->deliveryLastName = $extraTransportData->getLastName(); + $orderData->deliveryFirstName = $convertimDeliveryAddressData->getName(); + $orderData->deliveryLastName = $convertimDeliveryAddressData->getLastName(); $orderData->deliveryCompanyName = $extraTransportData->getPickupPointCompanyName(); $orderData->deliveryStreet = $extraTransportData->getPickupPointStreet(); $orderData->deliveryCity = $extraTransportData->getPickupPointCity();