Skip to content

Commit

Permalink
fixup! added saveOrderTo Convertim
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed Dec 12, 2024
1 parent 42647bf commit 276ead9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Order/ConvertimOrderDataToOrderDataMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 276ead9

Please sign in to comment.