Eabi_DpdEE - Version 0.1.20

Version Notes

- Added Use per item weight switch
- Added support for licenceable modules

Download this release

Release Info

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


Code changes from version 0.1.19 to 0.1.20

Files changed (79) hide show
  1. app/code/community/Eabi/DpdEE/Block/Adminhtml/Config/Form/Field/Country.php +21 -5
  2. app/code/community/Eabi/DpdEE/Block/Info/Payment.php +21 -5
  3. app/code/community/Eabi/DpdEE/Block/Invoice.php +21 -5
  4. app/code/community/Eabi/DpdEE/Block/Order/Courier.php +21 -5
  5. app/code/community/Eabi/DpdEE/CHANGELOG.txt +4 -0
  6. app/code/community/Eabi/DpdEE/Helper/Data.php +21 -5
  7. app/code/community/Eabi/DpdEE/Model/Action/Carrier/Order/Courier.php +21 -5
  8. app/code/community/Eabi/DpdEE/Model/Api.php +21 -5
  9. app/code/community/Eabi/DpdEE/Model/Button/Courier.php +21 -5
  10. app/code/community/Eabi/DpdEE/Model/Config.php +21 -5
  11. app/code/community/Eabi/DpdEE/Model/Flat.php +21 -5
  12. app/code/community/Eabi/DpdEE/Model/Observer.php +21 -5
  13. app/code/community/Eabi/DpdEE/Model/Payment/Processor.php +21 -5
  14. app/code/community/Eabi/DpdEE/Model/Post.php +21 -5
  15. app/code/community/Eabi/DpdEE/Model/Source/Label/Position.php +21 -5
  16. app/code/community/Eabi/DpdEE/Model/Source/Service.php +21 -5
  17. app/code/community/Eabi/DpdEE/etc/config.xml +22 -6
  18. app/code/community/Eabi/DpdEE/etc/system.xml +41 -5
  19. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-install-0.1.0.php +21 -5
  20. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.0-0.1.1.php +21 -5
  21. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.1-0.1.2.php +21 -5
  22. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.2-0.1.3.php +21 -5
  23. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.3-0.1.4.php +21 -5
  24. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.6-0.1.7.php +21 -5
  25. app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.9-0.1.10.php +21 -5
  26. app/code/community/Eabi/Postoffice/Block/Adminhtml/Config/Form/Field/License.php +21 -5
  27. app/code/community/Eabi/Postoffice/Block/Adminhtml/Config/Form/Field/Remove.php +21 -5
  28. app/code/community/Eabi/Postoffice/Block/Config/Rebuildbutton.php +21 -5
  29. app/code/community/Eabi/Postoffice/Helper/Countrycode.php +21 -5
  30. app/code/community/Eabi/Postoffice/Helper/Data.php +62 -11
  31. app/code/community/Eabi/Postoffice/Model/Carrier/Abstract.php +21 -5
  32. app/code/community/Eabi/Postoffice/Model/Carrier/Result.php +21 -5
  33. app/code/community/Eabi/Postoffice/Model/Carriermodule.php +21 -5
  34. app/code/community/Eabi/Postoffice/Model/Email/Template/Mailer.php +21 -5
  35. app/code/community/Eabi/Postoffice/Model/Licenceable/Autosend/Method.php +77 -0
  36. app/code/community/Eabi/Postoffice/Model/Licenceable/Method.php +112 -0
  37. app/code/community/Eabi/Postoffice/Model/Licenceable/Payment/Method.php +73 -0
  38. app/code/community/Eabi/Postoffice/Model/Licenceable/Shipping/Method.php +73 -0
  39. app/code/community/Eabi/Postoffice/Model/Mysql4/Carriermodule.php +21 -5
  40. app/code/community/Eabi/Postoffice/Model/Mysql4/Carriermodule/Collection.php +21 -5
  41. app/code/community/Eabi/Postoffice/Model/Mysql4/Office.php +21 -5
  42. app/code/community/Eabi/Postoffice/Model/Mysql4/Office/Collection.php +21 -5
  43. app/code/community/Eabi/Postoffice/Model/Observer.php +104 -12
  44. app/code/community/Eabi/Postoffice/Model/Office.php +21 -5
  45. app/code/community/Eabi/Postoffice/Model/Orderview.php +21 -5
  46. app/code/community/Eabi/Postoffice/Model/Source/Sendevent.php +21 -5
  47. app/code/community/Eabi/Postoffice/Model/System/Config/Source/Country.php +21 -5
  48. app/code/community/Eabi/Postoffice/Model/Updater.php +21 -5
  49. app/code/community/Eabi/Postoffice/controllers/Adminhtml/PostofficeController.php +21 -5
  50. app/code/community/Eabi/Postoffice/controllers/IndexController.php +21 -5
  51. app/code/community/Eabi/Postoffice/etc/config.xml +51 -16
  52. app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-install-0.1.0.php +21 -5
  53. app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.0-0.1.1.php +21 -5
  54. app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.1-0.1.2.php +21 -5
  55. app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.11-0.1.12.php +49 -0
  56. app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.5-0.1.6.php +21 -5
  57. app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.6-0.1.7.php +21 -5
  58. app/design/adminhtml/default/default/layout/eabi_postoffice.xml +21 -5
  59. app/design/adminhtml/default/default/template/eabi_postoffice/shipping_method_form.phtml +21 -5
  60. app/design/frontend/base/default/layout/eabi_postoffice.xml +21 -5
  61. app/design/frontend/base/default/template/eabi_postoffice/available.phtml +21 -5
  62. app/design/frontend/base/default/template/eabi_postoffice/multishipping.phtml +21 -5
  63. app/design/frontend/base/default/template/eabi_postoffice/shipping.phtml +21 -5
  64. app/design/frontend/base/default/template/eabi_postoffice/tracking/popup.phtml +21 -5
  65. app/etc/modules/Eabi_DpdEE.xml +22 -6
  66. app/etc/modules/Eabi_Postoffice.xml +21 -5
  67. app/locale/en_US/Eabi_Postoffice.csv +6 -0
  68. app/locale/et_EE/Eabi_Postoffice.csv +6 -0
  69. app/locale/fi_FI/Eabi_Postoffice.csv +6 -0
  70. app/locale/hu_HU/Eabi_Postoffice.csv +6 -0
  71. app/locale/lt_LT/Eabi_Postoffice.csv +6 -0
  72. app/locale/ru_RU/Eabi_Postoffice.csv +6 -0
  73. app/locale/sv_SE/Eabi_Postoffice.csv +6 -0
  74. js/eabi_js/eabi_dpdee.js +21 -5
  75. package.xml +7 -7
  76. skin/adminhtml/default/default/eabi_dpdee.css +21 -5
  77. skin/adminhtml/default/default/eabi_postoffice.css +21 -5
  78. skin/frontend/base/default/css/eabi_postoffice.css +21 -5
  79. skin/frontend/default/default/css/eabi_postoffice.css +21 -5
app/code/community/Eabi/DpdEE/Block/Adminhtml/Config/Form/Field/Country.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Block/Info/Payment.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/Block/Invoice.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/Block/Order/Courier.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/CHANGELOG.txt CHANGED
@@ -64,3 +64,7 @@
64
  0.1.19
65
  - Compatiblity with SUPEE-6285
66
  - Added option "all remaining countries"
 
 
 
 
64
  0.1.19
65
  - Compatiblity with SUPEE-6285
66
  - Added option "all remaining countries"
67
+
68
+ 0.1.20
69
+ - Added Use per item weight switch
70
+ - Added support for licenceable modules
app/code/community/Eabi/DpdEE/Helper/Data.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Action/Carrier/Order/Courier.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/Model/Api.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Button/Courier.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Config.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/Model/Flat.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Observer.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Payment/Processor.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Post.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Source/Label/Position.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/Model/Source/Service.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/DpdEE/etc/config.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
@@ -20,7 +36,7 @@
20
  <config>
21
  <modules>
22
  <Eabi_DpdEE>
23
- <version>0.1.19</version>
24
  </Eabi_DpdEE>
25
  </modules>
26
 
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
36
  <config>
37
  <modules>
38
  <Eabi_DpdEE>
39
+ <version>0.1.20</version>
40
  </Eabi_DpdEE>
41
  </modules>
42
 
app/code/community/Eabi/DpdEE/etc/system.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
@@ -110,6 +126,16 @@
110
  <show_in_website>1</show_in_website>
111
  <show_in_store>1</show_in_store>
112
  </max_package_weight>
 
 
 
 
 
 
 
 
 
 
113
 
114
  <handling_action translate="label comment">
115
  <label>Handling action</label>
@@ -646,6 +672,16 @@
646
  <show_in_website>1</show_in_website>
647
  <show_in_store>1</show_in_store>
648
  </max_package_weight>
 
 
 
 
 
 
 
 
 
 
649
 
650
  <handling_action translate="label comment">
651
  <label>Handling action</label>
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
126
  <show_in_website>1</show_in_website>
127
  <show_in_store>1</show_in_store>
128
  </max_package_weight>
129
+ <use_per_item_weight translate="label comment">
130
+ <label>Maximum package weight is checked per cart item</label>
131
+ <comment>When disabled, package weight is checked against the weight of whole cart</comment>
132
+ <frontend_type>select</frontend_type>
133
+ <source_model>adminhtml/system_config_source_yesno</source_model>
134
+ <sort_order>51</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ <show_in_store>1</show_in_store>
138
+ </use_per_item_weight>
139
 
140
  <handling_action translate="label comment">
141
  <label>Handling action</label>
672
  <show_in_website>1</show_in_website>
673
  <show_in_store>1</show_in_store>
674
  </max_package_weight>
675
+ <use_per_item_weight translate="label comment">
676
+ <label>Maximum package weight is checked per cart item</label>
677
+ <comment>When disabled, package weight is checked against the weight of whole cart</comment>
678
+ <frontend_type>select</frontend_type>
679
+ <source_model>adminhtml/system_config_source_yesno</source_model>
680
+ <sort_order>51</sort_order>
681
+ <show_in_default>1</show_in_default>
682
+ <show_in_website>1</show_in_website>
683
+ <show_in_store>1</show_in_store>
684
+ </use_per_item_weight>
685
 
686
  <handling_action translate="label comment">
687
  <label>Handling action</label>
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-install-0.1.0.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.0-0.1.1.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.1-0.1.2.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.2-0.1.3.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.3-0.1.4.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.6-0.1.7.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/DpdEE/sql/eabi_dpdee_setup/mysql4-upgrade-0.1.9-0.1.10.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Block/Adminhtml/Config/Form/Field/License.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Block/Adminhtml/Config/Form/Field/Remove.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Block/Config/Rebuildbutton.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Helper/Countrycode.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Helper/Data.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
@@ -296,6 +312,7 @@ class Eabi_Postoffice_Helper_Data extends Mage_Core_Helper_Abstract {
296
  */
297
  private function handleOrder($incrementId, $eventName) {
298
  $order = Mage::getModel('sales/order')->loadByIncrementId($incrementId);
 
299
  if (!is_object($order) || $order->getId() <= 0) {
300
  return;
301
  }
@@ -321,7 +338,7 @@ class Eabi_Postoffice_Helper_Data extends Mage_Core_Helper_Abstract {
321
  try {
322
  $resultCarrierId = substr($shippingMethod, strrpos($shippingMethod, '_') + 1);
323
  //TODO - make sure the correct store is selected, for example in admin.
324
- $request = new Varien_Object();
325
  Mage::dispatchEvent('eabi_postoffice_autosend_data_before', array(
326
  'request' => $request,
327
  'shipment_method' => $shippingMethodModel,
@@ -329,7 +346,11 @@ class Eabi_Postoffice_Helper_Data extends Mage_Core_Helper_Abstract {
329
  ));
330
 
331
 
332
- $result = $shippingMethodModel->autoSendData($order, $resultCarrierId);
 
 
 
 
333
  if ($result) {
334
  $order->addStatusHistoryComment(print_r($result, true));
335
 
@@ -340,7 +361,7 @@ class Eabi_Postoffice_Helper_Data extends Mage_Core_Helper_Abstract {
340
 
341
  if ($result) {
342
  //reload the order, otherwise system may not understand if the order has barcode or pdf
343
- $order = $this->_getOrderModel()->load($order->getId());
344
  Mage::dispatchEvent('eabi_postoffice_autosend_data_success', array(
345
  'request' => $request,
346
  'shipment_method' => $shippingMethodModel,
@@ -572,7 +593,7 @@ class Eabi_Postoffice_Helper_Data extends Mage_Core_Helper_Abstract {
572
  * @return Eabi_Postoffice_Model_Carriermodule
573
  */
574
  protected function _getCarrierModule($carrierCode) {
575
- $carrierModules = $this->_getCarrierModuleModel()
576
  ->getCollection()
577
  ->addFieldToFilter('carrier_code', $carrierCode);
578
  return $carrierModules->getFirstItem();
@@ -582,17 +603,47 @@ class Eabi_Postoffice_Helper_Data extends Mage_Core_Helper_Abstract {
582
  *
583
  * @return Eabi_Postoffice_Model_Carriermodule
584
  */
585
- protected function _getCarrierModuleModel() {
586
  return Mage::getModel('eabi_postoffice/carriermodule');
587
  }
588
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  /**
590
  *
591
  * @return Mage_Sales_Model_Order
592
  */
593
- protected function _getOrderModel() {
594
  return Mage::getModel('sales/order');
595
  }
 
 
 
 
 
 
 
596
 
597
 
598
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
312
  */
313
  private function handleOrder($incrementId, $eventName) {
314
  $order = Mage::getModel('sales/order')->loadByIncrementId($incrementId);
315
+ /* @var $order Mage_Sales_Model_Order */
316
  if (!is_object($order) || $order->getId() <= 0) {
317
  return;
318
  }
338
  try {
339
  $resultCarrierId = substr($shippingMethod, strrpos($shippingMethod, '_') + 1);
340
  //TODO - make sure the correct store is selected, for example in admin.
341
+ $request = new Varien_Object(array('dest_country_id' => $order->getShippingAddress()->getCountryId()));
342
  Mage::dispatchEvent('eabi_postoffice_autosend_data_before', array(
343
  'request' => $request,
344
  'shipment_method' => $shippingMethodModel,
346
  ));
347
 
348
 
349
+ if (!$request->getIsCancel()) {
350
+ $result = $shippingMethodModel->autoSendData($order, $resultCarrierId);
351
+ } else {
352
+ $result = false;
353
+ }
354
  if ($result) {
355
  $order->addStatusHistoryComment(print_r($result, true));
356
 
361
 
362
  if ($result) {
363
  //reload the order, otherwise system may not understand if the order has barcode or pdf
364
+ $order = $this->getOrderModel()->load($order->getId());
365
  Mage::dispatchEvent('eabi_postoffice_autosend_data_success', array(
366
  'request' => $request,
367
  'shipment_method' => $shippingMethodModel,
593
  * @return Eabi_Postoffice_Model_Carriermodule
594
  */
595
  protected function _getCarrierModule($carrierCode) {
596
+ $carrierModules = $this->getCarrierModuleModel()
597
  ->getCollection()
598
  ->addFieldToFilter('carrier_code', $carrierCode);
599
  return $carrierModules->getFirstItem();
603
  *
604
  * @return Eabi_Postoffice_Model_Carriermodule
605
  */
606
+ public function getCarrierModuleModel() {
607
  return Mage::getModel('eabi_postoffice/carriermodule');
608
  }
609
 
610
+ /**
611
+ *
612
+ * @return Eabi_Postoffice_Model_Licenceable_Shipping_Method
613
+ */
614
+ public function getLicenceableShippingMethodModel() {
615
+ return Mage::getModel('eabi_postoffice/licenceable_shipping_method');
616
+ }
617
+ /**
618
+ *
619
+ * @return Eabi_Postoffice_Model_Licenceable_Payment_Method
620
+ */
621
+ public function getLicenceablePaymentMethodModel() {
622
+ return Mage::getModel('eabi_postoffice/licenceable_payment_method');
623
+ }
624
+ /**
625
+ *
626
+ * @return Eabi_Postoffice_Model_Licenceable_Autosend_Method
627
+ */
628
+ public function getLicenceableAutosendMethodModel() {
629
+ return Mage::getModel('eabi_postoffice/licenceable_autosend_method');
630
+ }
631
+
632
+
633
  /**
634
  *
635
  * @return Mage_Sales_Model_Order
636
  */
637
+ protected function getOrderModel() {
638
  return Mage::getModel('sales/order');
639
  }
640
+ /**
641
+ *
642
+ * @return Mage_Shipping_Model_Shipping
643
+ */
644
+ public function getShippingModel() {
645
+ return Mage::getModel('shipping/shipping');
646
+ }
647
 
648
 
649
 
app/code/community/Eabi/Postoffice/Model/Carrier/Abstract.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Carrier/Result.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Carriermodule.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Email/Template/Mailer.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/Postoffice/Model/Licenceable/Autosend/Method.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
+ *
24
+ * @category Eabi
25
+ * @package Eabi_Dpd
26
+ * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
+ * @author Matis Halmann
30
+ *
31
+
32
+ */
33
+
34
+ /**
35
+ * Description of Method
36
+ *
37
+ * @author Matis
38
+ */
39
+ class Eabi_Postoffice_Model_Licenceable_Autosend_Method extends Eabi_Postoffice_Model_Licenceable_Method {
40
+ protected $_instance = null;
41
+
42
+ protected function _construct() {
43
+ parent::_construct();
44
+ $this->setType('autosend');
45
+ }
46
+
47
+
48
+ public function getMethodInstance() {
49
+ if (!$this->_instance) {
50
+ $type = $this->getType();
51
+ $code = $this->getCode();
52
+ $shippingMethodModel = $this->_getCarrierByCode($code, $this->getStoreId());
53
+
54
+
55
+ if ($shippingMethodModel && $shippingMethodModel instanceof Eabi_Livehandler_Model_Licenceable) {
56
+ $instanceModel = $this->_getEabi()
57
+ ->getLicenceableDummyModel();
58
+
59
+ $instanceModel->setCode($code)
60
+ ->setSupportedCountries($shippingMethodModel->getSupportedCountries())
61
+ ->setTitle($this->_getOfficeHelper()->__('Automatic data sending'))
62
+ ->setConfigPrefix('carriers/' . $code . '/');
63
+
64
+
65
+
66
+ $this->_instance = $instanceModel;
67
+
68
+ $this->_isSupported = true;
69
+ } else {
70
+ //what to do?
71
+ Mage::throwException($this->_getOfficeHelper()->__('Shipping method with code %s not found', $code));
72
+ }
73
+ }
74
+ return $this->_instance;
75
+ }
76
+
77
+ }
app/code/community/Eabi/Postoffice/Model/Licenceable/Method.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
+ *
24
+ * @category Eabi
25
+ * @package Eabi_Dpd
26
+ * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
+ * @author Matis Halmann
30
+ *
31
+
32
+ */
33
+
34
+ /**
35
+ * Description of Method
36
+ *
37
+ * @author Matis
38
+ */
39
+ class Eabi_Postoffice_Model_Licenceable_Method extends Eabi_Livehandler_Model_Licenceable_Method {
40
+ protected $_instance = null;
41
+
42
+ protected function _construct() {
43
+ parent::_construct();
44
+ }
45
+
46
+
47
+ public function getMethodInstance() {
48
+ if (!$this->_instance) {
49
+ $type = $this->getType();
50
+ $code = $this->getCode();
51
+
52
+ $shippingMethodModel = $this->_getCarrierByCode($code, $this->getStoreId());
53
+ if ($shippingMethodModel && $shippingMethodModel instanceof Eabi_Livehandler_Model_Licenceable) {
54
+ $this->_instance = $shippingMethodModel;
55
+ $this->_isSupported = true;
56
+ } else {
57
+ //what to do?
58
+ Mage::throwException($this->_getOfficeHelper()->__('Shipping method with code %s not found', $code));
59
+ }
60
+
61
+
62
+
63
+ }
64
+ return $this->_instance;
65
+
66
+ }
67
+
68
+ protected function _getCarrierByCode($carrierCode, $storeId = null) {
69
+ $className = Mage::getStoreConfig('carriers/'.$carrierCode.'/model', $storeId);
70
+ if (!$className) {
71
+ return false;
72
+ #Mage::throwException('Invalid carrier: '.$carrierCode);
73
+ }
74
+ $obj = Mage::getModel($className);
75
+ if ($storeId) {
76
+ $obj->setStore($storeId);
77
+ }
78
+ return $obj;
79
+ }
80
+
81
+ protected function _getPaymentMethodByCode($paymentCode, $storeId = null) {
82
+ $className = Mage::getStoreConfig('payment/'.$paymentCode.'/model', $storeId);
83
+ if (!$className) {
84
+ return false;
85
+ #Mage::throwException('Invalid carrier: '.$carrierCode);
86
+ }
87
+ $obj = Mage::getModel($className);
88
+ if ($storeId) {
89
+ $obj->setStore($storeId);
90
+ }
91
+ return $obj;
92
+ }
93
+
94
+
95
+
96
+ /**
97
+ *
98
+ * @return Eabi_Postoffice_Helper_Data
99
+ */
100
+ protected function _getOfficeHelper() {
101
+ return Mage::helper('eabi_postoffice');
102
+ }
103
+
104
+ public function getRawLicence() {
105
+ return Mage::getStoreConfig('carriers/' . $this->getCode() . '/licence', Mage_Core_Model_App::ADMIN_STORE_ID);
106
+ }
107
+ public function setRawLicence($rawLicence) {
108
+ return $this->_getEabi()->setConfigData('carriers/' . $this->getCode() . '/licence', $rawLicence, 'default', 0, false);
109
+ }
110
+
111
+
112
+ }
app/code/community/Eabi/Postoffice/Model/Licenceable/Payment/Method.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
+ *
24
+ * @category Eabi
25
+ * @package Eabi_Dpd
26
+ * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
+ * @author Matis Halmann
30
+ *
31
+
32
+ */
33
+
34
+ /**
35
+ * Description of Method
36
+ *
37
+ * @author Matis
38
+ */
39
+ class Eabi_Postoffice_Model_Licenceable_Payment_Method extends Eabi_Postoffice_Model_Licenceable_Method {
40
+ protected $_instance = null;
41
+
42
+ protected function _construct() {
43
+ parent::_construct();
44
+ $this->setType('payment');
45
+ }
46
+
47
+
48
+ public function getMethodInstance() {
49
+ if (!$this->_instance) {
50
+ $type = $this->getType();
51
+ $code = $this->getCode();
52
+ $code = 'eabicodpayment';
53
+ $shippingMethodModel = $this->_getPaymentMethodByCode($code, $this->getStoreId());
54
+ if ($shippingMethodModel && $shippingMethodModel instanceof Eabi_Livehandler_Model_Licenceable) {
55
+ $this->_instance = $shippingMethodModel;
56
+ $this->_isSupported = true;
57
+ } else {
58
+ //what to do?
59
+ Mage::throwException($this->_getOfficeHelper()->__('Payment method with code %s not found', $this->getCode()));
60
+ }
61
+
62
+
63
+
64
+ }
65
+ return $this->_instance;
66
+
67
+ }
68
+
69
+
70
+
71
+
72
+
73
+ }
app/code/community/Eabi/Postoffice/Model/Licenceable/Shipping/Method.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
+ *
24
+ * @category Eabi
25
+ * @package Eabi_Dpd
26
+ * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
+ * @author Matis Halmann
30
+ *
31
+
32
+ */
33
+
34
+ /**
35
+ * Description of Method
36
+ *
37
+ * @author Matis
38
+ */
39
+ class Eabi_Postoffice_Model_Licenceable_Shipping_Method extends Eabi_Postoffice_Model_Licenceable_Method {
40
+ protected $_instance = null;
41
+
42
+ protected function _construct() {
43
+ parent::_construct();
44
+ $this->setType('shipping');
45
+ }
46
+
47
+
48
+ public function getMethodInstance() {
49
+ if (!$this->_instance) {
50
+ $type = $this->getType();
51
+ $code = $this->getCode();
52
+
53
+ $shippingMethodModel = $this->_getCarrierByCode($code, $this->getStoreId());
54
+ if ($shippingMethodModel && $shippingMethodModel instanceof Eabi_Livehandler_Model_Licenceable) {
55
+ $this->_instance = $shippingMethodModel;
56
+ $this->_isSupported = true;
57
+ } else {
58
+ //what to do?
59
+ Mage::throwException($this->_getOfficeHelper()->__('Shipping method with code %s not found', $code));
60
+ }
61
+
62
+
63
+
64
+ }
65
+ return $this->_instance;
66
+
67
+ }
68
+
69
+
70
+
71
+
72
+
73
+ }
app/code/community/Eabi/Postoffice/Model/Mysql4/Carriermodule.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Mysql4/Carriermodule/Collection.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Mysql4/Office.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Mysql4/Office/Collection.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Observer.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
@@ -31,12 +47,25 @@ class Eabi_Postoffice_Model_Observer {
31
  $shipmentMethod = $observer->getEvent()->getShipmentMethod();
32
  /* @var $request Mage_Shipping_Model_Rate_Request */
33
  $request = $observer->getEvent()->getRequest();
34
-
35
- // $request->setCancelRateCollection(true);
36
-
 
37
  }
38
-
39
-
 
 
 
 
 
 
 
 
 
 
 
 
40
  /**
41
  * @param Varien_Event_Observer $observer
42
  */
@@ -65,14 +94,22 @@ class Eabi_Postoffice_Model_Observer {
65
  $shippingMethodModel = Mage::getModel('shipping/shipping')->getCarrierByCode($shippingCarrierCode, $order->getStoreId());
66
  if ($shippingMethodModel && ($shippingMethodModel instanceof Eabi_Postoffice_Model_Carrier_Abstract)) {
67
  $resultCarrierId = substr($shippingMethod, strrpos($shippingMethod, '_') + 1);
 
 
 
 
 
 
 
 
 
68
  if (!is_numeric($resultCarrierId)) {
69
  Mage::throwException($this->_getOfficeHelper()->__('Please select pickup point for %s', $shippingMethodModel->getConfigData('title')));
70
-
71
  }
72
  }
73
  }
74
  }
75
-
76
  /**
77
  * <p>Prepares email to be sent with new order template and barcode as order comment</p>
78
  * @param Varien_Event_Observer $observer
@@ -185,6 +222,54 @@ class Eabi_Postoffice_Model_Observer {
185
 
186
  }
187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
189
 
190
  /**
@@ -202,6 +287,13 @@ class Eabi_Postoffice_Model_Observer {
202
  protected function _getOfficeHelper() {
203
  return Mage::helper('eabi_postoffice');
204
  }
 
 
 
 
 
 
 
205
 
206
 
207
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
47
  $shipmentMethod = $observer->getEvent()->getShipmentMethod();
48
  /* @var $request Mage_Shipping_Model_Rate_Request */
49
  $request = $observer->getEvent()->getRequest();
50
+ $result = $this->_getEabiHelper()
51
+ ->getEabiLicenceBlockSingleton()
52
+ ->isServiceAvailable('shipping/' . $shipmentMethod->getCode(), $request->getDestCountryId());
53
+ $request->setCancelRateCollection(!$result);
54
  }
55
+ /**
56
+ * @param Varien_Event_Observer $observer
57
+ */
58
+ public function listenAutosendLicense($observer) {
59
+ /* @var $shipmentMethod Eabi_Postoffice_Model_Carrier_Abstract */
60
+ $shipmentMethod = $observer->getEvent()->getShipmentMethod();
61
+ /* @var $request Mage_Shipping_Model_Rate_Request */
62
+ $request = $observer->getEvent()->getRequest();
63
+ $result = $this->_getEabiHelper()
64
+ ->getEabiLicenceBlockSingleton()
65
+ ->isServiceAvailable('autosend/' . $shipmentMethod->getCode(), $request->getDestCountryId());
66
+ $request->setIsCancel(!$result);
67
+ }
68
+
69
  /**
70
  * @param Varien_Event_Observer $observer
71
  */
94
  $shippingMethodModel = Mage::getModel('shipping/shipping')->getCarrierByCode($shippingCarrierCode, $order->getStoreId());
95
  if ($shippingMethodModel && ($shippingMethodModel instanceof Eabi_Postoffice_Model_Carrier_Abstract)) {
96
  $resultCarrierId = substr($shippingMethod, strrpos($shippingMethod, '_') + 1);
97
+ $result = $this->_getEabiHelper()
98
+ ->getEabiLicenceBlockSingleton()
99
+ ->isServiceAvailable('shipping/' . $resultCarrierId, $order->getShippingAddress()->getCountryId());
100
+ if (!$result) {
101
+ Mage::throwException($this->_getOfficeHelper()->__('Invalid licence for %s', $shippingMethodModel->getConfigData('title')));
102
+ }
103
+
104
+
105
+
106
  if (!is_numeric($resultCarrierId)) {
107
  Mage::throwException($this->_getOfficeHelper()->__('Please select pickup point for %s', $shippingMethodModel->getConfigData('title')));
 
108
  }
109
  }
110
  }
111
  }
112
+
113
  /**
114
  * <p>Prepares email to be sent with new order template and barcode as order comment</p>
115
  * @param Varien_Event_Observer $observer
222
 
223
  }
224
 
225
+
226
+ public function getAllLicenceAbleShippingMethods($observer) {
227
+ $supportedMethods = $observer->getEvent()->getMethodCodes();
228
+ /* @var $supportedMethods Varien_Data_Collection */
229
+
230
+ $allShippingMethods = $this->_getOfficeHelper()
231
+ ->getCarrierModuleModel()
232
+ ->getCollection();
233
+ if (!isset($installedModules['Eabi_Cod']) || !Mage::helper('core')->isModuleEnabled('Eabi_Cod')) {
234
+ //we do not have COD plugin
235
+ Mage::log('E-abi COD plugin is not installed');
236
+ }
237
+ foreach ($allShippingMethods as $shippingMethodEntry) {
238
+ $shippingEntry = $this->_getOfficeHelper()
239
+ ->getLicenceableShippingMethodModel();
240
+ $shippingEntry->setCode($shippingMethodEntry->getCarrierCode());
241
+ $shippingEntry->setId($shippingEntry->getType() . '/' . $shippingEntry->getCode());
242
+
243
+ if ($shippingMethodEntry->getNeedsLicense()) {
244
+ $supportedMethods->addItem($shippingEntry);
245
+
246
+ //add resulting payment
247
+ $installedModules = (array) Mage::getConfig()->getNode('modules')->children();
248
+ if (isset($installedModules['Eabi_Cod']) && Mage::helper('core')->isModuleEnabled('Eabi_Cod')) {
249
+ $paymentEntry = $this->_getOfficeHelper()
250
+ ->getLicenceablePaymentMethodModel();
251
+ $paymentEntry->setCode($shippingMethodEntry->getCarrierCode());
252
+ $paymentEntry->setId($paymentEntry->getType() . '/' . $paymentEntry->getCode());
253
+
254
+ $supportedMethods->addItem($paymentEntry);
255
+ }
256
+
257
+ //add resulting autosend
258
+ $autosendEntry = $this->_getOfficeHelper()
259
+ ->getLicenceableAutosendMethodModel();
260
+ $autosendEntry->setCode($shippingMethodEntry->getCarrierCode());
261
+ $autosendEntry->setId($autosendEntry->getType() . '/' . $autosendEntry->getCode());
262
+
263
+ $supportedMethods->addItem($autosendEntry);
264
+
265
+
266
+ }
267
+ }
268
+
269
+ }
270
+
271
+
272
+
273
 
274
 
275
  /**
287
  protected function _getOfficeHelper() {
288
  return Mage::helper('eabi_postoffice');
289
  }
290
+ /**
291
+ *
292
+ * @return Eabi_Livehandler_Helper_Data
293
+ */
294
+ protected function _getEabiHelper() {
295
+ return Mage::helper('eabi');
296
+ }
297
 
298
 
299
 
app/code/community/Eabi/Postoffice/Model/Office.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Orderview.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/Source/Sendevent.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/Model/System/Config/Source/Country.php CHANGED
@@ -2,14 +2,30 @@
2
 
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
 
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/code/community/Eabi/Postoffice/Model/Updater.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/controllers/Adminhtml/PostofficeController.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/controllers/IndexController.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/etc/config.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
@@ -100,17 +116,6 @@
100
  </eabi_postoffice_send_shipment>
101
  </observers>
102
  </sales_order_shipment_save_before>
103
- <!-- eabi_postoffice_autosend_data_before -->
104
- <!-- eabi_postoffice_collect_rates_terminals_load_before -->
105
- <eabi_postoffice_collect_rates_terminals_load_before>
106
- <observers>
107
- <eabi_postoffice_listen_license>
108
- <type>singleton</type>
109
- <class>Eabi_Postoffice_Model_Observer</class>
110
- <method>listenLicense</method>
111
- </eabi_postoffice_listen_license>
112
- </observers>
113
- </eabi_postoffice_collect_rates_terminals_load_before>
114
  </events>
115
  </adminhtml>
116
  <admin>
@@ -227,6 +232,36 @@
227
  </observers>
228
  </eabi_postoffice_autosend_data_success>
229
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  </events>
231
  <translate>
232
  <modules>
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
116
  </eabi_postoffice_send_shipment>
117
  </observers>
118
  </sales_order_shipment_save_before>
 
 
 
 
 
 
 
 
 
 
 
119
  </events>
120
  </adminhtml>
121
  <admin>
232
  </observers>
233
  </eabi_postoffice_autosend_data_success>
234
 
235
+ <eabi_licence_get_supported_method_codes>
236
+ <observers>
237
+ <eabi_licence_get_shipping_method_codes>
238
+ <type>model</type>
239
+ <class>eabi_postoffice/observer</class>
240
+ <method>getAllLicenceAbleShippingMethods</method>
241
+ </eabi_licence_get_shipping_method_codes>
242
+ </observers>
243
+ </eabi_licence_get_supported_method_codes>
244
+ <!-- eabi_postoffice_collect_rates_terminals_load_before -->
245
+ <eabi_postoffice_collect_rates_terminals_load_before>
246
+ <observers>
247
+ <eabi_postoffice_listen_license>
248
+ <type>singleton</type>
249
+ <class>Eabi_Postoffice_Model_Observer</class>
250
+ <method>listenLicense</method>
251
+ </eabi_postoffice_listen_license>
252
+ </observers>
253
+ </eabi_postoffice_collect_rates_terminals_load_before>
254
+ <eabi_postoffice_autosend_data_before>
255
+ <observers>
256
+ <eabi_postoffice_listen_autosend_license>
257
+ <type>singleton</type>
258
+ <class>Eabi_Postoffice_Model_Observer</class>
259
+ <method>listenAutosendLicense</method>
260
+ </eabi_postoffice_listen_autosend_license>
261
+ </observers>
262
+ </eabi_postoffice_autosend_data_before>
263
+
264
+
265
  </events>
266
  <translate>
267
  <modules>
app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-install-0.1.0.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.0-0.1.1.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.1-0.1.2.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.11-0.1.12.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
+ *
23
+ * @category Eabi
24
+ * @package Eabi_Dpd
25
+ * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
+ * @author Matis Halmann
29
+ *
30
+
31
+ */
32
+
33
+ $installer = $this;
34
+
35
+ $installer->startSetup();
36
+
37
+ /*
38
+ * Adds license information to the shipping module
39
+ *
40
+ */
41
+ $installer->run("
42
+
43
+ UPDATE {$this->getTable('eabi_carriermodule')} SET `needs_license` = 1 WHERE `carrier_code` LIKE 'eabiomniva%';
44
+ UPDATE {$this->getTable('eabi_carriermodule')} SET `needs_license` = 1 WHERE `carrier_code` LIKE 'eabiitella%';
45
+
46
+ ");
47
+
48
+
49
+ $installer->endSetup();
app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.5-0.1.6.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/code/community/Eabi/Postoffice/sql/eabi_postoffice_setup/mysql4-upgrade-0.1.6-0.1.7.php CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/design/adminhtml/default/default/layout/eabi_postoffice.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/design/adminhtml/default/default/template/eabi_postoffice/shipping_method_form.phtml CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/design/frontend/base/default/layout/eabi_postoffice.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/design/frontend/base/default/template/eabi_postoffice/available.phtml CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/design/frontend/base/default/template/eabi_postoffice/multishipping.phtml CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/design/frontend/base/default/template/eabi_postoffice/shipping.phtml CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/design/frontend/base/default/template/eabi_postoffice/tracking/popup.phtml CHANGED
@@ -1,14 +1,30 @@
1
  <?php
2
  /*
3
 
4
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
5
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
6
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  *
8
  * @category Eabi
9
- * @package Eabi_Omniva
10
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
11
- * @license http://www.e-abi.ee/litsents
 
12
  * @author Matis Halmann
13
  *
14
 
1
  <?php
2
  /*
3
 
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * or OpenGPL v3 license (GNU Public License V3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/osl-3.0.php
12
+ * or
13
+ * http://www.gnu.org/licenses/gpl-3.0.txt
14
+ * If you did not receive a copy of the license and are unable to
15
+ * obtain it through the world-wide-web, please send an email
16
+ * to info@e-abi.ee so we can send you a copy immediately.
17
+ *
18
+ * DISCLAIMER
19
+ *
20
+ * Do not edit or add to this file if you wish to upgrade this module to newer
21
+ * versions in the future.
22
  *
23
  * @category Eabi
24
+ * @package Eabi_Dpd
25
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
26
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
27
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
28
  * @author Matis Halmann
29
  *
30
 
app/etc/modules/Eabi_DpdEE.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
@@ -23,7 +39,7 @@
23
  <depends>
24
  <Eabi_Postoffice />
25
  </depends>
26
- <version>0.1.19</version>
27
  </Eabi_DpdEE>
28
  </modules>
29
  </config>
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
39
  <depends>
40
  <Eabi_Postoffice />
41
  </depends>
42
+ <version>0.1.20</version>
43
  </Eabi_DpdEE>
44
  </modules>
45
  </config>
app/etc/modules/Eabi_Postoffice.xml CHANGED
@@ -2,14 +2,30 @@
2
  <!--
3
  /*
4
 
5
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
6
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
7
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  *
9
  * @category Eabi
10
- * @package Eabi_Omniva
11
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
12
- * @license http://www.e-abi.ee/litsents
 
13
  * @author Matis Halmann
14
  *
15
 
2
  <!--
3
  /*
4
 
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0)
9
+ * or OpenGPL v3 license (GNU Public License V3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * or
14
+ * http://www.gnu.org/licenses/gpl-3.0.txt
15
+ * If you did not receive a copy of the license and are unable to
16
+ * obtain it through the world-wide-web, please send an email
17
+ * to info@e-abi.ee so we can send you a copy immediately.
18
+ *
19
+ * DISCLAIMER
20
+ *
21
+ * Do not edit or add to this file if you wish to upgrade this module to newer
22
+ * versions in the future.
23
  *
24
  * @category Eabi
25
+ * @package Eabi_Dpd
26
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
27
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
28
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
29
  * @author Matis Halmann
30
  *
31
 
app/locale/en_US/Eabi_Postoffice.csv CHANGED
@@ -57,3 +57,9 @@
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
 
 
 
 
 
 
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
60
+ "Payment method with code %s not found","Payment method with code %s not found"
61
+ "Shipping method with code %s not found","Shipping method with code %s not found"
62
+ "Automatic data sending","Automatic data sending"
63
+ "Invalid licence for %s","Invalid licence for %s"
64
+ "Maximum package weight is checked per cart item","Maximum package weight is checked per cart item"
65
+ "When disabled, package weight is checked against the weight of whole cart","When disabled, package weight is checked against the weight of whole cart"
app/locale/et_EE/Eabi_Postoffice.csv CHANGED
@@ -57,3 +57,9 @@
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Saada tellimuse kinnitus ribakoodiga järgnevatele e-posti aadressidele peale edukat pakiandmete saatmist"
58
  "All remaining countries","Kõik ülejäänud riigid"
59
  "Minimum allowed package weight for this carrier","Minimaalne lubatud paki kaal käesolevale tarnijale"
 
 
 
 
 
 
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Saada tellimuse kinnitus ribakoodiga järgnevatele e-posti aadressidele peale edukat pakiandmete saatmist"
58
  "All remaining countries","Kõik ülejäänud riigid"
59
  "Minimum allowed package weight for this carrier","Minimaalne lubatud paki kaal käesolevale tarnijale"
60
+ "Payment method with code %s not found","Makseviisi koodiga %s ei leitud"
61
+ "Shipping method with code %s not found","Tarneviisi koodiga %s ei leitud"
62
+ "Automatic data sending","Automaatne pakiandmete saatmine"
63
+ "Invalid licence for %s","Kehtetu litsents teenusele %s"
64
+ "Maximum package weight is checked per cart item","Saadetise kaalu kontrollitakse iga eseme kohta eraldi"
65
+ "When disabled, package weight is checked against the weight of whole cart","Kui keelatud, siis kontrollitakse saadetise kaalu terve ostukorvi kohta korraga"
app/locale/fi_FI/Eabi_Postoffice.csv CHANGED
@@ -57,3 +57,9 @@
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
 
 
 
 
 
 
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
60
+ "Payment method with code %s not found","Payment method with code %s not found"
61
+ "Shipping method with code %s not found","Shipping method with code %s not found"
62
+ "Automatic data sending","Automatic data sending"
63
+ "Invalid licence for %s","Invalid licence for %s"
64
+ "Maximum package weight is checked per cart item","Maximum package weight is checked per cart item"
65
+ "When disabled, package weight is checked against the weight of whole cart","When disabled, package weight is checked against the weight of whole cart"
app/locale/hu_HU/Eabi_Postoffice.csv CHANGED
@@ -57,3 +57,9 @@
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
 
 
 
 
 
 
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
60
+ "Payment method with code %s not found","Payment method with code %s not found"
61
+ "Shipping method with code %s not found","Shipping method with code %s not found"
62
+ "Automatic data sending","Automatic data sending"
63
+ "Invalid licence for %s","Invalid licence for %s"
64
+ "Maximum package weight is checked per cart item","Maximum package weight is checked per cart item"
65
+ "When disabled, package weight is checked against the weight of whole cart","When disabled, package weight is checked against the weight of whole cart"
app/locale/lt_LT/Eabi_Postoffice.csv CHANGED
@@ -57,3 +57,9 @@
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
 
 
 
 
 
 
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
60
+ "Payment method with code %s not found","Payment method with code %s not found"
61
+ "Shipping method with code %s not found","Shipping method with code %s not found"
62
+ "Automatic data sending","Automatic data sending"
63
+ "Invalid licence for %s","Invalid licence for %s"
64
+ "Maximum package weight is checked per cart item","Maximum package weight is checked per cart item"
65
+ "When disabled, package weight is checked against the weight of whole cart","When disabled, package weight is checked against the weight of whole cart"
app/locale/ru_RU/Eabi_Postoffice.csv CHANGED
@@ -57,3 +57,9 @@
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
 
 
 
 
 
 
57
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
58
  "All remaining countries","All remaining countries"
59
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
60
+ "Payment method with code %s not found","Payment method with code %s not found"
61
+ "Shipping method with code %s not found","Shipping method with code %s not found"
62
+ "Automatic data sending","Automatic data sending"
63
+ "Invalid licence for %s","Invalid licence for %s"
64
+ "Maximum package weight is checked per cart item","Maximum package weight is checked per cart item"
65
+ "When disabled, package weight is checked against the weight of whole cart","When disabled, package weight is checked against the weight of whole cart"
app/locale/sv_SE/Eabi_Postoffice.csv CHANGED
@@ -63,3 +63,9 @@
63
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
64
  "All remaining countries","All remaining countries"
65
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
 
 
 
 
 
 
63
  "Send order confirmation with barcode to following e-mails after parcel data send success","Send order confirmation with barcode to following e-mails after parcel data send success"
64
  "All remaining countries","All remaining countries"
65
  "Minimum allowed package weight for this carrier","Minimum allowed package weight for this carrier"
66
+ "Payment method with code %s not found","Payment method with code %s not found"
67
+ "Shipping method with code %s not found","Shipping method with code %s not found"
68
+ "Automatic data sending","Automatic data sending"
69
+ "Invalid licence for %s","Invalid licence for %s"
70
+ "Maximum package weight is checked per cart item","Maximum package weight is checked per cart item"
71
+ "When disabled, package weight is checked against the weight of whole cart","When disabled, package weight is checked against the weight of whole cart"
js/eabi_js/eabi_dpdee.js CHANGED
@@ -1,13 +1,29 @@
1
  /*
2
 
3
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
4
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
5
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  *
7
  * @category Eabi
8
- * @package Eabi_Omniva
9
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
10
- * @license http://www.e-abi.ee/litsents
 
11
  * @author Matis Halmann
12
  *
13
 
1
  /*
2
 
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * or OpenGPL v3 license (GNU Public License V3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * or
12
+ * http://www.gnu.org/licenses/gpl-3.0.txt
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to info@e-abi.ee so we can send you a copy immediately.
16
+ *
17
+ * DISCLAIMER
18
+ *
19
+ * Do not edit or add to this file if you wish to upgrade this module to newer
20
+ * versions in the future.
21
  *
22
  * @category Eabi
23
+ * @package Eabi_Dpd
24
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
25
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
27
  * @author Matis Halmann
28
  *
29
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eabi_DpdEE</name>
4
- <version>0.1.19</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,12 @@
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>- Compatiblity with SUPEE-6285&#xD;
21
- - Added option "all remaining countries"</notes>
22
  <authors><author><name>Matis Matis</name><user>auto-converted</user><email>info@e-abi.ee</email></author></authors>
23
- <date>2015-07-15</date>
24
- <time>19:00:57</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="a91dd4a7c9bd67faf011cfecf431f13e"/></dir></dir></dir></dir><dir name="Info"><file name="Payment.php" hash="09819e2721a9f45a4f1724816f3db968"/></dir><dir name="Order"><file name="Courier.php" hash="d9884bfc4780759abd8a8e1e2ebe6ff4"/></dir><file name="Invoice.php" hash="509dd1443e50c336f67cdf7f6e5ee635"/></dir><dir name="Helper"><file name="Data.php" hash="ba3913d35845f81ffaf0d973b51f17b8"/></dir><dir name="Model"><dir name="Action"><dir name="Carrier"><dir name="Order"><file name="Courier.php" hash="fd7e796ad47fce94c45d6639b88c4c49"/></dir></dir></dir><dir name="Button"><file name="Courier.php" hash="bf2545ba2522f4c77494792caaca6f63"/></dir><dir name="Payment"><file name="Processor.php" hash="f1440826dd3ce41408afbbb5d6026ffa"/></dir><dir name="Source"><dir name="Label"><file name="Position.php" hash="bae49069f6cdc6cd578bca715750e09d"/></dir><file name="Service.php" hash="4a679480f7fbd30d8dc015c8c5b0169c"/></dir><file name="Api.php" hash="0e950036f855d24c910061d099f1b217"/><file name="Config.php" hash="75263db3d6487835429a2f5de9501725"/><file name="Flat.php" hash="9ff998e47551b6e58cc3f3fbd68a4075"/><file name="Observer.php" hash="524940d42b7e0fdfd745c9555fb7fa4e"/><file name="Post.php" hash="c9ea6b71103d1d6dfc175719cd881739"/></dir><dir name="etc"><file name="config.xml" hash="8e1881ba807a553710e7e29cdccfce99"/><file name="system.xml" hash="a981d9035ee99a7db9e8b96d6b6a6db1"/></dir><dir name="sql"><dir name="eabi_dpdee_setup"><file name="mysql4-install-0.1.0.php" hash="ad5b2e9f6b510d0a7246d54a8ba32d7a"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="374e6bcf3d8c9353a43f5035b6c42454"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="74a1e97113cd6938d46ccee9e8a040e3"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="8274989d75160eec7152c5b01d0aa312"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="cae48a290d0ca15f8d1ff17480f60c7e"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="7b0fff5079da06c168b6d12803646ffa"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="663c69688a7b4b9e07ea1f4caf43898a"/></dir></dir><file name="CHANGELOG.txt" hash="271cf6ef14da5e405f605d4ff335f2a1"/><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="61ff82d30c89eed101859e79f03c3687"/><file name="Remove.php" hash="0d7314c95e0596ee4b002d0b22e117b2"/></dir></dir></dir></dir><dir name="Config"><file name="Rebuildbutton.php" hash="ecae34b74607c29faaff60635aef088d"/></dir></dir><dir name="Helper"><file name="Countrycode.php" hash="292ad11c032e2e4054b0ce61e25a6313"/><file name="Data.php" hash="51f0ea5a1fba4daf58c659e6541856a1"/></dir><dir name="Model"><dir name="Carrier"><file name="Abstract.php" hash="149ca3853e0036bf7e1bffb2493b15c3"/><file name="Result.php" hash="1d4575967ebba97e9492ee2d65351a88"/></dir><dir name="Email"><dir name="Template"><file name="Mailer.php" hash="f06c90a57a570262b378f99fd11a4d85"/></dir></dir><dir name="Mysql4"><dir name="Carriermodule"><file name="Collection.php" hash="a19198e2d5e8bf1bddda27553fc80129"/></dir><dir name="Office"><file name="Collection.php" hash="77b2beaba1f5b7a8e509b950db242c1d"/></dir><file name="Carriermodule.php" hash="be27c55887c1b36ba8c34c20dff32f3c"/><file name="Office.php" hash="7be539949419e8945d326e1b5ffd6390"/></dir><dir name="Source"><file name="Sendevent.php" hash="a8391a7880ea276452ade77aa9d41f83"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Country.php" hash="94195656eb942815a8d61a585e0a4662"/></dir></dir></dir><file name="Carriermodule.php" hash="1adfc85382d08e0b3a835ac975529295"/><file name="Observer.php" hash="24ef654e49dc7750dfea9a70d73d8f5e"/><file name="Office.php" hash="503166700aebe0d309b5efa1893875dc"/><file name="Orderview.php" hash="daafc761a9669013f12a0b76cb61ec97"/><file name="Updater.php" hash="d17c818a52c799cd10fbacac8bbe4b5b"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PostofficeController.php" hash="cc82d704df0255b35a32c507dd960a9d"/></dir><file name="IndexController.php" hash="fb742111633cd5967914470340f99cf3"/></dir><dir name="etc"><file name="config.xml" hash="a3b675c8fe97bce8e1299f77b5693b59"/></dir><dir name="sql"><dir name="eabi_postoffice_setup"><file name="mysql4-install-0.1.0.php" hash="97ae9e6f6d3a6ae2809aba72fee03662"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="fa132028a3251a2b32022b73acec27cf"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="ea69a20646276471577521620ce0fbd2"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="a2d6da4b86380923dd196d46671e2eb3"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="46e535c005ea4c1261955a2353e099c8"/></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="dd6315ea5ee3546605bc35f45ff38635"/></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="1fc6cff5cf2e802dc64cda62e13a037a"/></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="ea92bbecb8ff64a63d1b82a952d7655d"/></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="61ce4466d417710fccad53a0e1193e8e"/></dir><file name="available.phtml" hash="25b579da2eb057a1a7960b09673023f0"/><file name="multishipping.phtml" hash="4605d5ef65cfc8f60dcfd4e4a3b7a7c6"/><file name="shipping.phtml" hash="73e0040e1f0d7b0d090a8a37f21755d0"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eabi_Postoffice.xml" hash="a91ed4a430c38ec52a8f670927749fd4"/><file name="Eabi_DpdEE.xml" hash="72f3a3e8e15c79fc535cece58ad1f024"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Eabi_DpdEE.csv" hash="d53a6b36efac9db3dfad081f31712b40"/><file name="Eabi_Postoffice.csv" hash="30fda5b4463f960a88fb8eb556d19046"/></dir><dir name="et_EE"><file name="Eabi_DpdEE.csv" hash="0a64d6699de9f680874acbc9869d4837"/><file name="Eabi_Postoffice.csv" hash="983ea150428253e82b1c03f86e3ec81b"/></dir><dir name="ru_RU"><file name="Eabi_DpdEE.csv" hash="a208ad8515648b555ca13c9209c4f833"/><file name="Eabi_Postoffice.csv" hash="30fda5b4463f960a88fb8eb556d19046"/></dir><dir name="hu_HU"><file name="Eabi_Postoffice.csv" hash="30fda5b4463f960a88fb8eb556d19046"/></dir><dir name="fi_FI"><file name="Eabi_Postoffice.csv" hash="30fda5b4463f960a88fb8eb556d19046"/></dir><dir name="lt_LT"><file name="Eabi_Postoffice.csv" hash="30fda5b4463f960a88fb8eb556d19046"/></dir><dir name="sv_SE"><file name="Eabi_Postoffice.csv" hash="49e0a8662bbc0c2c0c792f1742224dba"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="eabi_dpdee.css" hash="d0836a504932fa15c55c793a4140126e"/><file name="eabi_postoffice.css" hash="70c1736014cb076fff8071952d918ca9"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="eabi_postoffice.css" hash="1a21b83844a2b91eab9b4a35ff592115"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="css"><file name="eabi_postoffice.css" hash="1a21b83844a2b91eab9b4a35ff592115"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="eabi_js"><file name="eabi_dpdee.js" hash="930f47f674e50400a1b2341dfc6b4101"/></dir></dir></target></contents>
26
  <compatible/>
27
- <dependencies><required><package><name>Eabi_Livehandler</name><channel>community</channel><min>0.1.10</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.20</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>- Added Use per item weight switch&#xD;
21
+ - Added support for licenceable modules</notes>
22
  <authors><author><name>Matis Matis</name><user>auto-converted</user><email>info@e-abi.ee</email></author></authors>
23
+ <date>2015-09-30</date>
24
+ <time>00:07:56</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="274e3aa4aad16160469d577af41ead2c"/></dir></dir></dir></dir><dir name="Info"><file name="Payment.php" hash="3a88ba8f59b923856a308bb9139d7910"/></dir><dir name="Order"><file name="Courier.php" hash="758e928635b2e7108153e3156ad7095b"/></dir><file name="Invoice.php" hash="e99999135dad4bad12609d9acbff637e"/></dir><dir name="Helper"><file name="Data.php" hash="56d1e034e1dc8e2b2f1830ae61a81bb7"/></dir><dir name="Model"><dir name="Action"><dir name="Carrier"><dir name="Order"><file name="Courier.php" hash="c380d8524072c4c194a18f797fc77f8c"/></dir></dir></dir><dir name="Button"><file name="Courier.php" hash="70b3e4a079f6805914de4c48dde9f11b"/></dir><dir name="Payment"><file name="Processor.php" hash="144fe8ad22dbefcd55fced2021ae18d0"/></dir><dir name="Source"><dir name="Label"><file name="Position.php" hash="b07167f21359c12540b274cbdecbb8fc"/></dir><file name="Service.php" hash="5b6c2ead82b90761a27555eb1c38cd4f"/></dir><file name="Api.php" hash="67af3ec2e1d22f5ee7b4d6c75b86e463"/><file name="Config.php" hash="6c61f2e9d337a819f4817d87463d6715"/><file name="Flat.php" hash="ad6a01393c5b2989f49e5574850714fd"/><file name="Observer.php" hash="6b43c309bbd4f4a2830b15059c27b467"/><file name="Post.php" hash="071d4cabe5ea01fa43f2600aa4b7de61"/></dir><dir name="etc"><file name="config.xml" hash="9ddacd1eb66bf27f5a9c96e4886d463a"/><file name="system.xml" hash="16564a595918ffc90bc04bd019eec56d"/></dir><dir name="sql"><dir name="eabi_dpdee_setup"><file name="mysql4-install-0.1.0.php" hash="dd703e035f111caff06859c09f4e3eb5"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="4dffece4db7dec27f0d70fedcfce6a75"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="84855893b48f9025e80164956e51d301"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="d26a012199c29fd38191cefa9c567668"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="d72b3a1dc6a4d7d0470ef55c4447370f"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="8b2535e4d515a3ce6648f41158b20a69"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="439aa9cd15f5d274d1ca8494c8248524"/></dir></dir><file name="CHANGELOG.txt" hash="68c97ed16f24ca06410f5b4c448f5324"/><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="9f8512f2d7b8c88940e5571e4deb5c01"/><file name="Remove.php" hash="cbdb83476cc5b48ca313dee1cd574b49"/></dir></dir></dir></dir><dir name="Config"><file name="Rebuildbutton.php" hash="723d37f1c57774b24b14d6190605ec5e"/></dir></dir><dir name="Helper"><file name="Countrycode.php" hash="9c6d163d6c8dff19c381adb5fa06c211"/><file name="Data.php" hash="00bc797ccc643332618732f51e5b41d3"/></dir><dir name="Model"><dir name="Carrier"><file name="Abstract.php" hash="225fc50a0b61b9e164eb7c2b18c160e6"/><file name="Result.php" hash="b087842bb78decbeab2b352aac5fa741"/></dir><dir name="Email"><dir name="Template"><file name="Mailer.php" hash="6649ba87a1b47e083b3c9284a4aadda5"/></dir></dir><dir name="Licenceable"><dir name="Autosend"><file name="Method.php" hash="ddcfe7c15b3d528f016cb8968e10b690"/></dir><dir name="Payment"><file name="Method.php" hash="2a02e190756887fa9beef275dac91993"/></dir><dir name="Shipping"><file name="Method.php" hash="896dfa0d9ce4bd61d04f479830f66262"/></dir><file name="Method.php" hash="94768cb740a9382340f182c4c6d8b82c"/></dir><dir name="Mysql4"><dir name="Carriermodule"><file name="Collection.php" hash="34095268b71d7aeb8d1a520c0ed4422b"/></dir><dir name="Office"><file name="Collection.php" hash="4ba141a461a61e9f04cd32af8241cccc"/></dir><file name="Carriermodule.php" hash="5fa967a34c175f08c33d9bf28110c83c"/><file name="Office.php" hash="419ce5aa8c17b33cc5fc8eb9ba22b77e"/></dir><dir name="Source"><file name="Sendevent.php" hash="d6d9b4b9e09796e0dcef2969d7538b8e"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Country.php" hash="601467914ec74d8272541a60a2ac9768"/></dir></dir></dir><file name="Carriermodule.php" hash="ef7ed997237ef59e8d809cdcf66fd3bd"/><file name="Observer.php" hash="311c99f5e6c8279ace6aa98647a9c96f"/><file name="Office.php" hash="fdd0202194912bd71dcbae000831b0e3"/><file name="Orderview.php" hash="6172e27e2b84b8c5bf1396cab86c8bcf"/><file name="Updater.php" hash="31919cc1e0dc02229cbc8f0a1c489f7b"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PostofficeController.php" hash="66e2c3481e8b982f5c14c3acb5f11f11"/></dir><file name="IndexController.php" hash="b3288b535547c1642b955b748ec18f9f"/></dir><dir name="etc"><file name="config.xml" hash="3c8e62b54595637f27fe6df2ef69bbb2"/></dir><dir name="sql"><dir name="eabi_postoffice_setup"><file name="mysql4-install-0.1.0.php" hash="cd14642248c474276fcc0bc44b47f679"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="7e482871358ce4286c8df3e1ec76c416"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="e88ad26ba8b6e5c1b5b9c53705ebb814"/><file name="mysql4-upgrade-0.1.11-0.1.12.php" hash="9e457075ce6ea781401eb444356f572f"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="9660ecf5d0122312b53691cc732aac79"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="3b425429ab1f75db336626f042f62f72"/></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="6db252214380599864969ff3bb920597"/></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="2cb860aeb28ddf641d9cb682ead6629a"/></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="891b37e8e618898bccad4e5393746d43"/></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="04cdbd8a12d570fb27016065e57baaaf"/></dir><file name="available.phtml" hash="f6e9e10c0afeb31756271011187b75a7"/><file name="multishipping.phtml" hash="69557c06e48f9e17acb464631935e8bc"/><file name="shipping.phtml" hash="864293a6b07ac3ea97d7b6be78f12911"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eabi_Postoffice.xml" hash="7d094bfe8bea55238fc210075ca8a39b"/><file name="Eabi_DpdEE.xml" hash="34579aac656a52f3cb35204a0b7390a9"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Eabi_DpdEE.csv" hash="d53a6b36efac9db3dfad081f31712b40"/><file name="Eabi_Postoffice.csv" hash="651b14b0e55dbeeb55de579a1a993eab"/></dir><dir name="et_EE"><file name="Eabi_DpdEE.csv" hash="0a64d6699de9f680874acbc9869d4837"/><file name="Eabi_Postoffice.csv" hash="ea423904bbab2d44e6b68a537576c567"/></dir><dir name="ru_RU"><file name="Eabi_DpdEE.csv" hash="a208ad8515648b555ca13c9209c4f833"/><file name="Eabi_Postoffice.csv" hash="651b14b0e55dbeeb55de579a1a993eab"/></dir><dir name="hu_HU"><file name="Eabi_Postoffice.csv" hash="651b14b0e55dbeeb55de579a1a993eab"/></dir><dir name="fi_FI"><file name="Eabi_Postoffice.csv" hash="651b14b0e55dbeeb55de579a1a993eab"/></dir><dir name="lt_LT"><file name="Eabi_Postoffice.csv" hash="651b14b0e55dbeeb55de579a1a993eab"/></dir><dir name="sv_SE"><file name="Eabi_Postoffice.csv" hash="bbad7cd0c48e9482913265b2f0f0cef9"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><file name="eabi_dpdee.css" hash="61ebb61afb3fee7aa4967bc309372f2d"/><file name="eabi_postoffice.css" hash="35d7b5905cead7922bd0c924d1de6a18"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="eabi_postoffice.css" hash="e5f0da3ae91e28c2b72a94d0962b03bb"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="css"><file name="eabi_postoffice.css" hash="e5f0da3ae91e28c2b72a94d0962b03bb"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="eabi_js"><file name="eabi_dpdee.js" hash="f56b37daf1563510c92858497dbd6d74"/></dir></dir></target></contents>
26
  <compatible/>
27
+ <dependencies><required><package><name>Eabi_Livehandler</name><channel>community</channel><min>0.1.12</min><max>1.0.0</max></package></required></dependencies>
28
  </package>
skin/adminhtml/default/default/eabi_dpdee.css CHANGED
@@ -1,13 +1,29 @@
1
  /*
2
 
3
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
4
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
5
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  *
7
  * @category Eabi
8
- * @package Eabi_Omniva
9
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
10
- * @license http://www.e-abi.ee/litsents
 
11
  * @author Matis Halmann
12
  *
13
 
1
  /*
2
 
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * or OpenGPL v3 license (GNU Public License V3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * or
12
+ * http://www.gnu.org/licenses/gpl-3.0.txt
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to info@e-abi.ee so we can send you a copy immediately.
16
+ *
17
+ * DISCLAIMER
18
+ *
19
+ * Do not edit or add to this file if you wish to upgrade this module to newer
20
+ * versions in the future.
21
  *
22
  * @category Eabi
23
+ * @package Eabi_Dpd
24
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
25
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
27
  * @author Matis Halmann
28
  *
29
 
skin/adminhtml/default/default/eabi_postoffice.css CHANGED
@@ -1,13 +1,29 @@
1
  /*
2
 
3
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
4
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
5
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  *
7
  * @category Eabi
8
- * @package Eabi_Omniva
9
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
10
- * @license http://www.e-abi.ee/litsents
 
11
  * @author Matis Halmann
12
  *
13
 
1
  /*
2
 
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * or OpenGPL v3 license (GNU Public License V3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * or
12
+ * http://www.gnu.org/licenses/gpl-3.0.txt
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to info@e-abi.ee so we can send you a copy immediately.
16
+ *
17
+ * DISCLAIMER
18
+ *
19
+ * Do not edit or add to this file if you wish to upgrade this module to newer
20
+ * versions in the future.
21
  *
22
  * @category Eabi
23
+ * @package Eabi_Dpd
24
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
25
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
27
  * @author Matis Halmann
28
  *
29
 
skin/frontend/base/default/css/eabi_postoffice.css CHANGED
@@ -1,13 +1,29 @@
1
  /*
2
 
3
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
4
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
5
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  *
7
  * @category Eabi
8
- * @package Eabi_Omniva
9
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
10
- * @license http://www.e-abi.ee/litsents
 
11
  * @author Matis Halmann
12
  *
13
 
1
  /*
2
 
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * or OpenGPL v3 license (GNU Public License V3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * or
12
+ * http://www.gnu.org/licenses/gpl-3.0.txt
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to info@e-abi.ee so we can send you a copy immediately.
16
+ *
17
+ * DISCLAIMER
18
+ *
19
+ * Do not edit or add to this file if you wish to upgrade this module to newer
20
+ * versions in the future.
21
  *
22
  * @category Eabi
23
+ * @package Eabi_Dpd
24
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
25
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
27
  * @author Matis Halmann
28
  *
29
 
skin/frontend/default/default/css/eabi_postoffice.css CHANGED
@@ -1,13 +1,29 @@
1
  /*
2
 
3
- * Käesoleva loomingu autoriõigused kuuluvad Matis Halmannile ja Aktsiamaailm OU-le
4
- * Litsentsitingimused on saadaval http://www.e-abi.ee/litsents
5
- *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  *
7
  * @category Eabi
8
- * @package Eabi_Omniva
9
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
10
- * @license http://www.e-abi.ee/litsents
 
11
  * @author Matis Halmann
12
  *
13
 
1
  /*
2
 
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Open Software License (OSL 3.0)
7
+ * or OpenGPL v3 license (GNU Public License V3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * or
12
+ * http://www.gnu.org/licenses/gpl-3.0.txt
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to info@e-abi.ee so we can send you a copy immediately.
16
+ *
17
+ * DISCLAIMER
18
+ *
19
+ * Do not edit or add to this file if you wish to upgrade this module to newer
20
+ * versions in the future.
21
  *
22
  * @category Eabi
23
+ * @package Eabi_Dpd
24
  * @copyright Copyright (c) 2015 Aktsiamaailm LLC (http://en.e-abi.ee/)
25
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
+ * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU Public License V3.0
27
  * @author Matis Halmann
28
  *
29