Eabi_DpdEE - Version 0.1.11

Version Notes

- Changed timezone ETC/GMT+0 to Etc/GMT+0 because of errors on some servers
- Added event listener before checkout commit to throw exception when parcel terminal is not selected
- Added event listener for sending out e-mail on data send success and fetching email from corresponding shipping method model

Download this release

Release Info

Developer Magento Core Team
Extension Eabi_DpdEE
Version 0.1.11
Comparing to
See all releases


Code changes from version 0.1.10 to 0.1.11

app/code/community/Eabi/DpdEE/Block/Order/Courier.php CHANGED
@@ -158,7 +158,7 @@ class Eabi_DpdEE_Block_Order_Courier extends Mage_Core_Block_Template {
158
  $input = '0'.$input;
159
  }
160
  $date = new Zend_Date($input, $this->_timeFormat);
161
- $date->setTimezone('ETC/GMT+0');
162
  return $date;
163
  }
164
 
158
  $input = '0'.$input;
159
  }
160
  $date = new Zend_Date($input, $this->_timeFormat);
161
+ $date->setTimezone('Etc/GMT+0');
162
  return $date;
163
  }
164
 
app/code/community/Eabi/DpdEE/CHANGELOG.txt CHANGED
@@ -31,3 +31,8 @@
31
  0.1.10
32
  - Changed test URL to http://demo.surflink.ee:51680/rpc/gateway/
33
  - Fixed bugs related to not auto-sending data when module was disabled on global scale, but was enabled in a specified store
 
 
 
 
 
31
  0.1.10
32
  - Changed test URL to http://demo.surflink.ee:51680/rpc/gateway/
33
  - Fixed bugs related to not auto-sending data when module was disabled on global scale, but was enabled in a specified store
34
+
35
+ 0.1.11
36
+ - Changed timezone ETC/GMT+0 to Etc/GMT+0 because of errors on some servers
37
+ - Added event listener before checkout commit to throw exception when parcel terminal is not selected
38
+ - Added event listener for sending out e-mail on data send success and fetching email from corresponding shipping method model
app/code/community/Eabi/DpdEE/etc/config.xml CHANGED
@@ -36,7 +36,7 @@
36
  <config>
37
  <modules>
38
  <Eabi_DpdEE>
39
- <version>0.1.10</version>
40
  </Eabi_DpdEE>
41
  </modules>
42
 
36
  <config>
37
  <modules>
38
  <Eabi_DpdEE>
39
+ <version>0.1.11</version>
40
  </Eabi_DpdEE>
41
  </modules>
42
 
app/code/community/Eabi/Postoffice/Model/Carrier/Abstract.php CHANGED
@@ -239,6 +239,8 @@ abstract class Eabi_Postoffice_Model_Carrier_Abstract extends Mage_Shipping_Mode
239
  final public function collectRates(Mage_Shipping_Model_Rate_Request $request) {
240
  //determine if this shipping method is available
241
  $addressId = (string)$this->getAddressId($request);
 
 
242
  if (!$this->getConfigData('active')) {
243
  $this->clearAddressId($addressId);
244
  return false;
@@ -265,6 +267,7 @@ abstract class Eabi_Postoffice_Model_Carrier_Abstract extends Mage_Shipping_Mode
265
  return false;
266
  }
267
  }
 
268
  if ($this->getConfigData('min_package_weight') > 0) {
269
  if (min($loadedProductWeights) < (float) $this->getConfigData('min_package_weight')) {
270
  $this->clearAddressId($addressId);
@@ -349,6 +352,7 @@ abstract class Eabi_Postoffice_Model_Carrier_Abstract extends Mage_Shipping_Mode
349
  //handling action type could not be detected, return false
350
  //shipping method not available
351
  $this->clearAddressId($addressId);
 
352
  return false;
353
  }
354
 
239
  final public function collectRates(Mage_Shipping_Model_Rate_Request $request) {
240
  //determine if this shipping method is available
241
  $addressId = (string)$this->getAddressId($request);
242
+
243
+
244
  if (!$this->getConfigData('active')) {
245
  $this->clearAddressId($addressId);
246
  return false;
267
  return false;
268
  }
269
  }
270
+
271
  if ($this->getConfigData('min_package_weight') > 0) {
272
  if (min($loadedProductWeights) < (float) $this->getConfigData('min_package_weight')) {
273
  $this->clearAddressId($addressId);
352
  //handling action type could not be detected, return false
353
  //shipping method not available
354
  $this->clearAddressId($addressId);
355
+
356
  return false;
357
  }
358
 
app/code/community/Eabi/Postoffice/Model/Observer.php CHANGED
@@ -62,5 +62,134 @@ class Eabi_Postoffice_Model_Observer {
62
  }
63
 
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  }
62
  }
63
 
64
 
65
+ /**
66
+ * <p>Validates that pickup point would be selected before order confirmation.</p>
67
+ * <p>Exception is thrown when parcel terminal is not selected</p>
68
+ * @param Varien_Event_Observer $observer
69
+ */
70
+ public function validateSelectedTerminal($observer) {
71
+ /* @var $order Mage_Sales_Model_Order */
72
+ /* @var $quote Mage_Sales_Model_Quote */
73
+ $order = $observer->getEvent()->getOrder();
74
+
75
+ $quote = $observer->getEvent()->getQuote();
76
+
77
+ if ($order->getIsNotVirtual()) {
78
+ $shippingMethod = $order->getShippingMethod();
79
+ //get the shipping code from the order and call the module from it.
80
+ $shippingCarrierCode = substr($shippingMethod, 0, strpos($shippingMethod, '_'));
81
+ $shippingMethodModel = Mage::getModel('shipping/shipping')->getCarrierByCode($shippingCarrierCode, $order->getStoreId());
82
+ if ($shippingMethodModel && ($shippingMethodModel instanceof Eabi_Postoffice_Model_Carrier_Abstract)) {
83
+ $resultCarrierId = substr($shippingMethod, strrpos($shippingMethod, '_') + 1);
84
+ if (!is_numeric($resultCarrierId)) {
85
+ Mage::throwException($this->_getOfficeHelper()->__('Please select pickup point for %s', $shippingMethodModel->getConfigData('title')));
86
+
87
+ }
88
+ }
89
+ }
90
+ }
91
 
92
+ /**
93
+ * <p>Prepares email to be sent with new order template and barcode as order comment</p>
94
+ * @param Varien_Event_Observer $observer
95
+ */
96
+ public function dispatchEmailsToCarriers($observer) {
97
+ /* @var $order Mage_Sales_Model_Order */
98
+ /* @var $shipmentMethod Eabi_Postoffice_Model_Carrier_Abstract */
99
+ $order = $observer->getEvent()->getOrder();
100
+ $shipmentMethod = $observer->getEvent()->getShipmentMethod();
101
+ $request = $observer->getEvent()->getRequest();
102
+ $result = $observer->getEvent()->getResult();
103
+ $barcode = $shipmentMethod->getBarcode($order);
104
+
105
+ if (!$barcode) {
106
+ //no barcode, do not send emails
107
+ return;
108
+ }
109
+ if (is_array($barcode)) {
110
+ $barcode = implode(', ', $barcode);
111
+ }
112
+
113
+
114
+ // Start store emulation process
115
+ $appEmulation = Mage::getSingleton('core/app_emulation');
116
+ $initialEnvironmentInfo = $appEmulation->startEnvironmentEmulation($order->getStoreId());
117
+
118
+ try {
119
+ // Retrieve specified view block from appropriate design package (depends on emulated store)
120
+ $paymentBlock = Mage::helper('payment')->getInfoBlock($order->getPayment())
121
+ ->setIsSecureMode(true);
122
+ $paymentBlock->getMethod()->setStore($order->getStoreId());
123
+ $paymentBlockHtml = $paymentBlock->toHtml();
124
+ } catch (Exception $exception) {
125
+ // Stop store emulation process
126
+ $appEmulation->stopEnvironmentEmulation($initialEnvironmentInfo);
127
+ throw $exception;
128
+ }
129
+
130
+
131
+ // Retrieve corresponding email template id and customer name
132
+ if ($order->getCustomerIsGuest()) {
133
+ $templateId = Mage::getStoreConfig(Mage_Sales_Model_Order::XML_PATH_EMAIL_GUEST_TEMPLATE, $order->getStoreId());
134
+ $customerName = $order->getBillingAddress()->getName();
135
+ } else {
136
+ $templateId = Mage::getStoreConfig(Mage_Sales_Model_Order::XML_PATH_EMAIL_TEMPLATE, $order->getStoreId());
137
+ $customerName = $order->getCustomerName();
138
+ }
139
+
140
+
141
+
142
+ $mailer = $this->_getEmailerModel();
143
+
144
+
145
+ Mage::dispatchEvent('eabi_' . $shipmentMethod->getCode() . '_autosend_data_success', array(
146
+ 'request' => $request,
147
+ 'shipment_method' => $shipmentMethod,
148
+ 'order' => $order,
149
+ 'result' => $result,
150
+ /* keep mailer in array, so if would be passed as reference */
151
+ 'mailer' => array($mailer),
152
+ ));
153
+
154
+ // $mailer->addEmailInfo($emailInfo);
155
+ $order->setCustomerNoteNotify(true);
156
+ $order->setCustomerNote($this->_getOfficeHelper()->__('Barcode: %s', $barcode));
157
+
158
+ // Set all required params and send emails
159
+ $mailer->setSender(Mage::getStoreConfig(Mage_Sales_Model_Order::XML_PATH_EMAIL_IDENTITY, $order->getStoreId()));
160
+ $mailer->setStoreId($order->getStoreId());
161
+ $mailer->setTemplateId($templateId);
162
+ $mailer->setTemplateParams(array(
163
+ 'order' => $order,
164
+ 'billing' => $order->getBillingAddress(),
165
+ 'payment_html' => $paymentBlockHtml
166
+ )
167
+ );
168
+ $mailer->send();
169
+
170
+
171
+
172
+
173
+ }
174
+
175
+
176
+
177
+ /**
178
+ *
179
+ * @return Mage_Core_Model_Email_Template_Mailer
180
+ */
181
+ protected function _getEmailerModel() {
182
+ return Mage::getModel('core/email_template_mailer');
183
+ }
184
+
185
+ /**
186
+ *
187
+ * @return Eabi_Postoffice_Helper_Data
188
+ */
189
+ protected function _getOfficeHelper() {
190
+ return Mage::helper('eabi_postoffice');
191
+ }
192
+
193
+
194
+
195
  }
app/code/community/Eabi/Postoffice/etc/config.xml CHANGED
@@ -36,7 +36,7 @@
36
  <config>
37
  <modules>
38
  <Eabi_Postoffice>
39
- <version>0.1.6</version>
40
  </Eabi_Postoffice>
41
  </modules>
42
 
@@ -224,6 +224,24 @@
224
  </eabi_postoffice_register_usage>
225
  </observers>
226
  </sales_order_place_after>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
 
228
  </events>
229
  <translate>
36
  <config>
37
  <modules>
38
  <Eabi_Postoffice>
39
+ <version>0.1.7</version>
40
  </Eabi_Postoffice>
41
  </modules>
42
 
224
  </eabi_postoffice_register_usage>
225
  </observers>
226
  </sales_order_place_after>
227
+ <sales_model_service_quote_submit_before>
228
+ <observers>
229
+ <eabi_postoffice_validate_selected_terminal>
230
+ <type>model</type>
231
+ <class>eabi_postoffice/observer</class>
232
+ <method>validateSelectedTerminal</method>
233
+ </eabi_postoffice_validate_selected_terminal>
234
+ </observers>
235
+ </sales_model_service_quote_submit_before>
236
+ <eabi_postoffice_autosend_data_success>
237
+ <observers>
238
+ <eabi_postoffice_dispatch_emails>
239
+ <type>model</type>
240
+ <class>eabi_postoffice/observer</class>
241
+ <method>dispatchEmailsToCarriers</method>
242
+ </eabi_postoffice_dispatch_emails>
243
+ </observers>
244
+ </eabi_postoffice_autosend_data_success>
245
 
246
  </events>
247
  <translate>
app/etc/modules/Eabi_DpdEE.xml CHANGED
@@ -39,7 +39,7 @@
39
  <depends>
40
  <Eabi_Postoffice />
41
  </depends>
42
- <version>0.1.10</version>
43
  </Eabi_DpdEE>
44
  </modules>
45
  </config>
39
  <depends>
40
  <Eabi_Postoffice />
41
  </depends>
42
+ <version>0.1.11</version>
43
  </Eabi_DpdEE>
44
  </modules>
45
  </config>
app/etc/modules/Eabi_Postoffice.xml CHANGED
@@ -42,7 +42,7 @@
42
  <Mage_Shipping />
43
  <Eabi_Livehandler />
44
  </depends>
45
- <version>0.1.6</version>
46
  </Eabi_Postoffice>
47
  </modules>
48
  </config>
42
  <Mage_Shipping />
43
  <Eabi_Livehandler />
44
  </depends>
45
+ <version>0.1.7</version>
46
  </Eabi_Postoffice>
47
  </modules>
48
  </config>
app/locale/en_US/Eabi_Postoffice.csv CHANGED
@@ -47,3 +47,5 @@
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
 
 
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
50
+ "Please select pickup point for %s","Please select pickup point for %s"
51
+ "Barcode: %s","Barcode: %s"
app/locale/et_EE/Eabi_Postoffice.csv CHANGED
@@ -47,3 +47,5 @@
47
  "not-licensed","litsenseerimata"
48
  "Change license","Muuda litsentsi"
49
  "Register license","Registreeri litsents"
 
 
47
  "not-licensed","litsenseerimata"
48
  "Change license","Muuda litsentsi"
49
  "Register license","Registreeri litsents"
50
+ "Please select pickup point for %s","Palun vali korjepunkt tarneviisile %s"
51
+ "Barcode: %s","Ribakood: %s"
app/locale/fi_FI/Eabi_Postoffice.csv CHANGED
@@ -47,3 +47,5 @@
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
 
 
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
50
+ "Please select pickup point for %s","Please select pickup point for %s"
51
+ "Barcode: %s","Barcode: %s"
app/locale/hu_HU/Eabi_Postoffice.csv CHANGED
@@ -47,3 +47,5 @@
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
 
 
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
50
+ "Please select pickup point for %s","Please select pickup point for %s"
51
+ "Barcode: %s","Barcode: %s"
app/locale/lt_LT/Eabi_Postoffice.csv CHANGED
@@ -47,3 +47,5 @@
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
 
 
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
50
+ "Please select pickup point for %s","Please select pickup point for %s"
51
+ "Barcode: %s","Barcode: %s"
app/locale/ru_RU/Eabi_Postoffice.csv CHANGED
@@ -47,3 +47,5 @@
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
 
 
47
  "not-licensed","not-licensed"
48
  "Change license","Change license"
49
  "Register license","Register license"
50
+ "Please select pickup point for %s","Please select pickup point for %s"
51
+ "Barcode: %s","Barcode: %s"
app/locale/sv_SE/Eabi_Postoffice.csv CHANGED
@@ -53,3 +53,5 @@
53
  "not-licensed","not-licensed"
54
  "Change license","Change license"
55
  "Register license","Register license"
 
 
53
  "not-licensed","not-licensed"
54
  "Change license","Change license"
55
  "Register license","Register license"
56
+ "Please select pickup point for %s","Please select pickup point for %s"
57
+ "Barcode: %s","Barcode: %s"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eabi_DpdEE</name>
4
- <version>0.1.10</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.txt">GNU Public License V3.0</license>
7
  <channel>community</channel>
@@ -17,12 +17,13 @@
17
  &lt;p&gt;Allows to call the courier from Magento admin&lt;/p&gt;&#xD;
18
  &lt;p&gt;Allows cash on delivery payment and allows to set an extra fee per country which will be appended to shipping fee&lt;/p&gt;&#xD;
19
  &lt;p&gt;Intended to use for Estonian merchant who sends parcels to all Baltic states&lt;/p&gt;</description>
20
- <notes>- Changed test URL to http://demo.surflink.ee:51680/rpc/gateway/&#xD;
21
- - Fixed bugs related to not auto-sending data when module was disabled on global scale, but was enabled in a specified store</notes>
 
22
  <authors><author><name>Matis Matis</name><user>auto-converted</user><email>info@e-abi.ee</email></author></authors>
23
- <date>2014-11-24</date>
24
- <time>19:31:05</time>
25
- <contents><target name="magecommunity"><dir name="Eabi"><dir name="DpdEE"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Country.php" hash="eea442b65d8f6a096e91c3087aa7a1d8"/></dir></dir></dir></dir><dir name="Info"><file name="Payment.php" hash="b2fee225c6e1d5df02cf39b46aa0f8b2"/></dir><dir name="Order"><file name="Courier.php" hash="dc7a838e0cbb5ea83fa706c4f627e397"/></dir><file name="Invoice.php" hash="4b66c452996bfe08f5ff3f0cac346ab1"/></dir><dir name="Helper"><file name="Data.php" hash="e309fa33bbd4eb0d0b607b9428313837"/></dir><dir name="Model"><dir name="Action"><dir name="Carrier"><dir name="Order"><file name="Courier.php" hash="a7188340758f43b53302cd0146467daf"/></dir></dir></dir><dir name="Button"><file name="Courier.php" hash="e18911389141943fb0aa02de7c14574b"/></dir><dir name="Payment"><file name="Processor.php" hash="0cd6e6138c88069b36eae2e37e8e73ff"/></dir><dir name="Source"><dir name="Label"><file name="Position.php" hash="92238059519dcdec87401ef8cafe3fe7"/></dir><file name="Service.php" hash="3f61777107806dd84e360c3d0867b2bb"/></dir><file name="Api.php" hash="083c3534789282ca18e377247fd35bd9"/><file name="Config.php" hash="9adeafdbd2cf7a15128f2ff9b5dacdee"/><file name="Flat.php" hash="77975d48ae295ae15e0b6bc49319856e"/><file name="Observer.php" hash="2c1b22592eb9d7361fe2f42545f75b63"/><file name="Post.php" hash="d41eb1d814e47cd0e78cf0b1b489be99"/></dir><dir name="etc"><file name="config.xml" hash="876d5ee243c6d5513f801032e0bc288f"/><file name="system.xml" hash="9277288e489beaec4cd2170f034ec8a6"/></dir><dir name="sql"><dir name="eabi_dpdee_setup"><file name="mysql4-install-0.1.0.php" hash="9899be85206a5ab3a36cf9acf176f1ba"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="867f9921932996c3a0f77fa9bb2fdb04"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="182c47a3d5fab4a466a07ef996dfe4d1"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="6a7ef422fd05c87c0c7b29557cd064ae"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="3c20db4f5d9de485f51b4cb28ca9eb87"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="d54424c11c48db64ed514ced1df4d60c"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="52c70756d6542e054699d922f752e123"/></dir></dir><file name="CHANGELOG.txt" hash="669d8b7ef49b80d191d4d8826e00e284"/><file name="LICENCE.txt" hash="0191312e121c0b3e1165619b96efcf9f"/></dir><dir name="Postoffice"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Field"><file name="License.php" hash="5d3e88fcea3dc7352254910c60d43cc8"/><file name="Remove.php" hash="11818c816c7e37c0f37e8732d02d7711"/></dir></dir></dir></dir><dir name="Config"><file name="Rebuildbutton.php" hash="b54ac12fa93514f5fd772e4512be945e"/></dir></dir><dir name="Helper"><file name="Countrycode.php" hash="11b598e6008f18baa7dafc3b579c6c96"/><file name="Data.php" hash="5aacd52d6c3066b54efe5cbfdb1b21fb"/></dir><dir name="Model"><dir name="Carrier"><file name="Abstract.php" hash="5b1521692777fa6132d0bffd207ee739"/><file name="Result.php" hash="452b5250a1eeaa2647106d896f170f0e"/></dir><dir name="Mysql4"><dir name="Carriermodule"><file name="Collection.php" hash="8ccfde755a7ef4d3eecb09144919ae9a"/></dir><dir name="Office"><file name="Collection.php" hash="26894ab3a3079edf21a722b46d495d07"/></dir><file name="Carriermodule.php" hash="06fb7663d449a1a559e482807e8a8e9e"/><file name="Office.php" hash="f1ab374d9041692dabd1a1c569bc5065"/></dir><dir name="Source"><file name="Sendevent.php" hash="4d0a215ab10eb52c4de46a66155899b8"/></dir><file name="Carriermodule.php" hash="cc4ad05756dc8f8fbb66e5a3561d61ea"/><file name="Observer.php" hash="bcb306008ea025cd84d33337af75712c"/><file name="Office.php" hash="6f3829a91a2d3c474f0127de8e8279da"/><file name="Orderview.php" hash="9654a4b6c60f3c9d07930b56957f22f7"/><file name="Updater.php" hash="1bd7d37a9a2e814e85a14b3c669ef4ba"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PostofficeController.php" hash="33f599acf627639007d657209dca7062"/></dir><file name="IndexController.php" hash="43f17e0e603d6e671db1e4cd49938dc8"/></dir><dir name="etc"><file name="config.xml" hash="b9fe4f46ed3e3ffee89e513677909b8a"/></dir><dir name="sql"><dir name="eabi_postoffice_setup"><file name="mysql4-install-0.1.0.php" hash="6c8c1a726bbebeaa707b007bdff592d9"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="641d3015c6f3b761759a882ed8fea5c2"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="c61dcac734cc0be364afe3262a710729"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="2a71344a96b5b5ef191956443fa2eadb"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="d8e6cf582360e0fa6141f802d97e9606"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="eabi_dpdee.xml" hash="85311cb850eb13eadaed47cdc9c44fb3"/><file name="eabi_postoffice.xml" hash="07337df8c9022da702e360a1c6920efe"/></dir><dir name="template"><dir name="eabi_dpdee"><dir name="order"><file name="courier.phtml" hash="0310f24e96ca3873e78e0e2a0ab26743"/></dir><file name="payment_info.phtml" hash="3f8a01e4bcd2efab555d729bee8335da"/></dir><dir name="eabi_postoffice"><file name="shipping_method_form.phtml" hash="542898a02261b0bccf075424fd0b4903"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eabi_dpdee.xml" hash="27179eee219a0a8c85b87b8d670ae9e1"/><file name="eabi_postoffice.xml" hash="1af217a15c9429cf194ea2cf111fac69"/></dir><dir name="template"><dir name="eabi_dpdee"><file name="payment_info.phtml" hash="3f8a01e4bcd2efab555d729bee8335da"/></dir><dir name="eabi_postoffice"><dir name="tracking"><file name="popup.phtml" hash="c6d8cc592aaa7bee1ec20dc1c202d841"/></dir><file name="available.phtml" hash="0afb1521ac8c2ab4c80364dd3cef051a"/><file name="multishipping.phtml" hash="f27c3d8ac939a97ab160feef8f5370d1"/><file name="shipping.phtml" hash="b041efafbcbbea2f2b4a6584cba83e2f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eabi_Postoffice.xml" hash="847eae398a42259d580abe6d4b4e2f9b"/><file name="Eabi_DpdEE.xml" hash="2e189d1c21c0a6192cf10627796a9c47"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Eabi_DpdEE.csv" hash="d98963cb668ca0c0174b1503c1eb0a34"/><file name="Eabi_Postoffice.csv" hash="3cb31d71e0c1bfae19768695d85f1cda"/></dir><dir name="et_EE"><file name="Eabi_DpdEE.csv" hash="fe3c32249528cfb77519cff7e90ffb33"/><file name="Eabi_Postoffice.csv" hash="d47c85ee5ba53c6e2227622d84ee0dec"/></dir><dir name="ru_RU"><file name="Eabi_DpdEE.csv" hash="bb76f70e2c91160b11f570651ee0b8ee"/><file name="Eabi_Postoffice.csv" hash="3cb31d71e0c1bfae19768695d85f1cda"/></dir><dir name="hu_HU"><file name="Eabi_Postoffice.csv" hash="3cb31d71e0c1bfae19768695d85f1cda"/></dir><dir name="fi_FI"><file name="Eabi_Postoffice.csv" hash="3cb31d71e0c1bfae19768695d85f1cda"/></dir><dir name="lt_LT"><file name="Eabi_Postoffice.csv" hash="3cb31d71e0c1bfae19768695d85f1cda"/></dir><dir name="sv_SE"><file name="Eabi_Postoffice.csv" hash="3718400135d99617e2dd760c425ff92a"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="eabi_dpdee.css" hash="fc08519f26a3b0819b4c925bd2f1ef1a"/></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="eabi_js"><file name="eabi_dpdee.js" hash="1339c149edea070f9908ceb2e7bf559d"/></dir></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><package><name>Eabi_Livehandler</name><channel>community</channel><min>0.1.9</min><max>1.0.0</max></package></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eabi_DpdEE</name>
4
+ <version>0.1.11</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.txt">GNU Public License V3.0</license>
7
  <channel>community</channel>
17
  &lt;p&gt;Allows to call the courier from Magento admin&lt;/p&gt;&#xD;
18
  &lt;p&gt;Allows cash on delivery payment and allows to set an extra fee per country which will be appended to shipping fee&lt;/p&gt;&#xD;
19
  &lt;p&gt;Intended to use for Estonian merchant who sends parcels to all Baltic states&lt;/p&gt;</description>
20
+ <notes>- Changed timezone ETC/GMT+0 to Etc/GMT+0 because of errors on some servers&#xD;
21
+ - Added event listener before checkout commit to throw exception when parcel terminal is not selected&#xD;
22
+ - Added event listener for sending out e-mail on data send success and fetching email from corresponding shipping method model</notes>
23
  <authors><author><name>Matis Matis</name><user>auto-converted</user><email>info@e-abi.ee</email></author></authors>
24
+ <date>2014-12-21</date>
25
+ <time>12:29:51</time>
26
+ <contents><target name="magecommunity"><dir name="Eabi"><dir name="DpdEE"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Country.php" hash="eea442b65d8f6a096e91c3087aa7a1d8"/></dir></dir></dir></dir><dir name="Info"><file name="Payment.php" hash="b2fee225c6e1d5df02cf39b46aa0f8b2"/></dir><dir name="Order"><file name="Courier.php" hash="190bec01b67a7c3da0b08d6ec44315e4"/></dir><file name="Invoice.php" hash="4b66c452996bfe08f5ff3f0cac346ab1"/></dir><dir name="Helper"><file name="Data.php" hash="e309fa33bbd4eb0d0b607b9428313837"/></dir><dir name="Model"><dir name="Action"><dir name="Carrier"><dir name="Order"><file name="Courier.php" hash="a7188340758f43b53302cd0146467daf"/></dir></dir></dir><dir name="Button"><file name="Courier.php" hash="e18911389141943fb0aa02de7c14574b"/></dir><dir name="Payment"><file name="Processor.php" hash="0cd6e6138c88069b36eae2e37e8e73ff"/></dir><dir name="Source"><dir name="Label"><file name="Position.php" hash="92238059519dcdec87401ef8cafe3fe7"/></dir><file name="Service.php" hash="3f61777107806dd84e360c3d0867b2bb"/></dir><file name="Api.php" hash="083c3534789282ca18e377247fd35bd9"/><file name="Config.php" hash="9adeafdbd2cf7a15128f2ff9b5dacdee"/><file name="Flat.php" hash="77975d48ae295ae15e0b6bc49319856e"/><file name="Observer.php" hash="2c1b22592eb9d7361fe2f42545f75b63"/><file name="Post.php" hash="d41eb1d814e47cd0e78cf0b1b489be99"/></dir><dir name="etc"><file name="config.xml" hash="64c48139b447dc453e0159d119d66e41"/><file name="system.xml" hash="9277288e489beaec4cd2170f034ec8a6"/></dir><dir name="sql"><dir name="eabi_dpdee_setup"><file name="mysql4-install-0.1.0.php" hash="9899be85206a5ab3a36cf9acf176f1ba"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="867f9921932996c3a0f77fa9bb2fdb04"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="182c47a3d5fab4a466a07ef996dfe4d1"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="6a7ef422fd05c87c0c7b29557cd064ae"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="3c20db4f5d9de485f51b4cb28ca9eb87"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="d54424c11c48db64ed514ced1df4d60c"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="52c70756d6542e054699d922f752e123"/></dir></dir><file name="CHANGELOG.txt" hash="298eabdf53416722b15ef6c73333d6f9"/><file name="LICENCE.txt" hash="0191312e121c0b3e1165619b96efcf9f"/></dir><dir name="Postoffice"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Field"><file name="License.php" hash="5d3e88fcea3dc7352254910c60d43cc8"/><file name="Remove.php" hash="11818c816c7e37c0f37e8732d02d7711"/></dir></dir></dir></dir><dir name="Config"><file name="Rebuildbutton.php" hash="b54ac12fa93514f5fd772e4512be945e"/></dir></dir><dir name="Helper"><file name="Countrycode.php" hash="11b598e6008f18baa7dafc3b579c6c96"/><file name="Data.php" hash="5aacd52d6c3066b54efe5cbfdb1b21fb"/></dir><dir name="Model"><dir name="Carrier"><file name="Abstract.php" hash="308f70ae29f2bbdefe4b71d152ae04ae"/><file name="Result.php" hash="452b5250a1eeaa2647106d896f170f0e"/></dir><dir name="Mysql4"><dir name="Carriermodule"><file name="Collection.php" hash="8ccfde755a7ef4d3eecb09144919ae9a"/></dir><dir name="Office"><file name="Collection.php" hash="26894ab3a3079edf21a722b46d495d07"/></dir><file name="Carriermodule.php" hash="06fb7663d449a1a559e482807e8a8e9e"/><file name="Office.php" hash="f1ab374d9041692dabd1a1c569bc5065"/></dir><dir name="Source"><file name="Sendevent.php" hash="4d0a215ab10eb52c4de46a66155899b8"/></dir><file name="Carriermodule.php" hash="cc4ad05756dc8f8fbb66e5a3561d61ea"/><file name="Observer.php" hash="1dd3dba6b701507b88eecaf2ae59e7e1"/><file name="Office.php" hash="6f3829a91a2d3c474f0127de8e8279da"/><file name="Orderview.php" hash="9654a4b6c60f3c9d07930b56957f22f7"/><file name="Updater.php" hash="1bd7d37a9a2e814e85a14b3c669ef4ba"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PostofficeController.php" hash="33f599acf627639007d657209dca7062"/></dir><file name="IndexController.php" hash="43f17e0e603d6e671db1e4cd49938dc8"/></dir><dir name="etc"><file name="config.xml" hash="8f7582cfc7dea98711f04da01a982ffd"/></dir><dir name="sql"><dir name="eabi_postoffice_setup"><file name="mysql4-install-0.1.0.php" hash="6c8c1a726bbebeaa707b007bdff592d9"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="641d3015c6f3b761759a882ed8fea5c2"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="c61dcac734cc0be364afe3262a710729"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="2a71344a96b5b5ef191956443fa2eadb"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="d8e6cf582360e0fa6141f802d97e9606"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="eabi_dpdee.xml" hash="85311cb850eb13eadaed47cdc9c44fb3"/><file name="eabi_postoffice.xml" hash="07337df8c9022da702e360a1c6920efe"/></dir><dir name="template"><dir name="eabi_dpdee"><dir name="order"><file name="courier.phtml" hash="0310f24e96ca3873e78e0e2a0ab26743"/></dir><file name="payment_info.phtml" hash="3f8a01e4bcd2efab555d729bee8335da"/></dir><dir name="eabi_postoffice"><file name="shipping_method_form.phtml" hash="542898a02261b0bccf075424fd0b4903"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="eabi_dpdee.xml" hash="27179eee219a0a8c85b87b8d670ae9e1"/><file name="eabi_postoffice.xml" hash="1af217a15c9429cf194ea2cf111fac69"/></dir><dir name="template"><dir name="eabi_dpdee"><file name="payment_info.phtml" hash="3f8a01e4bcd2efab555d729bee8335da"/></dir><dir name="eabi_postoffice"><dir name="tracking"><file name="popup.phtml" hash="c6d8cc592aaa7bee1ec20dc1c202d841"/></dir><file name="available.phtml" hash="0afb1521ac8c2ab4c80364dd3cef051a"/><file name="multishipping.phtml" hash="f27c3d8ac939a97ab160feef8f5370d1"/><file name="shipping.phtml" hash="b041efafbcbbea2f2b4a6584cba83e2f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eabi_Postoffice.xml" hash="c9dd6edd84d0e054efc9ca77cb50dfd2"/><file name="Eabi_DpdEE.xml" hash="543d5f616fde581a16f22e463921fb47"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Eabi_DpdEE.csv" hash="d98963cb668ca0c0174b1503c1eb0a34"/><file name="Eabi_Postoffice.csv" hash="606b3d34864f4dc55ab2ff71f734213a"/></dir><dir name="et_EE"><file name="Eabi_DpdEE.csv" hash="fe3c32249528cfb77519cff7e90ffb33"/><file name="Eabi_Postoffice.csv" hash="e0a455ae1c600c9acfaba97a48e955f1"/></dir><dir name="ru_RU"><file name="Eabi_DpdEE.csv" hash="bb76f70e2c91160b11f570651ee0b8ee"/><file name="Eabi_Postoffice.csv" hash="606b3d34864f4dc55ab2ff71f734213a"/></dir><dir name="hu_HU"><file name="Eabi_Postoffice.csv" hash="606b3d34864f4dc55ab2ff71f734213a"/></dir><dir name="fi_FI"><file name="Eabi_Postoffice.csv" hash="606b3d34864f4dc55ab2ff71f734213a"/></dir><dir name="lt_LT"><file name="Eabi_Postoffice.csv" hash="606b3d34864f4dc55ab2ff71f734213a"/></dir><dir name="sv_SE"><file name="Eabi_Postoffice.csv" hash="52967f2c435a91582ebb16b45d677d38"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="eabi_dpdee.css" hash="fc08519f26a3b0819b4c925bd2f1ef1a"/></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="eabi_js"><file name="eabi_dpdee.js" hash="1339c149edea070f9908ceb2e7bf559d"/></dir></dir></target></contents>
27
  <compatible/>
28
  <dependencies><required><package><name>Eabi_Livehandler</name><channel>community</channel><min>0.1.9</min><max>1.0.0</max></package></required></dependencies>
29
  </package>