Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Release V1.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
roerlemans committed Jun 2, 2021
1 parent aeccadd commit f326893
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions app/code/community/DHLParcel/Shipping/Helper/Labels.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ public function shipmentToShipmentRequest($shipment, $packageSizes = array(), $s
$shipmentOptions['PS'] = $order->getData('dhlparcel_servicepoint');
}


// Fill Packages Sizes
$colliCount = 0;
$pieces = array();
Expand Down Expand Up @@ -258,7 +257,7 @@ public function shipmentToShipmentRequest($shipment, $packageSizes = array(), $s
'isBusiness' => $toBusiness !== null ? $toBusiness : boolval(Mage::getStoreConfig('carriers/dhlparcel/b2b')),
'addition' => $recipientAddress['addition'],
],
'email' => $shippingAddress->getEmail(),
'email' => $shippingAddress->getEmail() ?: $order->getCustomerEmail(),
'phoneNumber' => $shippingAddress->getTelephone(),
],
'shipper' => [
Expand Down Expand Up @@ -434,7 +433,7 @@ public function shipmentToReturnShipmentRequest($shipment, $packageSizes = array
'isBusiness' => $fromBusiness !== null ? $fromBusiness : boolval(Mage::getStoreConfig('carriers/dhlparcel/b2b')),
'addition' => $shipperAddress['addition'],
],
'email' => $shippingAddress->getEmail(),
'email' => $shippingAddress->getEmail() ?: $order->getCustomerEmail(),
'phoneNumber' => $shippingAddress->getTelephone(),
],
'returnLabel' => true,
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/DHLParcel/Shipping/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<config>
<modules>
<DHLParcel_Shipping>
<version>1.1.10</version>
<version>1.1.11</version>
</DHLParcel_Shipping>
</modules>
<admin>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dhlparcel/magento1-plugin",
"description": "DHL Parcel plugin for Magento 1",
"type": "magento-module",
"version": "1.1.10",
"version": "1.1.11",
"require": {
"php": ">=5.5",
"ext-json": "*"
Expand Down

0 comments on commit f326893

Please sign in to comment.