Smartsend_Logistics - Version 7.1.4

Version Notes

- Fixing error when creating shipments
- Include middelname
- Only send customer a shipment email if label successfully created.

Download this release

Release Info

Developer Smart Send ApS
Extension Smartsend_Logistics
Version 7.1.4
Comparing to
See all releases


Code changes from version 7.1.3 to 7.1.4

app/code/community/Smartsend/Logistics/.DS_Store CHANGED
Binary file
app/code/community/Smartsend/Logistics/Model/Labelmagento.php CHANGED
@@ -178,7 +178,7 @@ class Smartsend_Logistics_Model_Labelmagento extends Smartsend_Logistics_Model_L
178
  $this->settings = array(
179
  'combine_pdf_labels' => Mage::getStoreConfig('carriers/smartsend/combinepdf'),
180
  'change_order_status' => Mage::getStoreConfig('carriers/smartsend/status'),
181
- 'send_shipment_mail' => Mage::getStoreConfig('carriers/smartsend/sendemail')
182
  );
183
  }
184
 
@@ -210,6 +210,8 @@ class Smartsend_Logistics_Model_Labelmagento extends Smartsend_Logistics_Model_L
210
  * @return void
211
  */
212
  protected function sendShipmentEmail($order_number,$parcels_succes_array,$customer_email_comments=null) {
 
 
213
  if(is_array($parcels_succes_array)) {
214
  foreach($parcels_succes_array as $parcel) {
215
 
@@ -236,6 +238,7 @@ class Smartsend_Logistics_Model_Labelmagento extends Smartsend_Logistics_Model_L
236
  } else {
237
  throw new Exception( $this->getMessageString(2210) );
238
  }
 
239
  }
240
 
241
  /*
@@ -308,6 +311,18 @@ class Smartsend_Logistics_Model_Labelmagento extends Smartsend_Logistics_Model_L
308
  ->setData('carrier_code', $carrier_code)
309
  ->setData('order_id', $shipment->getData('order_id'))
310
  ->save();
 
 
 
 
 
 
 
 
 
 
 
 
311
  } else {
312
  throw new Exception( $this->getMessageString(2208) );
313
  }
178
  $this->settings = array(
179
  'combine_pdf_labels' => Mage::getStoreConfig('carriers/smartsend/combinepdf'),
180
  'change_order_status' => Mage::getStoreConfig('carriers/smartsend/status'),
181
+ 'send_shipment_mail' => Mage::getStoreConfig('sales_email/shipment/enabled')
182
  );
183
  }
184
 
210
  * @return void
211
  */
212
  protected function sendShipmentEmail($order_number,$parcels_succes_array,$customer_email_comments=null) {
213
+ // An email will automatically be send from the system when a shipment is created
214
+ /*
215
  if(is_array($parcels_succes_array)) {
216
  foreach($parcels_succes_array as $parcel) {
217
 
238
  } else {
239
  throw new Exception( $this->getMessageString(2210) );
240
  }
241
+ */
242
  }
243
 
244
  /*
311
  ->setData('carrier_code', $carrier_code)
312
  ->setData('order_id', $shipment->getData('order_id'))
313
  ->save();
314
+
315
+ //An email is only send if a tracking number is returned
316
+ $email = Mage::getStoreConfig('sales_email/shipment/enabled'); //Setting from: System->Configuration->Sales Emails->Shipment->Enabled
317
+ $includeComment = false;
318
+ $comment = "";
319
+
320
+ //Email the customer that the order is sent
321
+ if(!$shipment->getEmailSent() && $email){
322
+ $shipment->sendEmail(true,($includeComment ? $comment : ''));
323
+ $shipment->setEmailSent(true);
324
+ $shipment->save();
325
+ }
326
  } else {
327
  throw new Exception( $this->getMessageString(2208) );
328
  }
app/code/community/Smartsend/Logistics/Model/Ordermagento.php CHANGED
@@ -79,7 +79,7 @@ class Smartsend_Logistics_Model_Ordermagento extends Smartsend_Logistics_Model_O
79
  2308 => 'Unknown shipping carrier',
80
  2309 => 'Unable to determine shipping method',
81
  // Order set
82
- 2401 => 'All packages has been shipped. No parcels without trace code exists. Remove existing tracecodes to re-generate labels.',
83
  2402 => 'No items to ship',
84
  2403 => 'No parcels to ship',
85
  // Order get
@@ -186,7 +186,7 @@ class Smartsend_Logistics_Model_Ordermagento extends Smartsend_Logistics_Model_O
186
  return array(
187
  'receiverid'=> ($this->_order->getShippingAddress()->getId() != '' ? $this->_order->getShippingAddress()->getId() : 'guest-'.rand(100000,999999)),
188
  'company' => $this->_order->getShippingAddress()->getCompany(),
189
- 'name1' => $this->_order->getShippingAddress()->getFirstname() .' '. $this->_order->getShippingAddress()->getLastname(),
190
  'name2' => null,
191
  'address1' => $this->_order->getShippingAddress()->getStreet(1),
192
  'address2' => $this->_order->getShippingAddress()->getStreet(2),
@@ -209,7 +209,7 @@ class Smartsend_Logistics_Model_Ordermagento extends Smartsend_Logistics_Model_O
209
  return array(
210
  'receiverid'=> ($this->_order->getBillingAddress()->getId() != '' ? $this->_order->getBillingAddress()->getId() : 'guest-'.rand(100000,999999)),
211
  'company' => $this->_order->getBillingAddress()->getCompany(),
212
- 'name1' => $this->_order->getBillingAddress()->getFirstname() .' '. $this->_order->getBillingAddress()->getLastname(),
213
  'name2' => null,
214
  'address1' => $this->_order->getBillingAddress()->getStreet(1),
215
  'address2' => $this->_order->getBillingAddress()->getStreet(2),
@@ -597,7 +597,7 @@ class Smartsend_Logistics_Model_Ordermagento extends Smartsend_Logistics_Model_O
597
  $unshipped_items = $this->getUnshippedItems();
598
 
599
  // Create array with id's and quantities of unshipped items
600
- if(is_array($itemsarray)) {
601
  $itemsarray = array();
602
  foreach($unshipped_items as $item) {
603
  $itemsarray[$item['id']] = $item['quantity'];
@@ -606,35 +606,21 @@ class Smartsend_Logistics_Model_Ordermagento extends Smartsend_Logistics_Model_O
606
  $itemsarray = null;
607
  }
608
 
609
- /* check order shipment is prossiable or not */
610
-
611
- $email = false;
612
  $includeComment = false;
613
  $comment = "";
614
 
615
- if ($order->canShip()) {
616
-
617
- $shipmentId = Mage::getModel('sales/order_shipment_api')->create(
618
- $order->getIncrementId(), //(string) orderIncrementId - Order increment ID
619
- $itemsarray, //(array) itemsQty - Array of orderItemIdQty (optional)
620
- $comment, //(string) comment - Shipment comment (optional)
621
- $email, //(int) email - Send email flag (optional)
622
- $includeComment //(int) includeComment - Include comment in email flag (optional)
623
- );
624
-
625
- if($shipmentId) {
626
- //Add a tracecode if one is provided
627
- if($tracking_number && $shipmentId) {
628
- $carrier_code = 'smartsend'.$this->getShippingCarrier();
629
 
630
- $trackmodel = Mage::getModel('sales/order_shipment_api')
631
- ->addTrack(
632
- $shipmentId, //(string) shipmentIncrementId - Shipment increment ID
633
- $carrier_code, //(string) carrier - Carrier code (smartsendpostdanmark, smartsendgls)
634
- $order->getShippingDescription(), //(string) title - Tracking title
635
- $tracking_number //(string) trackNumber - Tracking number
636
- );
637
- }
638
 
639
  // Set the order status as 'Processing'
640
  $order->setIsInProcess($email);
@@ -642,12 +628,41 @@ class Smartsend_Logistics_Model_Ordermagento extends Smartsend_Logistics_Model_O
642
 
643
  try {
644
  $transactionSave = Mage::getModel('core/resource_transaction')
 
645
  ->addObject($order)
646
  ->save();
647
 
 
 
 
 
 
648
  } catch (Mage_Core_Exception $e) {
649
  throw new Exception($this->_errors[2402].': '.$e);
650
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
  }
652
  }
653
 
79
  2308 => 'Unknown shipping carrier',
80
  2309 => 'Unable to determine shipping method',
81
  // Order set
82
+ 2401 => 'All packages have been shipped. No parcels without trace code exists. Remove existing tracecodes to re-generate labels.',
83
  2402 => 'No items to ship',
84
  2403 => 'No parcels to ship',
85
  // Order get
186
  return array(
187
  'receiverid'=> ($this->_order->getShippingAddress()->getId() != '' ? $this->_order->getShippingAddress()->getId() : 'guest-'.rand(100000,999999)),
188
  'company' => $this->_order->getShippingAddress()->getCompany(),
189
+ 'name1' => $this->_order->getShippingAddress()->getName(),
190
  'name2' => null,
191
  'address1' => $this->_order->getShippingAddress()->getStreet(1),
192
  'address2' => $this->_order->getShippingAddress()->getStreet(2),
209
  return array(
210
  'receiverid'=> ($this->_order->getBillingAddress()->getId() != '' ? $this->_order->getBillingAddress()->getId() : 'guest-'.rand(100000,999999)),
211
  'company' => $this->_order->getBillingAddress()->getCompany(),
212
+ 'name1' => $this->_order->getBillingAddress()->getName(),
213
  'name2' => null,
214
  'address1' => $this->_order->getBillingAddress()->getStreet(1),
215
  'address2' => $this->_order->getBillingAddress()->getStreet(2),
597
  $unshipped_items = $this->getUnshippedItems();
598
 
599
  // Create array with id's and quantities of unshipped items
600
+ if(is_array($unshipped_items)) {
601
  $itemsarray = array();
602
  foreach($unshipped_items as $item) {
603
  $itemsarray[$item['id']] = $item['quantity'];
606
  $itemsarray = null;
607
  }
608
 
609
+ /* check if order shipment is prossiable or not */
610
+ //An email is only send if a tracking number is returned
611
+ $email = Mage::getStoreConfig('sales_email/shipment/enabled'); //Setting from: System->Configuration->Sales Emails->Shipment->Enabled
612
  $includeComment = false;
613
  $comment = "";
614
 
615
+ if( $order->canShip() && !empty($itemsarray) ) {
616
+ // @var $shipment Mage_Sales_Model_Order_Shipment
617
+ // prepare to create shipment
618
+ $shipment = Mage::getModel('sales/service_order', $order)->prepareShipment($itemsarray);
619
+ if ($shipment) {
620
+ $shipment->register();
 
 
 
 
 
 
 
 
621
 
622
+ //Add a comment. Second parameter is whether or not to email the comment to the user
623
+ $shipment->addComment($comment, $email && $includeComment);
 
 
 
 
 
 
624
 
625
  // Set the order status as 'Processing'
626
  $order->setIsInProcess($email);
628
 
629
  try {
630
  $transactionSave = Mage::getModel('core/resource_transaction')
631
+ ->addObject($shipment)
632
  ->addObject($order)
633
  ->save();
634
 
635
+ //Set order status as complete
636
+ //$order->setData('state', Mage_Sales_Model_Order::STATE_COMPLETE);
637
+ //$order->setData('status', Mage_Sales_Model_Order::STATE_COMPLETE);
638
+ //$order->save();
639
+
640
  } catch (Mage_Core_Exception $e) {
641
  throw new Exception($this->_errors[2402].': '.$e);
642
  }
643
+
644
+ if($tracking_number) {
645
+ //Get the carrier code
646
+ $carrier_code = 'smartsend'.$this->getShippingCarrier();
647
+
648
+ // Add tracking information to the shipment
649
+ //$shipment = Mage::getModel('sales/order_shipment')->load($shipment_number);
650
+ $track = Mage::getModel('sales/order_shipment_track')
651
+ ->setShipment($shipment)
652
+ ->setData('title', $order->getShippingDescription())
653
+ ->setData('number', $tracking_number)
654
+ ->setData('carrier_code', $carrier_code)
655
+ ->setData('order_id', $shipment->getData('order_id'))
656
+ ->save();
657
+ }
658
+
659
+ //Email the customer that the order is sent
660
+ if(!$shipment->getEmailSent() && $email){
661
+ $shipment->sendEmail(true,($includeComment ? $comment : ''));
662
+ $shipment->setEmailSent(true);
663
+ $shipment->save();
664
+ }
665
+
666
  }
667
  }
668
 
app/code/community/Smartsend/Logistics/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Smartsend_Logistics>
5
- <version>7.1.3</version>
6
  </Smartsend_Logistics>
7
  </modules>
8
  <frontend>
@@ -244,7 +244,6 @@
244
  <combinepdf>1</combinepdf>
245
  <listformat>1</listformat> <!-- is listtype #Company, #Street, #Zipcode #City-->
246
  <status></status> <!-- order status -->
247
- <sendemail>0</sendemail> <!-- send email with shipments -->
248
  <includeordercomment>0</includeordercomment> <!-- include order comment on label -->
249
  </smartsend>
250
  <smartsendpostdanmark>
2
  <config>
3
  <modules>
4
  <Smartsend_Logistics>
5
+ <version>7.1.4</version>
6
  </Smartsend_Logistics>
7
  </modules>
8
  <frontend>
244
  <combinepdf>1</combinepdf>
245
  <listformat>1</listformat> <!-- is listtype #Company, #Street, #Zipcode #City-->
246
  <status></status> <!-- order status -->
 
247
  <includeordercomment>0</includeordercomment> <!-- include order comment on label -->
248
  </smartsend>
249
  <smartsendpostdanmark>
app/code/community/Smartsend/Logistics/etc/system.xml CHANGED
@@ -65,16 +65,6 @@
65
  <show_in_website>1</show_in_website>
66
  <show_in_store>1</show_in_store>
67
  </status>
68
- <sendemail translate="label">
69
- <label>Send shipment email</label>
70
- <comment>Send system shipment email to the customer after generating label</comment>
71
- <frontend_type>select</frontend_type>
72
- <source_model>adminhtml/system_config_source_yesno</source_model>
73
- <sort_order>116</sort_order>
74
- <show_in_default>1</show_in_default>
75
- <show_in_website>1</show_in_website>
76
- <show_in_store>1</show_in_store>
77
- </sendemail>
78
  <includeordercomment translate="label">
79
  <label>Include order comment on label</label>
80
  <frontend_type>select</frontend_type>
65
  <show_in_website>1</show_in_website>
66
  <show_in_store>1</show_in_store>
67
  </status>
 
 
 
 
 
 
 
 
 
 
68
  <includeordercomment translate="label">
69
  <label>Include order comment on label</label>
70
  <frontend_type>select</frontend_type>
app/code/community/Smartsend/Logistics/sql/.DS_Store ADDED
Binary file
app/locale/da_DK/Smartsend_Logistics.csv CHANGED
@@ -128,12 +128,13 @@
128
  "Unable to determine shipping carrier","Kunne ikke bestemme fragtfirmaet"
129
  "Unknown shipping carrier","Ukendt fragtmetode"
130
  "Unable to determine shipping method","Kunne ikke bestemme fragtmetoden"
131
- "All packages has been shipped. No parcels without trace code exists. Remove existing tracecodes to re-generate labels.","Alle pakker er allerede afsendt. Ingen pakker mangler trackingnummer. Fjern eksisterende trackingnumre for at lave nye labels."
132
  "No items to ship","Ingen produkter kan afsendes"
133
  "No parcels to ship","Ingen forsendelser at sende"
134
  "Trying to access pickup data for an order that is not a pickup point order","Kunne ikke hente data om afhentningssted for en ordre der er sendt med anden metode"
135
 
136
  "Pickuppoint","Afhentningssted"
 
137
  "ID","ID"
138
  "Shipping to closest pick-up point","Sendes til nærmeste afhentningssted"
139
  "Select a pick-up point","Vælg et afhentningssted"
128
  "Unable to determine shipping carrier","Kunne ikke bestemme fragtfirmaet"
129
  "Unknown shipping carrier","Ukendt fragtmetode"
130
  "Unable to determine shipping method","Kunne ikke bestemme fragtmetoden"
131
+ "All packages have been shipped. No parcels without trace code exists. Remove existing tracecodes to re-generate labels.","Alle pakker er allerede afsendt. Ingen pakker mangler trackingnummer. Fjern eksisterende trackingnumre for at lave nye labels."
132
  "No items to ship","Ingen produkter kan afsendes"
133
  "No parcels to ship","Ingen forsendelser at sende"
134
  "Trying to access pickup data for an order that is not a pickup point order","Kunne ikke hente data om afhentningssted for en ordre der er sendt med anden metode"
135
 
136
  "Pickuppoint","Afhentningssted"
137
+ "Pick-up point","Afhentningssted"
138
  "ID","ID"
139
  "Shipping to closest pick-up point","Sendes til nærmeste afhentningssted"
140
  "Select a pick-up point","Vælg et afhentningssted"
package.xml CHANGED
@@ -1,20 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Smartsend_Logistics</name>
4
- <version>7.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Advanced table rate shipping module with flexible conditions determining the rate and pick-up point during checkout.</summary>
10
- <description>Advanced table rate shipping methods with flexible conditions determining the rate and even let the customer chose a pick-up point during checkout. Integrates the shipping methods directly with carrier systems and create PDF labels directly from the backend.</description>
11
- <notes>Adding support for vConnect.&#xD;
12
- Fixing problem with unshipped items.&#xD;
13
- Fixing problems when no quote was yet created.</notes>
14
  <authors><author><name>Smart Send ApS</name><user>SmartSendDK</user><email>anders@smartsend.dk</email></author></authors>
15
- <date>2016-08-13</date>
16
- <time>16:00:31</time>
17
- <contents><target name="magecommunity"><dir name="Smartsend"><dir name="Logistics"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Info.php" hash="1e5269928626d3817b62cd4f382ac47a"/></dir><file name=".DS_Store" hash="a8024b86a2a6db24778a3da06b907bb8"/></dir><file name=".DS_Store" hash="db8663527ef5b94baa488e6056d35583"/></dir><file name=".DS_Store" hash="b19a555b34effebfe57bd7c15c0c8862"/></dir><file name="Shipping.php" hash="6713003ed07238480a8c557a6571d4ec"/><dir name="System"><dir name="Config"><file name="Excludetax.php" hash="cf6ee2a8f49bca55781ec9f9372b065b"/></dir><file name=".DS_Store" hash="a4d594a19cdea83c0103f6c635cc5a0a"/></dir><file name=".DS_Store" hash="8bbb92bd2cfd28df977802de06072e04"/></dir><file name="Bring.php" hash="552368784d2ab08740b6ccae1aeac710"/><file name="Gls.php" hash="5d73876aeffcbf9ea74b97500bf5547d"/><file name="Postdanmark.php" hash="62fce9866e4ccc165b104bd9e6b4c169"/><file name="Posten.php" hash="6179e6778be6157d46d30feca6c29d66"/><file name=".DS_Store" hash="39abb3416520deef5fc7dde1ef51ad8a"/></dir><dir name="Helper"><file name="Data.php" hash="2a7ebc0b1cc73dbfa20179294a4db144"/></dir><dir name="Model"><dir name="Api"><file name="Pickups.php" hash="1728e9b8d75963ff20000bfc543b1eab"/><file name="Validation.php" hash="1b79d70115a27dc6ea60513a8b63b6e2"/></dir><file name="Bring.php" hash="d085d49eb215752102ab74926a0d5c79"/><dir name="Carrier"><file name="Bring.php" hash="77ed23574ecab8ce681b70464a767836"/><file name="Gls.php" hash="c1ea91a8dfd267f3935dbd758daa6e07"/><file name="Postdanmark.php" hash="001379f18cfa1d56707bc079e62b3d8b"/><file name="Posten.php" hash="e91c9cd9b9dcb83674ff0b5fc93b7f0a"/></dir><file name="Flex.php" hash="387ef50380f86a4f5b81384cfd63e5d7"/><file name="Gls.php" hash="a40e74472e611bbd955c752f97d9769c"/><file name="Label.php" hash="b47c7fd9f087b79243228da630f37147"/><file name="Labelmagento.php" hash="63d1b7ae9e7404c2ca9ba7797561cb26"/><dir name="Mysql4"><dir name="Bring"><file name="Collection.php" hash="fbab7b8475845cd8c724f81f8da318cd"/></dir><file name="Bring.php" hash="2761ca69301f65d7c50dab039f832489"/><dir name="Flex"><file name="Collection.php" hash="b753243d0e12e93075d85b839bdf0cf3"/></dir><file name="Flex.php" hash="4ac593e8fa8be6a7d7cb26a325c01806"/><dir name="Gls"><file name="Collection.php" hash="ff85ba1838f20c88909cac240d484e90"/></dir><file name="Gls.php" hash="c6c4d58ebf7bde0fd13d010efc34771a"/><dir name="Pickup"><file name="Collection.php" hash="51b13cbc4eba93b1a4f97e15c403738b"/></dir><file name="Pickup.php" hash="a227429c1b4e405e96b42ca48a8f83fd"/><dir name="Postdanmark"><file name="Collection.php" hash="340ad97e9348c794b6c5af36c063c716"/></dir><file name="Postdanmark.php" hash="0eb4991832f7a7915e4b683aec0dd5bf"/><dir name="Posten"><file name="Collection.php" hash="0ce6dbb1ce831f71c53d924fb7bab360"/></dir><file name="Posten.php" hash="82adc2661f43b5fb1cd7e1cd8a77c367"/></dir><file name="Observer.php" hash="f3841c23f6c12e0c1094e1410daab6b5"/><file name="Order.php" hash="b3664ea3630d850072a363b6ad2a71ce"/><file name="Ordermagento.php" hash="f3d2f54d59ffbf301f079817a2f68f12"/><file name="Postdanmark.php" hash="049fd41acaeb28e3acbe6741fd2c3f1f"/><file name="Posten.php" hash="054949a6cd0f076f78587668e07cd723"/><dir name="Rewrite"><dir name="Sales"><dir name="Total"><dir name="Quote"><file name="Shipping.php" hash="9a5d55e67039ad7ea2d006f3388a7026"/><file name="Tax.php" hash="0a24c3f50a4cea7b5779eb784119c08d"/></dir></dir></dir></dir><file name="ShippingMethods.php" hash="6a05a45a3089eec8cc769b80c79a640f"/><file name="Status.php" hash="1e747a56f6fa5bfdff090d503178363a"/><dir name="System"><file name="CombinePdf.php" hash="8cf30d3e5ae6122d3df1f62e9020dbb3"/><file name="Listformat.php" hash="44dc7ae56508fd0d6cb6f7b6497b6648"/><file name="OrderOption.php" hash="c3dc4faae2f992a419c155ab3dbacc42"/><file name="Pacsoftformat.php" hash="ca53392c16a6cc90fcd2ca96f11d3cd6"/><dir name="Postdanmark"><file name="Flexdelivery.php" hash="39206f9b3449b523f1d8c2cdbe49ad1a"/></dir><dir name="Posten"><file name="Flexdelivery.php" hash="b48d69d668dcb72e7aa1a7e552346953"/></dir><file name="Return.php" hash="fafdb0b8f936dd53cc57304a12b3d63c"/><file name="Status.php" hash="ffc60450fe14ad83045d85819bd35468"/></dir><file name=".DS_Store" hash="2f9c145545e6e164ee760ec2b00d93f6"/></dir><dir name="controllers"><file name="LogisticsController.php" hash="f6e254d63cb831d59b7ae0aa12e027f3"/></dir><dir name="etc"><file name="config.xml" hash="ed25e4d4420de7c520c6ba270d3d9fbf"/><file name="system.xml" hash="20da4d61124c890f770b89d2c481a539"/></dir><dir name="sql"><dir name="logistics_setup"><file name="mysql4-install-7.0.1.php" hash="20adc2e823e38d1f6a8768ca7884cbdb"/><file name="mysql4-upgrade-7.0.5-7.0.6.php" hash="84015d08da1d57e444ab49a94d20ccac"/><file name="mysql4-upgrade-7.0.9-7.1.0.php" hash="900722f3b1da348dc862999d4046e3a9"/></dir></dir><file name=".DS_Store" hash="51bedc559f6bab4d254a8b5a8dd586e2"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="logistics.xml" hash="85fd40f808ff31f1be68263af36cd87a"/></dir><dir name="template"><dir name="logistics"><file name="array_dropdown.phtml" hash="0af2e17b8332f7ce489775c20ab2aad6"/><file name="pickup.phtml" hash="1e40a66722db378ec196f8b8556f433c"/><dir name="sales"><dir name="order"><dir name="create"><dir name="shipping"><dir name="method"><file name="form.phtml" hash="a2f5ca68efcff0cc0056879858b390a3"/></dir></dir></dir><dir name="view"><file name="info.phtml" hash="21c113f17c39865d2dfcb99316c36a60"/><dir name="tab"><file name="info.phtml" hash="bd6f569633cb9db29ea41647b51a7d88"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="excludetax.phtml" hash="8e67e3bf0d3817cfc32d718e0435f8e6"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="logistics.xml" hash="9bab67a5d56c65e36b7c823fcc0d97d1"/></dir><dir name="template"><dir name="logistics"><dir name="checkout"><dir name="cart"><file name="shipping.phtml" hash="210de86c632932ebd6cd174aaa966b91"/></dir><dir name="onepage"><dir name="shipping_method"><file name="available.phtml" hash="dbb6bb045fce61dacfb9aa00753c300d"/></dir><file name=".DS_Store" hash="69ddbba7cb8c0d1983dca56b576ad606"/></dir><file name=".DS_Store" hash="3a0b8c30af181f66c3bee373319ea31f"/></dir><dir name="email"><dir name="order"><dir name="shipment"><file name="track.phtml" hash="a6e681503ed9697583fcf8a6bb8a8e1f"/></dir></dir></dir><dir name="magestoreOnestepcheckout"><file name="shipping_method.phtml" hash="d5887a43f8861843680a2677e25e2388"/></dir><dir name="onestepcheckout"><file name="shipping_method.phtml" hash="f863700aaf72e850518bf93fd48493a8"/></dir><file name="pickup.phtml" hash="d80f9aa08018319e9a47feec3313ba99"/><file name=".DS_Store" hash="36886f9febedac16869950fc7491188f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Smartsend_Logistics.xml" hash="f54aeead0ec93bc9e7d5150bac2b6907"/></dir></target><target name="magelocale"><dir name="da_DK"><file name="Smartsend_Logistics.csv" hash="c8f3deb76492ee1af61afdd29bf1e663"/><dir name="template"><dir name="email"><file name="smartsend_new_shipment_email.html" hash="1810230f1ac214ed68f396ebbd94bebc"/></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="logistics"><file name="jquery-1.10.2.min.js" hash="841dc30647f93349b7d8ef61deebe411"/><file name="jquery-1.6.4.min.js" hash="9118381924c51c89d9414a311ec9c97f"/><file name="jquery.session.js" hash="64502a24fa0b6875f9f35573d06766fe"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><file name="logistics.js" hash="e0dfee4a43a32d6814f415d83417f6fe"/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
- <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>2.0</max></package><extension><name>curl</name><min>6.0</min><max/></extension></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Smartsend_Logistics</name>
4
+ <version>7.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Smart Send Logistics shipping module</summary>
10
+ <description>Advanced table rate shipping module with flexible conditions determining the rate and pick-up point during checkout.</description>
11
+ <notes>- Fixing error when creating shipments&#xD;
12
+ - Include middelname&#xD;
13
+ - Only send customer a shipment email if label successfully created.</notes>
14
  <authors><author><name>Smart Send ApS</name><user>SmartSendDK</user><email>anders@smartsend.dk</email></author></authors>
15
+ <date>2016-10-12</date>
16
+ <time>21:40:18</time>
17
+ <contents><target name="magecommunity"><dir name="Smartsend"><dir name="Logistics"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Info.php" hash="1e5269928626d3817b62cd4f382ac47a"/></dir><file name=".DS_Store" hash="a8024b86a2a6db24778a3da06b907bb8"/></dir><file name=".DS_Store" hash="db8663527ef5b94baa488e6056d35583"/></dir><file name=".DS_Store" hash="b19a555b34effebfe57bd7c15c0c8862"/></dir><file name="Shipping.php" hash="6713003ed07238480a8c557a6571d4ec"/><dir name="System"><dir name="Config"><file name="Excludetax.php" hash="cf6ee2a8f49bca55781ec9f9372b065b"/></dir><file name=".DS_Store" hash="a4d594a19cdea83c0103f6c635cc5a0a"/></dir><file name=".DS_Store" hash="8bbb92bd2cfd28df977802de06072e04"/></dir><file name="Bring.php" hash="552368784d2ab08740b6ccae1aeac710"/><file name="Gls.php" hash="5d73876aeffcbf9ea74b97500bf5547d"/><file name="Postdanmark.php" hash="62fce9866e4ccc165b104bd9e6b4c169"/><file name="Posten.php" hash="6179e6778be6157d46d30feca6c29d66"/><file name=".DS_Store" hash="39abb3416520deef5fc7dde1ef51ad8a"/></dir><dir name="Helper"><file name="Data.php" hash="2a7ebc0b1cc73dbfa20179294a4db144"/></dir><dir name="Model"><dir name="Api"><file name="Pickups.php" hash="1728e9b8d75963ff20000bfc543b1eab"/><file name="Validation.php" hash="1b79d70115a27dc6ea60513a8b63b6e2"/></dir><file name="Bring.php" hash="d085d49eb215752102ab74926a0d5c79"/><dir name="Carrier"><file name="Bring.php" hash="77ed23574ecab8ce681b70464a767836"/><file name="Gls.php" hash="c1ea91a8dfd267f3935dbd758daa6e07"/><file name="Postdanmark.php" hash="001379f18cfa1d56707bc079e62b3d8b"/><file name="Posten.php" hash="e91c9cd9b9dcb83674ff0b5fc93b7f0a"/></dir><file name="Flex.php" hash="387ef50380f86a4f5b81384cfd63e5d7"/><file name="Gls.php" hash="a40e74472e611bbd955c752f97d9769c"/><file name="Label.php" hash="b47c7fd9f087b79243228da630f37147"/><file name="Labelmagento.php" hash="2a03cf636fe8587268031c234eb23e8f"/><dir name="Mysql4"><dir name="Bring"><file name="Collection.php" hash="fbab7b8475845cd8c724f81f8da318cd"/></dir><file name="Bring.php" hash="2761ca69301f65d7c50dab039f832489"/><dir name="Flex"><file name="Collection.php" hash="b753243d0e12e93075d85b839bdf0cf3"/></dir><file name="Flex.php" hash="4ac593e8fa8be6a7d7cb26a325c01806"/><dir name="Gls"><file name="Collection.php" hash="ff85ba1838f20c88909cac240d484e90"/></dir><file name="Gls.php" hash="c6c4d58ebf7bde0fd13d010efc34771a"/><dir name="Pickup"><file name="Collection.php" hash="51b13cbc4eba93b1a4f97e15c403738b"/></dir><file name="Pickup.php" hash="a227429c1b4e405e96b42ca48a8f83fd"/><dir name="Postdanmark"><file name="Collection.php" hash="340ad97e9348c794b6c5af36c063c716"/></dir><file name="Postdanmark.php" hash="0eb4991832f7a7915e4b683aec0dd5bf"/><dir name="Posten"><file name="Collection.php" hash="0ce6dbb1ce831f71c53d924fb7bab360"/></dir><file name="Posten.php" hash="82adc2661f43b5fb1cd7e1cd8a77c367"/></dir><file name="Observer.php" hash="f3841c23f6c12e0c1094e1410daab6b5"/><file name="Order.php" hash="b3664ea3630d850072a363b6ad2a71ce"/><file name="Ordermagento.php" hash="f05fd677e4b604c992b54cfe7ae8eb18"/><file name="Postdanmark.php" hash="049fd41acaeb28e3acbe6741fd2c3f1f"/><file name="Posten.php" hash="054949a6cd0f076f78587668e07cd723"/><dir name="Rewrite"><dir name="Sales"><dir name="Total"><dir name="Quote"><file name="Shipping.php" hash="9a5d55e67039ad7ea2d006f3388a7026"/><file name="Tax.php" hash="0a24c3f50a4cea7b5779eb784119c08d"/></dir></dir></dir></dir><file name="ShippingMethods.php" hash="6a05a45a3089eec8cc769b80c79a640f"/><file name="Status.php" hash="1e747a56f6fa5bfdff090d503178363a"/><dir name="System"><file name="CombinePdf.php" hash="8cf30d3e5ae6122d3df1f62e9020dbb3"/><file name="Listformat.php" hash="44dc7ae56508fd0d6cb6f7b6497b6648"/><file name="OrderOption.php" hash="c3dc4faae2f992a419c155ab3dbacc42"/><file name="Pacsoftformat.php" hash="ca53392c16a6cc90fcd2ca96f11d3cd6"/><dir name="Postdanmark"><file name="Flexdelivery.php" hash="39206f9b3449b523f1d8c2cdbe49ad1a"/></dir><dir name="Posten"><file name="Flexdelivery.php" hash="b48d69d668dcb72e7aa1a7e552346953"/></dir><file name="Return.php" hash="fafdb0b8f936dd53cc57304a12b3d63c"/><file name="Status.php" hash="ffc60450fe14ad83045d85819bd35468"/></dir><file name=".DS_Store" hash="2f9c145545e6e164ee760ec2b00d93f6"/></dir><dir name="controllers"><file name="LogisticsController.php" hash="f6e254d63cb831d59b7ae0aa12e027f3"/></dir><dir name="etc"><file name="config.xml" hash="829314cbc26f3215b435e3c44c6adeb3"/><file name="system.xml" hash="012eada1736d0d9a1291391e867f5ed5"/></dir><dir name="sql"><dir name="logistics_setup"><file name="mysql4-install-7.0.1.php" hash="20adc2e823e38d1f6a8768ca7884cbdb"/><file name="mysql4-upgrade-7.0.5-7.0.6.php" hash="84015d08da1d57e444ab49a94d20ccac"/><file name="mysql4-upgrade-7.0.9-7.1.0.php" hash="900722f3b1da348dc862999d4046e3a9"/></dir><file name=".DS_Store" hash="f96c1bfac22fe7ddb15d4c7895e0106f"/></dir><file name=".DS_Store" hash="0e858d7ff4f87aafdd30eb6337fac065"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="logistics.xml" hash="85fd40f808ff31f1be68263af36cd87a"/></dir><dir name="template"><dir name="logistics"><file name="array_dropdown.phtml" hash="0af2e17b8332f7ce489775c20ab2aad6"/><file name="pickup.phtml" hash="1e40a66722db378ec196f8b8556f433c"/><dir name="sales"><dir name="order"><dir name="create"><dir name="shipping"><dir name="method"><file name="form.phtml" hash="a2f5ca68efcff0cc0056879858b390a3"/></dir></dir></dir><dir name="view"><file name="info.phtml" hash="21c113f17c39865d2dfcb99316c36a60"/><dir name="tab"><file name="info.phtml" hash="bd6f569633cb9db29ea41647b51a7d88"/></dir></dir></dir></dir><dir name="system"><dir name="config"><file name="excludetax.phtml" hash="8e67e3bf0d3817cfc32d718e0435f8e6"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="logistics.xml" hash="9bab67a5d56c65e36b7c823fcc0d97d1"/></dir><dir name="template"><dir name="logistics"><dir name="checkout"><dir name="cart"><file name="shipping.phtml" hash="210de86c632932ebd6cd174aaa966b91"/></dir><dir name="onepage"><dir name="shipping_method"><file name="available.phtml" hash="dbb6bb045fce61dacfb9aa00753c300d"/></dir><file name=".DS_Store" hash="69ddbba7cb8c0d1983dca56b576ad606"/></dir><file name=".DS_Store" hash="3a0b8c30af181f66c3bee373319ea31f"/></dir><dir name="email"><dir name="order"><dir name="shipment"><file name="track.phtml" hash="a6e681503ed9697583fcf8a6bb8a8e1f"/></dir></dir></dir><dir name="magestoreOnestepcheckout"><file name="shipping_method.phtml" hash="d5887a43f8861843680a2677e25e2388"/></dir><dir name="onestepcheckout"><file name="shipping_method.phtml" hash="f863700aaf72e850518bf93fd48493a8"/></dir><file name="pickup.phtml" hash="d80f9aa08018319e9a47feec3313ba99"/><file name=".DS_Store" hash="36886f9febedac16869950fc7491188f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Smartsend_Logistics.xml" hash="f54aeead0ec93bc9e7d5150bac2b6907"/></dir></target><target name="magelocale"><dir name="da_DK"><file name="Smartsend_Logistics.csv" hash="9a4a042d712e933885f071c83a681b0b"/><dir name="template"><dir name="email"><file name="smartsend_new_shipment_email.html" hash="1810230f1ac214ed68f396ebbd94bebc"/></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="logistics"><file name="jquery-1.10.2.min.js" hash="841dc30647f93349b7d8ef61deebe411"/><file name="jquery-1.6.4.min.js" hash="9118381924c51c89d9414a311ec9c97f"/><file name="jquery.session.js" hash="64502a24fa0b6875f9f35573d06766fe"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><file name="logistics.js" hash="e0dfee4a43a32d6814f415d83417f6fe"/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
+ <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php><extension><name>curl</name><min>6.0</min><max/></extension></required></dependencies>
20
  </package>