Fianet_Core - Version 1.0.5

Version Notes

sixth official commit

Download this release

Release Info

Developer Magento Core Team
Extension Fianet_Core
Version 1.0.5
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.5

Files changed (97) hide show
  1. app/code/community/Fianet/Core/Block/Adminhtml/Category/ProductType/Edit.php +3 -3
  2. app/code/community/Fianet/Core/Block/Adminhtml/Category/ProductType/Edit/Form.php +3 -3
  3. app/code/community/Fianet/Core/Block/Adminhtml/Configuration.php +3 -3
  4. app/code/community/Fianet/Core/Block/Adminhtml/Configuration/Content.php +3 -3
  5. app/code/community/Fianet/Core/Block/Adminhtml/Configuration/Edit/Form.php +3 -3
  6. app/code/community/Fianet/Core/Block/Adminhtml/Configuration/Tab.php +3 -3
  7. app/code/community/Fianet/Core/Block/Adminhtml/Fianetadmin.php +3 -3
  8. app/code/community/Fianet/Core/Block/Adminhtml/Fianetadmingrid.php +3 -3
  9. app/code/community/Fianet/Core/Block/Adminhtml/Log/Grid.php +3 -3
  10. app/code/community/Fianet/Core/Block/Adminhtml/Sales/Order/Grid.php +3 -3
  11. app/code/community/Fianet/Core/Block/Adminhtml/Store/Switcher.php +3 -3
  12. app/code/community/Fianet/Core/Block/Adminhtml/Tree/Abstract.php +3 -3
  13. app/code/community/Fianet/Core/Block/Adminhtml/Tree/ProductType.php +3 -3
  14. app/code/community/Fianet/Core/Block/Adminhtml/Tree/Products.php +3 -3
  15. app/code/community/Fianet/Core/Block/Adminhtml/Widget/Grid/Column/Filter/Fianet.php +3 -3
  16. app/code/community/Fianet/Core/Block/Adminhtml/Widget/Grid/Column/Renderer/Fianet.php +73 -69
  17. app/code/community/Fianet/Core/Controller/Tree/Abstract.php +3 -3
  18. app/code/community/Fianet/Core/Controller/Tree/ProductType.php +3 -3
  19. app/code/community/Fianet/Core/Helper/Data.php +3 -3
  20. app/code/community/Fianet/Core/Model/Carrier/Abstract.php +3 -3
  21. app/code/community/Fianet/Core/Model/Catproduct/Association.php +3 -3
  22. app/code/community/Fianet/Core/Model/Configuration.php +3 -3
  23. app/code/community/Fianet/Core/Model/Configuration/Global.php +3 -3
  24. app/code/community/Fianet/Core/Model/Configuration/Value.php +3 -3
  25. app/code/community/Fianet/Core/Model/Fianet/EncodingKey.php +3 -3
  26. app/code/community/Fianet/Core/Model/Fianet/Hash32bits.php +3 -3
  27. app/code/community/Fianet/Core/Model/Fianet/Hash64bits.php +3 -3
  28. app/code/community/Fianet/Core/Model/Fianet/Order/Address/Base.php +3 -3
  29. app/code/community/Fianet/Core/Model/Fianet/Order/Address/Billing.php +3 -3
  30. app/code/community/Fianet/Core/Model/Fianet/Order/Address/Delivery.php +3 -3
  31. app/code/community/Fianet/Core/Model/Fianet/Order/Address/Transport.php +3 -3
  32. app/code/community/Fianet/Core/Model/Fianet/Order/Info/Productlist.php +3 -3
  33. app/code/community/Fianet/Core/Model/Fianet/Order/Info/Productlist/Product.php +3 -3
  34. app/code/community/Fianet/Core/Model/Fianet/Order/Info/Transport.php +12 -10
  35. app/code/community/Fianet/Core/Model/Fianet/Order/Optionpayment.php +3 -3
  36. app/code/community/Fianet/Core/Model/Fianet/Order/Payment.php +15 -5
  37. app/code/community/Fianet/Core/Model/Fianet/Order/User/Base.php +3 -3
  38. app/code/community/Fianet/Core/Model/Fianet/Order/User/Billing.php +3 -3
  39. app/code/community/Fianet/Core/Model/Fianet/Order/User/Delivery.php +3 -3
  40. app/code/community/Fianet/Core/Model/Fianet/Order/User/Siteconso.php +3 -3
  41. app/code/community/Fianet/Core/Model/Fianet/Order/Wallet.php +3 -3
  42. app/code/community/Fianet/Core/Model/Fianet/Paramcallback/Builder.php +3 -3
  43. app/code/community/Fianet/Core/Model/Fianet/Paramcallback/Element.php +3 -3
  44. app/code/community/Fianet/Core/Model/Fianet/Parser.php +63 -4
  45. app/code/community/Fianet/Core/Model/Fianet/Sender.php +51 -19
  46. app/code/community/Fianet/Core/Model/Functions.php +5 -4
  47. app/code/community/Fianet/Core/Model/Log.php +3 -3
  48. app/code/community/Fianet/Core/Model/MageConfiguration.php +3 -3
  49. app/code/community/Fianet/Core/Model/Mysql4/Abstract.php +3 -3
  50. app/code/community/Fianet/Core/Model/Mysql4/Catproduct/Association.php +3 -3
  51. app/code/community/Fianet/Core/Model/Mysql4/Catproduct/Association/Collection.php +3 -3
  52. app/code/community/Fianet/Core/Model/Mysql4/Configuration.php +3 -3
  53. app/code/community/Fianet/Core/Model/Mysql4/Configuration/Collection.php +3 -3
  54. app/code/community/Fianet/Core/Model/Mysql4/Configuration/Global.php +3 -3
  55. app/code/community/Fianet/Core/Model/Mysql4/Configuration/Value.php +3 -3
  56. app/code/community/Fianet/Core/Model/Mysql4/Configuration/Value/Collection.php +3 -3
  57. app/code/community/Fianet/Core/Model/Mysql4/Log.php +3 -3
  58. app/code/community/Fianet/Core/Model/Mysql4/Log/Collection.php +3 -3
  59. app/code/community/Fianet/Core/Model/Mysql4/Scope/Abstract.php +3 -3
  60. app/code/community/Fianet/Core/Model/Mysql4/Setup.php +3 -3
  61. app/code/community/Fianet/Core/Model/Mysql4/Shipping/Association.php +3 -3
  62. app/code/community/Fianet/Core/Model/Mysql4/Shipping/Association/Collection.php +3 -3
  63. app/code/community/Fianet/Core/Model/Mysql4/Store/Information.php +24 -0
  64. app/code/community/Fianet/Core/Model/Mysql4/Store/Information/Collection.php +25 -0
  65. app/code/community/Fianet/Core/Model/Product.php +3 -3
  66. app/code/community/Fianet/Core/Model/Scope/Abstract.php +3 -3
  67. app/code/community/Fianet/Core/Model/Shipping/Association.php +3 -3
  68. app/code/community/Fianet/Core/Model/Source/Charset.php +3 -3
  69. app/code/community/Fianet/Core/Model/Source/Crypt.php +3 -3
  70. app/code/community/Fianet/Core/Model/Source/DeliveryTimes.php +3 -3
  71. app/code/community/Fianet/Core/Model/Source/Mode.php +3 -3
  72. app/code/community/Fianet/Core/Model/Source/PaymentType.php +0 -31
  73. app/code/community/Fianet/Core/Model/Source/ProductType.php +3 -3
  74. app/code/community/Fianet/Core/Model/Source/ShippingType.php +3 -3
  75. app/code/community/Fianet/Core/Model/Store/Information.php +25 -0
  76. app/code/community/Fianet/Core/controllers/Adminhtml/Category/ProductTypeController.php +5 -5
  77. app/code/community/Fianet/Core/controllers/Adminhtml/ConfigurationController.php +5 -5
  78. app/code/community/Fianet/Core/controllers/Adminhtml/LogController.php +3 -3
  79. app/code/community/Fianet/Core/controllers/Adminhtml/OrderController.php +9 -7
  80. app/code/community/Fianet/Core/controllers/Adminhtml/ShippingController.php +31 -17
  81. app/code/community/Fianet/Core/etc/adminhtml.xml +3 -3
  82. app/code/community/Fianet/Core/etc/config.xml +7 -4
  83. app/code/community/Fianet/Core/sql/fianet_setup/mysql4-install-0.2.1.php +3 -3
  84. app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-0.2.1-0.2.2.php +3 -3
  85. app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-0.2.2-0.5.7.php +3 -3
  86. app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-0.9.0-1.0.0.php +3 -3
  87. app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-1.0.4-1.0.5.php +36 -0
  88. app/design/adminhtml/default/default/layout/fianet.xml +3 -3
  89. app/design/adminhtml/default/default/template/fianet/common/categoriestree.phtml +3 -3
  90. app/design/adminhtml/default/default/template/fianet/common/categorytreeformcontenair.phtml +3 -3
  91. app/design/adminhtml/default/default/template/fianet/common/catproduct.phtml +3 -3
  92. app/design/adminhtml/default/default/template/fianet/common/shipping.phtml +13 -5
  93. app/design/adminhtml/default/default/template/fianet/common/storeswitcher.phtml +3 -3
  94. app/design/adminhtml/default/default/template/fianet/common/test.php +0 -77
  95. app/etc/modules/Fianet_Core.xml +4 -4
  96. app/locale/fr_FR/Fianet_Core.csv +10 -2
  97. package.xml +5 -5
app/code/community/Fianet/Core/Block/Adminhtml/Category/ProductType/Edit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Category_ProductType_Edit extends Mage_Adminhtml_Block_Widget_Form_Container {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Category_ProductType_Edit extends Mage_Adminhtml_Block_Widget_Form_Container {
app/code/community/Fianet/Core/Block/Adminhtml/Category/ProductType/Edit/Form.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Category_ProductType_Edit_Form extends Mage_Adminhtml_Block_Widget_Form {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Category_ProductType_Edit_Form extends Mage_Adminhtml_Block_Widget_Form {
app/code/community/Fianet/Core/Block/Adminhtml/Configuration.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration extends Mage_Adminhtml_Block_Widget_Form_Container {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration extends Mage_Adminhtml_Block_Widget_Form_Container {
app/code/community/Fianet/Core/Block/Adminhtml/Configuration/Content.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration_Content extends Mage_Adminhtml_Block_Widget_Form {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration_Content extends Mage_Adminhtml_Block_Widget_Form {
app/code/community/Fianet/Core/Block/Adminhtml/Configuration/Edit/Form.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration_Edit_Form extends Mage_Adminhtml_Block_Widget_Form {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration_Edit_Form extends Mage_Adminhtml_Block_Widget_Form {
app/code/community/Fianet/Core/Block/Adminhtml/Configuration/Tab.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration_Tab extends Mage_Adminhtml_Block_Widget_Tabs {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Configuration_Tab extends Mage_Adminhtml_Block_Widget_Tabs {
app/code/community/Fianet/Core/Block/Adminhtml/Fianetadmin.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_FianetAdmin extends Mage_Adminhtml_Block_Template {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_FianetAdmin extends Mage_Adminhtml_Block_Template {
app/code/community/Fianet/Core/Block/Adminhtml/Fianetadmingrid.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Fianetadmingrid extends Mage_Adminhtml_Block_Widget_Grid_Container {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Fianetadmingrid extends Mage_Adminhtml_Block_Widget_Grid_Container {
app/code/community/Fianet/Core/Block/Adminhtml/Log/Grid.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Log_Grid extends Mage_Adminhtml_Block_Widget_Grid {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Log_Grid extends Mage_Adminhtml_Block_Widget_Grid {
app/code/community/Fianet/Core/Block/Adminhtml/Sales/Order/Grid.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Sales_Order_Grid extends Mage_Adminhtml_Block_Sales_Order_Grid {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Sales_Order_Grid extends Mage_Adminhtml_Block_Sales_Order_Grid {
app/code/community/Fianet/Core/Block/Adminhtml/Store/Switcher.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Store_Switcher extends Mage_Adminhtml_Block_Template {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Store_Switcher extends Mage_Adminhtml_Block_Template {
app/code/community/Fianet/Core/Block/Adminhtml/Tree/Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Tree_Abstract extends Mage_Adminhtml_Block_Catalog_Category_Tree {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Tree_Abstract extends Mage_Adminhtml_Block_Catalog_Category_Tree {
app/code/community/Fianet/Core/Block/Adminhtml/Tree/ProductType.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Tree_ProductType extends Fianet_Core_Block_Adminhtml_Tree_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Tree_ProductType extends Fianet_Core_Block_Adminhtml_Tree_Abstract {
app/code/community/Fianet/Core/Block/Adminhtml/Tree/Products.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Tree_Products extends Fianet_Core_Block_Adminhtml_Tree_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Tree_Products extends Fianet_Core_Block_Adminhtml_Tree_Abstract {
app/code/community/Fianet/Core/Block/Adminhtml/Widget/Grid/Column/Filter/Fianet.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Widget_Grid_Column_Filter_Fianet extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Widget_Grid_Column_Filter_Fianet extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Abstract {
app/code/community/Fianet/Core/Block/Adminhtml/Widget/Grid/Column/Renderer/Fianet.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Widget_Grid_Column_Renderer_Fianet extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
@@ -43,84 +43,88 @@ class Fianet_Core_Block_Adminhtml_Widget_Grid_Column_Renderer_Fianet extends Mag
43
  $reevaluation = $row->getFianetSacReevaluation();
44
  $statutCoEx = $row->getFianetSacStatutcoex();
45
  $mode = $row->getFianetSacMode();
 
46
  $html = '';
47
  $icon = '';
48
  $textCoEx = '';
49
  $iconCoEx = '';
50
 
51
- switch ($evaluation) {
52
- case('error'):
53
- $icon = 'attention.gif';
54
- $alt = Mage::helper('fianet')->__('Error on transaction');
55
- break;
56
- case('100'):
57
- $icon = 'rond_vert.gif';
58
- $alt = Mage::helper('fianet')->__('Click for details');
59
- break;
60
- case('-1'):
61
- $icon = 'rond_vertclair.gif';
62
- $alt = Mage::helper('fianet')->__('Click for details');
63
- break;
64
- case('0'):
65
- $icon = 'rond_rouge.gif';
66
- $alt = Mage::helper('fianet')->__('Click for details');
67
- break;
68
- default:
69
- $icon = 'fianet_SAC_icon.gif';
70
- $alt = Mage::helper('fianet')->__('Evaluation in progress...');
71
- break;
72
- }
73
- if ($statutCoEx == 'waiting') {
74
- $icon = "rond_orange.gif";
75
- $alt = Mage::helper('fianet')->__('Evaluation in progress...');
76
- $textCoEx = "Analyse Expert en cours, &eacute;valuation prochainement disponible";
77
- }
78
- switch ($reevaluation) {
79
- case('100'):
80
- $icon = 'rond_vert.gif';
81
- $alt = Mage::helper('fianet')->__('Click for details');
82
- break;
83
- case('-1'):
84
- $icon = 'rond_vertclair.gif';
85
- $alt = Mage::helper('fianet')->__('Click for details');
86
- break;
87
- case('0'):
88
- $icon = 'rond_rouge.gif';
89
- $alt = Mage::helper('fianet')->__('Click for details');
90
- break;
91
- }
 
 
 
92
 
93
- $url = Mage::getStoreConfig('sac/saclink/testurl', '0');
94
- if ($mode == 'PRODUCTION') {
95
- $url = Mage::getStoreConfig('sac/saclink/produrl', '0');
96
- }
97
 
98
- $url .= Mage::getStoreConfig('sac/saclink/interface', '0');
99
- $order = Mage::getModel('sales/order')->loadByIncrementId($row->IncrementId);
100
- $id = $order->getStore()->getId();
101
 
102
- $siteId = Mage::getStoreConfig('sac/sacconfg/siteid', $id);
103
- if ($siteId == null && $id > 0)
104
- $siteId = Mage::getStoreConfig('sac/sacconfg/siteid', '0');
105
 
106
- $login = Mage::getStoreConfig('sac/sacconfg/compte', $id);
107
- if ($login == null && $id > 0)
108
- $login = Mage::getStoreConfig('sac/sacconfg/compte', '0');
109
 
110
- $password = Mage::getStoreConfig('sac/sacconfg/password', $id);
111
- if ($password == null && $id > 0)
112
- $password = Mage::getStoreConfig('sac/sacconfg/password', '0');
113
 
114
- $url .= '?sid=' . $siteId . '&log=' . $login . '&pwd=' . urlencode($password) . '&rid=' . $row->getIncrementId();
115
- $js = 'onclick="javascript: window.open(\'' . $url . '\',\'fianet\',\'toolbar=no, location=no, directories=no, status=no,scrollbars=yes, resizable=yes, copyhistory=no, width=900, height=800, left=200, top=100\'); return false;"';
116
- $html .= '<a href="#" ' . $js . ' style="text-decoration: none;"><img src="' . $this->getSkinUrl('images/fianet/' . $icon) . '" alt="' . $alt . '"></a>';
117
- if($textCoEx) {
118
- $html .= '<br><font size="1">'.$textCoEx.'</font>';
119
- }
120
- if ($mode == 'TEST') {
121
- $html .= '<br />TEST';
 
122
  }
123
-
124
  return ($html);
125
  }
126
 
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Block_Adminhtml_Widget_Grid_Column_Renderer_Fianet extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
43
  $reevaluation = $row->getFianetSacReevaluation();
44
  $statutCoEx = $row->getFianetSacStatutcoex();
45
  $mode = $row->getFianetSacMode();
46
+ $franfinancePayment = $row->getFianetSacFranfinance();
47
  $html = '';
48
  $icon = '';
49
  $textCoEx = '';
50
  $iconCoEx = '';
51
 
52
+ if ($franfinancePayment == '1') {
53
+ $html = "TRANSACTION FRANFINANCE";
54
+ } else {
55
+ switch ($evaluation) {
56
+ case('error'):
57
+ $icon = 'attention.gif';
58
+ $alt = Mage::helper('fianet')->__('Error on transaction');
59
+ break;
60
+ case('100'):
61
+ $icon = 'rond_vert.gif';
62
+ $alt = Mage::helper('fianet')->__('Click for details');
63
+ break;
64
+ case('-1'):
65
+ $icon = 'rond_vertclair.gif';
66
+ $alt = Mage::helper('fianet')->__('Click for details');
67
+ break;
68
+ case('0'):
69
+ $icon = 'rond_rouge.gif';
70
+ $alt = Mage::helper('fianet')->__('Click for details');
71
+ break;
72
+ default:
73
+ $icon = 'fianet_SAC_icon.gif';
74
+ $alt = Mage::helper('fianet')->__('Evaluation in progress...');
75
+ break;
76
+ }
77
+ if ($statutCoEx == 'waiting') {
78
+ $icon = "rond_orange.gif";
79
+ $alt = Mage::helper('fianet')->__('Evaluation in progress...');
80
+ $textCoEx = "Analyse Expert en cours, &eacute;valuation prochainement disponible";
81
+ }
82
+ switch ($reevaluation) {
83
+ case('100'):
84
+ $icon = 'rond_vert.gif';
85
+ $alt = Mage::helper('fianet')->__('Click for details');
86
+ break;
87
+ case('-1'):
88
+ $icon = 'rond_vertclair.gif';
89
+ $alt = Mage::helper('fianet')->__('Click for details');
90
+ break;
91
+ case('0'):
92
+ $icon = 'rond_rouge.gif';
93
+ $alt = Mage::helper('fianet')->__('Click for details');
94
+ break;
95
+ }
96
 
97
+ $url = Mage::getStoreConfig('sac/saclink/testurl', '0');
98
+ if ($mode == 'PRODUCTION') {
99
+ $url = Mage::getStoreConfig('sac/saclink/produrl', '0');
100
+ }
101
 
102
+ $url .= Mage::getStoreConfig('sac/saclink/interface', '0');
103
+ $order = Mage::getModel('sales/order')->loadByIncrementId($row->IncrementId);
104
+ $id = $order->getStore()->getId();
105
 
106
+ $siteId = Mage::getStoreConfig('sac/sacconfg/siteid', $id);
107
+ if ($siteId == null && $id > 0)
108
+ $siteId = Mage::getStoreConfig('sac/sacconfg/siteid', '0');
109
 
110
+ $login = Mage::getStoreConfig('sac/sacconfg/compte', $id);
111
+ if ($login == null && $id > 0)
112
+ $login = Mage::getStoreConfig('sac/sacconfg/compte', '0');
113
 
114
+ $password = Mage::getStoreConfig('sac/sacconfg/password', $id);
115
+ if ($password == null && $id > 0)
116
+ $password = Mage::getStoreConfig('sac/sacconfg/password', '0');
117
 
118
+ $url .= '?sid=' . $siteId . '&log=' . $login . '&pwd=' . urlencode($password) . '&rid=' . $row->getIncrementId();
119
+ $js = 'onclick="javascript: window.open(\'' . $url . '\',\'fianet\',\'toolbar=no, location=no, directories=no, status=no,scrollbars=yes, resizable=yes, copyhistory=no, width=900, height=800, left=200, top=100\'); return false;"';
120
+ $html .= '<a href="#" ' . $js . ' style="text-decoration: none;"><img src="' . $this->getSkinUrl('images/fianet/' . $icon) . '" alt="' . $alt . '"></a>';
121
+ if($textCoEx) {
122
+ $html .= '<br><font size="1">'.$textCoEx.'</font>';
123
+ }
124
+ if ($mode == 'TEST') {
125
+ $html .= '<br />TEST';
126
+ }
127
  }
 
128
  return ($html);
129
  }
130
 
app/code/community/Fianet/Core/Controller/Tree/Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  interface IFianetTree {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  interface IFianetTree {
app/code/community/Fianet/Core/Controller/Tree/ProductType.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Controller_Tree_ProductType extends Fianet_Core_Controller_Tree_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Controller_Tree_ProductType extends Fianet_Core_Controller_Tree_Abstract {
app/code/community/Fianet/Core/Helper/Data.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Helper_Data extends Mage_Core_Helper_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Helper_Data extends Mage_Core_Helper_Abstract {
app/code/community/Fianet/Core/Model/Carrier/Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Carrier_Abstract extends Mage_Shipping_Model_Carrier_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Carrier_Abstract extends Mage_Shipping_Model_Carrier_Abstract {
app/code/community/Fianet/Core/Model/Catproduct/Association.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Catproduct_Association extends Mage_Core_Model_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Catproduct_Association extends Mage_Core_Model_Abstract {
app/code/community/Fianet/Core/Model/Configuration.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Configuration extends Mage_Core_Model_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Configuration extends Mage_Core_Model_Abstract {
app/code/community/Fianet/Core/Model/Configuration/Global.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Configuration_Global extends Mage_Core_Model_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Configuration_Global extends Mage_Core_Model_Abstract {
app/code/community/Fianet/Core/Model/Configuration/Value.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Configuration_Value extends Fianet_Core_Model_Scope_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Configuration_Value extends Fianet_Core_Model_Scope_Abstract {
app/code/community/Fianet/Core/Model/Fianet/EncodingKey.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_EncodingKey {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_EncodingKey {
app/code/community/Fianet/Core/Model/Fianet/Hash32bits.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  /*
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  /*
app/code/community/Fianet/Core/Model/Fianet/Hash64bits.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  /*
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  /*
app/code/community/Fianet/Core/Model/Fianet/Order/Address/Base.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/Address/Billing.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Billing extends Fianet_Core_Model_Fianet_Order_Address_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Billing extends Fianet_Core_Model_Fianet_Order_Address_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/Address/Delivery.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Delivery extends Fianet_Core_Model_Fianet_Order_Address_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Delivery extends Fianet_Core_Model_Fianet_Order_Address_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/Address/Transport.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Transport extends Fianet_Core_Model_Fianet_Order_Address_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Address_Transport extends Fianet_Core_Model_Fianet_Order_Address_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/Info/Productlist.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Info_Productlist {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Info_Productlist {
app/code/community/Fianet/Core/Model/Fianet/Order/Info/Productlist/Product.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Info_Productlist_Product {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Info_Productlist_Product {
app/code/community/Fianet/Core/Model/Fianet/Order/Info/Transport.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Info_Transport {
@@ -40,18 +40,20 @@ class Fianet_Core_Model_Fianet_Order_Info_Transport {
40
  $xml .= "\t\t\t" . '<nom><![CDATA[' . Mage::getModel('fianet/functions')->cleanInvalidChar($this->nom) . ']]></nom>' . "\n";
41
  $xml .= "\t\t\t" . '<rapidite><![CDATA[' . $this->rapidite . ']]></rapidite>' . "\n";
42
 
43
- if($this->identifiant != null)
44
- $xml .= "\t\t\t" . '<identifiant><![CDATA[' . $this->identifiant . ']]></identifiant>' . "\n";
45
-
46
- if($this->enseigne != null)
47
- $xml .= "\t\t\t" . '<enseigne><![CDATA[' . $this->enseigne . ']]></enseigne>' . "\n";
48
-
49
- if($this->adresse != null) {
 
50
  if ($this->adresse instanceof Fianet_Core_Model_Fianet_Order_Address_Transport) {
51
  $xml .= $this->adresse->getXml();
52
  } else {
53
  Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\Transport address is not an object of type Mage_Sac_Order_Address_Transport."));
54
  }
 
55
  }
56
  $xml .= "\t\t" . '</transport>' . "\n";
57
  return ($xml);
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Info_Transport {
40
  $xml .= "\t\t\t" . '<nom><![CDATA[' . Mage::getModel('fianet/functions')->cleanInvalidChar($this->nom) . ']]></nom>' . "\n";
41
  $xml .= "\t\t\t" . '<rapidite><![CDATA[' . $this->rapidite . ']]></rapidite>' . "\n";
42
 
43
+ if ($this->adresse != null) {
44
+ $xml .= "\t\t\t" . '<pointrelais>' . "\n";
45
+ if ($this->identifiant != null)
46
+ $xml .= "\t\t\t\t" . '<identifiant><![CDATA[' . $this->identifiant . ']]></identifiant>' . "\n";
47
+
48
+ if ($this->enseigne != null)
49
+ $xml .= "\t\t\t\t" . '<enseigne><![CDATA[' . $this->enseigne . ']]></enseigne>' . "\n";
50
+
51
  if ($this->adresse instanceof Fianet_Core_Model_Fianet_Order_Address_Transport) {
52
  $xml .= $this->adresse->getXml();
53
  } else {
54
  Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__("Mage_Sac_Model_Fianet_Order_Sac::getXml() <br />\Transport address is not an object of type Mage_Sac_Order_Address_Transport."));
55
  }
56
+ $xml .= "\t\t\t" . '</pointrelais>' . "\n";
57
  }
58
  $xml .= "\t\t" . '</transport>' . "\n";
59
  return ($xml);
app/code/community/Fianet/Core/Model/Fianet/Order/Optionpayment.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Optionpayment {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Optionpayment {
app/code/community/Fianet/Core/Model/Fianet/Order/Payment.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,18 +11,21 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Payment {
19
 
 
20
  public $type;
21
  public $numcb;
22
  public $dateval;
23
  public $bin;
24
  public $bin4;
25
  public $bin42;
 
 
26
 
27
  public function __construct($order = null) {
28
 
@@ -44,8 +47,8 @@ class Fianet_Core_Model_Fianet_Order_Payment {
44
  public function getXml() {
45
  $xml = '';
46
  if ($this->type != null) {
47
- $xml .= "\t" . '<paiement>' . "\n";
48
-
49
  $xml .= "\t\t" . '<type><![CDATA[' . $this->type . ']]></type>' . "\n";
50
  if ($this->type == 'carte' || $this->type == 'paypal') {
51
  if ($this->numcb != null) {
@@ -64,6 +67,13 @@ class Fianet_Core_Model_Fianet_Order_Payment {
64
  $xml .= "\t\t" . '<bin42><![CDATA[' . $this->bin42 . ']]></bin42>' . "\n";
65
  }
66
  }
 
 
 
 
 
 
 
67
  $xml .= "\t" . '</paiement>' . "\n";
68
  } else {
69
  Mage::throwException("Mage_Fianet_Model_Fianet_Order_Payment::getXml() - Type is undefined");
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Payment {
19
 
20
+ public $auth;
21
  public $type;
22
  public $numcb;
23
  public $dateval;
24
  public $bin;
25
  public $bin4;
26
  public $bin42;
27
+ public $nom;
28
+ public $fraction;
29
 
30
  public function __construct($order = null) {
31
 
47
  public function getXml() {
48
  $xml = '';
49
  if ($this->type != null) {
50
+ //$xml .= "\t" . '<paiement auth="' . $this->auth . '">' . "\n";
51
+ $xml .= "\t" . '<paiement>' . "\n";
52
  $xml .= "\t\t" . '<type><![CDATA[' . $this->type . ']]></type>' . "\n";
53
  if ($this->type == 'carte' || $this->type == 'paypal') {
54
  if ($this->numcb != null) {
67
  $xml .= "\t\t" . '<bin42><![CDATA[' . $this->bin42 . ']]></bin42>' . "\n";
68
  }
69
  }
70
+ if ($this->nom != null) {
71
+ $xml .= "\t\t" . '<nom><![CDATA[' . $this->nom . ']]></nom>' . "\n";
72
+ }
73
+ if ($this->fraction != null) {
74
+ $xml .= "\t\t" . '<fraction nb="' . $this->fraction . '" />' . "\n";
75
+ }
76
+
77
  $xml .= "\t" . '</paiement>' . "\n";
78
  } else {
79
  Mage::throwException("Mage_Fianet_Model_Fianet_Order_Payment::getXml() - Type is undefined");
app/code/community/Fianet/Core/Model/Fianet/Order/User/Base.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/User/Billing.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Billing extends Fianet_Core_Model_Fianet_Order_User_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Billing extends Fianet_Core_Model_Fianet_Order_User_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/User/Delivery.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Delivery extends Fianet_Core_Model_Fianet_Order_User_Base {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Delivery extends Fianet_Core_Model_Fianet_Order_User_Base {
app/code/community/Fianet/Core/Model/Fianet/Order/User/Siteconso.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Siteconso {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_User_Siteconso {
app/code/community/Fianet/Core/Model/Fianet/Order/Wallet.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Wallet {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Order_Wallet {
app/code/community/Fianet/Core/Model/Fianet/Paramcallback/Builder.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Paramcallback_Builder {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Paramcallback_Builder {
app/code/community/Fianet/Core/Model/Fianet/Paramcallback/Element.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Paramcallback_Element {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Paramcallback_Element {
app/code/community/Fianet/Core/Model/Fianet/Parser.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,12 +11,72 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Parser {
 
 
 
 
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  public function processResult($xmlArray) {
21
  $evaluations = array();
22
  if (isset($xmlArray['stack']['result'][0])) {
@@ -148,5 +208,4 @@ class Fianet_Core_Model_Fianet_Parser {
148
 
149
  return ($eval);
150
  }
151
-
152
  }
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Parser {
19
+ public function parseSceauReturn($order, $response) {
20
+ $attribut_sceau_error = 'fianet_sceau_order_sent_error';
21
+ if ($response->isSuccessful()) {
22
+ $xml = $response->getBody();
23
 
24
+ $simplexml = new Varien_Simplexml_Config($xml);
25
+ if ($simplexml->getNode()->getAttribute('type') == 'OK') {
26
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Sceau: order #%s sent.', $order->getIncrementId()));
27
+ $order->setData($attribut_sceau_error, '0');
28
+ return true;
29
+ }
30
+ }
31
+ if ($simplexml->getNode()->detail == '') {
32
+ $order->setData($attribut_sceau_error, '1');
33
+ $ret = "erreur de flux";
34
+ } else
35
+ $ret = $simplexml->getNode()->detail;
36
+
37
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Sceau: order #%s sending error : %s.', $order->getIncrementId(), $ret));
38
+ Mage::getSingleton('adminhtml/session')->addError('FIA-NET Sceau sending error : ' . $ret);
39
+
40
+ return false;
41
+ }
42
+
43
+ public function parseXMLAvis($xml_data) {
44
+ $result = array();
45
+ $xml_data = str_replace('&', 'et', $xml_data);
46
+
47
+ $XMLArray = Mage::getModel('fianet/functions')->xml2array($xml_data);
48
+ if ($XMLArray['listeavis']['attr']['nbr'] >= 2) {
49
+ foreach ($XMLArray['listeavis']['avis'] as $transaction_result) {
50
+ $index = count($result);
51
+ $result[$index]['id'] = $transaction_result['id']['value'];
52
+ $result[$index]['date'] = $transaction_result['date']['value'];
53
+ $result[$index]['note'] = $transaction_result['note']['value'];
54
+ $result[$index]['commentaire'] = $transaction_result['commentaire']['value'];
55
+ $result[$index]['noteglobale'] = $transaction_result['noteglobale']['value'];
56
+ $result[$index]['nbravis'] = $transaction_result['nbravis']['value'];
57
+ $result[$index]['produitlibelle'] = $transaction_result['produitlibelle']['value'];
58
+ $result[$index]['produitid'] = $transaction_result['produitid']['value'];
59
+ $result[$index]['produitcodeean'] = $transaction_result['produitcodeean']['value'];
60
+ $result[$index]['prenom'] = $transaction_result['prenom']['value'];
61
+ $result[$index]['nom'] = $transaction_result['nom']['value'];
62
+ }
63
+ } else {
64
+ $index = count($result);
65
+ $result[$index]['id'] = $XMLArray['listeavis']['avis']['id']['value'];
66
+ $result[$index]['date'] = $XMLArray['listeavis']['avis']['date']['value'];
67
+ $result[$index]['note'] = $XMLArray['listeavis']['avis']['note']['value'];
68
+ $result[$index]['commentaire'] = $XMLArray['listeavis']['avis']['commentaire']['value'];
69
+ $result[$index]['noteglobale'] = $XMLArray['listeavis']['avis']['noteglobale']['value'];
70
+ $result[$index]['nbravis'] = $XMLArray['listeavis']['avis']['nbravis']['value'];
71
+ $result[$index]['produitlibelle'] = $XMLArray['listeavis']['avis']['produitlibelle']['value'];
72
+ $result[$index]['produitid'] = $XMLArray['listeavis']['avis']['produitid']['value'];
73
+ $result[$index]['produitcodeean'] = $XMLArray['listeavis']['avis']['produitcodeean']['value'];
74
+ $result[$index]['prenom'] = $XMLArray['listeavis']['avis']['prenom']['value'];
75
+ $result[$index]['nom'] = $XMLArray['listeavis']['avis']['nom']['value'];
76
+ }
77
+ return ($result);
78
+ }
79
+
80
  public function processResult($xmlArray) {
81
  $evaluations = array();
82
  if (isset($xmlArray['stack']['result'][0])) {
208
 
209
  return ($eval);
210
  }
 
211
  }
app/code/community/Fianet/Core/Model/Fianet/Sender.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Sender {
@@ -56,30 +56,34 @@ class Fianet_Core_Model_Fianet_Sender {
56
  foreach ($websiteCollection as $website) {
57
  $groupCollection = $website->getGroupCollection();
58
  foreach ($groupCollection as $group) {
59
- $id = $group->getId();
60
- $index = count($sites);
61
- $sites[$index]['siteid'] = Mage::getStoreConfig('sac/sacconfg/siteid', $id);
 
 
 
62
 
63
- if ($sites[$index]['siteid'] == null && $id > 0)
64
- $sites[$index]['siteid'] = Mage::getStoreConfig('sac/sacconfg/siteid', '0');
65
 
66
- $sites[$index]['password'] = Mage::getStoreConfig('sac/sacconfg/password', $id);
67
 
68
- if ($sites[$index]['password'] == null && $id > 0)
69
- $sites[$index]['password'] = Mage::getStoreConfig('sac/sacconfg/password', '0');
70
 
71
- $sites[$index]['mode'] = Mage::getStoreConfig('sac/sacconfg/mode', $id);
72
 
73
- if ($sites[$index]['mode'] == null && $id > 0)
74
- $sites[$index]['mode'] = Mage::getStoreConfig('sac/sacconfg/mode', '0');
75
 
76
- if ($sites[$index]['siteid'] === NULL || $sites[$index]['password'] === NULL) {
77
- unset($sites[$index]);
78
- }
 
79
  }
80
  }
 
81
  $reevaluations = array();
82
-
83
  foreach ($sites as $infos) {
84
  $url = $this->buildUrl('alert', $infos['siteid'], $infos['mode']);
85
  $params = array(
@@ -135,7 +139,6 @@ class Fianet_Core_Model_Fianet_Sender {
135
  }
136
 
137
  public function getEvaluations(array $order_list) {
138
-
139
  $evaluations = array();
140
  foreach ($order_list as $site_id => $infos) {
141
  $order_list_by_stack = array_chunk($infos['orders'], 50, true);
@@ -256,5 +259,34 @@ class Fianet_Core_Model_Fianet_Sender {
256
 
257
  return ($mode);
258
  }
 
 
 
 
 
 
 
 
 
 
 
259
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  }
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Fianet_Sender {
56
  foreach ($websiteCollection as $website) {
57
  $groupCollection = $website->getGroupCollection();
58
  foreach ($groupCollection as $group) {
59
+ $storeCollection = $group->getStoreCollection();
60
+ foreach ($storeCollection as $store) {
61
+ $id = $store->getId();
62
+
63
+ $index = count($sites);
64
+ $sites[$index]['siteid'] = Mage::getStoreConfig('sac/sacconfg/siteid', $id);
65
 
66
+ if ($sites[$index]['siteid'] == null && $id > 0)
67
+ $sites[$index]['siteid'] = Mage::getStoreConfig('sac/sacconfg/siteid', '0');
68
 
69
+ $sites[$index]['password'] = Mage::getStoreConfig('sac/sacconfg/password', $id);
70
 
71
+ if ($sites[$index]['password'] == null && $id > 0)
72
+ $sites[$index]['password'] = Mage::getStoreConfig('sac/sacconfg/password', '0');
73
 
74
+ $sites[$index]['mode'] = Mage::getStoreConfig('sac/sacconfg/mode', $id);
75
 
76
+ if ($sites[$index]['mode'] == null && $id > 0)
77
+ $sites[$index]['mode'] = Mage::getStoreConfig('sac/sacconfg/mode', '0');
78
 
79
+ if ($sites[$index]['siteid'] === NULL || $sites[$index]['password'] === NULL) {
80
+ unset($sites[$index]);
81
+ }
82
+ }
83
  }
84
  }
85
+
86
  $reevaluations = array();
 
87
  foreach ($sites as $infos) {
88
  $url = $this->buildUrl('alert', $infos['siteid'], $infos['mode']);
89
  $params = array(
139
  }
140
 
141
  public function getEvaluations(array $order_list) {
 
142
  $evaluations = array();
143
  foreach ($order_list as $site_id => $infos) {
144
  $order_list_by_stack = array_chunk($infos['orders'], 50, true);
259
 
260
  return ($mode);
261
  }
262
+
263
+ public function sendToSceau($order, $flux) {
264
+ $siteID = Mage::Helper('fianet_sceau/Data')->getSiteID($order);
265
+ $url = Mage::Helper('fianet_sceau/Data')->getFianetUrl($order);
266
+
267
+ $config = array('maxredirects' => 0,
268
+ 'timeout' => 5);
269
+
270
+ $params = array('SiteID' => $siteID,
271
+ 'CheckSum' => md5($flux),
272
+ 'XMLInfo' => $flux);
273
 
274
+ Mage::dispatchEvent('Fianet_Sceau_Before_Send_Order', array('order' => $order, 'url' => $url, 'flux' => $flux));
275
+
276
+ try {
277
+ $client = new Zend_Http_Client($url, $config);
278
+ $client->setMethod(Zend_Http_Client::POST);
279
+ $client->setParameterPost($params);
280
+ $response = $client->request();
281
+
282
+ Mage::dispatchEvent('Fianet_Sceau_After_Send_Order', array('order' => $order, 'response' => $response));
283
+
284
+ //parser reponse
285
+ $result = Mage::getModel('fianet/fianet_parser')->parseSceauReturn($order, $response);
286
+ return $result;
287
+ } catch (Exception $e) {
288
+ Mage::getModel('fianet/log')->Log(Mage::helper('fianet')->__('Sceau: order #%s sending error : %s.', $order->getIncrementId(), $e->getMessage()));
289
+ Mage::getSingleton('adminhtml/session')->addError('FIA-NET Sceau sending error : ' . $e->getMessage());
290
+ }
291
+ }
292
  }
app/code/community/Fianet/Core/Model/Functions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Functions {
@@ -102,11 +102,12 @@ class Fianet_Core_Model_Functions {
102
  public static function xml2array($contents, $getAttributes = 1) {
103
  if (!$contents)
104
  return array();
105
-
106
  if (!function_exists('xml_parser_create')) {
107
  //print "'xml_parser_create()' function not found!";
108
  return array();
109
  }
 
110
  //Get the XML parser of PHP - PHP must have this module for the parser to work
111
  $xmlValues = null;
112
  $parser = xml_parser_create();
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Functions {
102
  public static function xml2array($contents, $getAttributes = 1) {
103
  if (!$contents)
104
  return array();
105
+
106
  if (!function_exists('xml_parser_create')) {
107
  //print "'xml_parser_create()' function not found!";
108
  return array();
109
  }
110
+
111
  //Get the XML parser of PHP - PHP must have this module for the parser to work
112
  $xmlValues = null;
113
  $parser = xml_parser_create();
app/code/community/Fianet/Core/Model/Log.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Log extends Mage_Core_Model_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Log extends Mage_Core_Model_Abstract {
app/code/community/Fianet/Core/Model/MageConfiguration.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_MageConfiguration extends Mage_Adminhtml_Model_Config {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_MageConfiguration extends Mage_Adminhtml_Model_Config {
app/code/community/Fianet/Core/Model/Mysql4/Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  abstract class Fianet_Core_Model_Mysql4_Abstract extends Mage_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  abstract class Fianet_Core_Model_Mysql4_Abstract extends Mage_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Catproduct/Association.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Catproduct_Association extends Mage_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Catproduct_Association extends Mage_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Catproduct/Association/Collection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Catproduct_association_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Catproduct_association_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Configuration.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration extends Mage_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration extends Mage_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Configuration/Collection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Configuration/Global.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Global extends Fianet_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Global extends Fianet_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Configuration/Value.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Value extends Fianet_Core_Model_Mysql4_Scope_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Value extends Fianet_Core_Model_Mysql4_Scope_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Configuration/Value/Collection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Value_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Configuration_Value_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Log.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Log extends Mage_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Log extends Mage_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Log/Collection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Log_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Log_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Scope/Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Scope_Abstract extends Mage_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Scope_Abstract extends Mage_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Setup.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Setup extends Mage_Eav_Model_Entity_Setup {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Setup extends Mage_Eav_Model_Entity_Setup {
app/code/community/Fianet/Core/Model/Mysql4/Shipping/Association.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Shipping_Association extends Fianet_Core_Model_Mysql4_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Shipping_Association extends Fianet_Core_Model_Mysql4_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Shipping/Association/Collection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Shipping_Association_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Mysql4_Shipping_Association_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
app/code/community/Fianet/Core/Model/Mysql4/Store/Information.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * 2000-2014 FIA-NET
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0) that is available
9
+ * through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
10
+ * If you are unable to obtain it through the world-wide-web, please contact us
11
+ * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
+ *
13
+ * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
+ * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
+ */
18
+ class Fianet_Core_Model_Mysql4_Store_Information extends Mage_Core_Model_Mysql4_Abstract {
19
+
20
+ protected function _construct() {
21
+ $this->_init('fianet/store_information', 'information');
22
+ }
23
+
24
+ }
app/code/community/Fianet/Core/Model/Mysql4/Store/Information/Collection.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * 2000-2014 FIA-NET
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0) that is available
9
+ * through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
10
+ * If you are unable to obtain it through the world-wide-web, please contact us
11
+ * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
+ *
13
+ * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
+ * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
+ */
18
+ class Fianet_Core_Model_Mysql4_Store_Information_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
19
+
20
+ protected function _construct() {
21
+ parent::_construct();
22
+ $this->_init('fianet/store_information');
23
+ }
24
+
25
+ }
app/code/community/Fianet/Core/Model/Product.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Product extends Mage_Catalog_Model_Product {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Product extends Mage_Catalog_Model_Product {
app/code/community/Fianet/Core/Model/Scope/Abstract.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Scope_Abstract extends Mage_Core_Model_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Scope_Abstract extends Mage_Core_Model_Abstract {
app/code/community/Fianet/Core/Model/Shipping/Association.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Shipping_Association extends Mage_Core_Model_Abstract {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Shipping_Association extends Mage_Core_Model_Abstract {
app/code/community/Fianet/Core/Model/Source/Charset.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_Charset {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_Charset {
app/code/community/Fianet/Core/Model/Source/Crypt.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_Crypt {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_Crypt {
app/code/community/Fianet/Core/Model/Source/DeliveryTimes.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_DeliveryTimes {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_DeliveryTimes {
app/code/community/Fianet/Core/Model/Source/Mode.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_Mode {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_Mode {
app/code/community/Fianet/Core/Model/Source/PaymentType.php DELETED
@@ -1,31 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * 2000-2012 FIA-NET
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0) that is available
9
- * through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
10
- * If you are unable to obtain it through the world-wide-web, please contact us
11
- * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
- *
13
- * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
- * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
- */
18
- class Fianet_Core_Model_Source_PaymentType {
19
-
20
- public function toOptionArray() {
21
- return array(
22
- array('value' => 'carte', 'label' => Mage::helper('fianet')->__('Carte bancaire')),
23
- array('value' => 'cheque', 'label' => Mage::helper('fianet')->__('Chèque')),
24
- array('value' => 'contre-remboursement', 'label' => Mage::helper('fianet')->__('Contre-remboursement')),
25
- array('value' => 'virement', 'label' => Mage::helper('fianet')->__('Virement')),
26
- array('value' => 'cb en n fois', 'label' => Mage::helper('fianet')->__('Carte bancaire en plusieurs fois')),
27
- array('value' => 'paypal', 'label' => Mage::helper('fianet')->__('Paypal'))
28
- );
29
- }
30
-
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Fianet/Core/Model/Source/ProductType.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_ProductType {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_ProductType {
app/code/community/Fianet/Core/Model/Source/ShippingType.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_ShippingType {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Model_Source_ShippingType {
app/code/community/Fianet/Core/Model/Store/Information.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * 2000-2014 FIA-NET
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0) that is available
9
+ * through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
10
+ * If you are unable to obtain it through the world-wide-web, please contact us
11
+ * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
+ *
13
+ * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
+ * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
+ */
18
+ class Fianet_Core_Model_Store_Information extends Mage_Core_Model_Abstract {
19
+
20
+ protected function _construct() {
21
+ parent::_construct();
22
+ $this->_init('fianet/store_information');
23
+ }
24
+
25
+ }
app/code/community/Fianet/Core/controllers/Adminhtml/Category/ProductTypeController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_Category_ProductTypeController extends Fianet_Core_Controller_Tree_ProductType {
@@ -129,7 +129,7 @@ class Fianet_Core_Adminhtml_Category_ProductTypeController extends Fianet_Core_C
129
  $productType->setCatalogCategoryEntityId($post['id'])
130
  ->setFianetProductType($post["productType"])
131
  ->save();
132
- $message = Mage::helper('fianet')->__('Data succesfully saved.');
133
  Mage::getSingleton('adminhtml/session')->addSuccess($message);
134
  }
135
  if (isset($post['applysubcat'])) {
@@ -161,7 +161,7 @@ class Fianet_Core_Adminhtml_Category_ProductTypeController extends Fianet_Core_C
161
  Mage::getModel('fianet/catproduct_association')
162
  ->loadByCategoryId($id)
163
  ->delete();
164
- $message = Mage::helper('fianet')->__('Data succesfully deleted.');
165
  Mage::getSingleton('adminhtml/session')->addSuccess($message);
166
  } catch (Exception $e) {
167
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_Category_ProductTypeController extends Fianet_Core_Controller_Tree_ProductType {
129
  $productType->setCatalogCategoryEntityId($post['id'])
130
  ->setFianetProductType($post["productType"])
131
  ->save();
132
+ $message = Mage::helper('fianet')->__('Data successfully saved.');
133
  Mage::getSingleton('adminhtml/session')->addSuccess($message);
134
  }
135
  if (isset($post['applysubcat'])) {
161
  Mage::getModel('fianet/catproduct_association')
162
  ->loadByCategoryId($id)
163
  ->delete();
164
+ $message = Mage::helper('fianet')->__('Data successfully deleted.');
165
  Mage::getSingleton('adminhtml/session')->addSuccess($message);
166
  } catch (Exception $e) {
167
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
app/code/community/Fianet/Core/controllers/Adminhtml/ConfigurationController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_ConfigurationController extends Mage_Adminhtml_Controller_Action {
@@ -42,7 +42,7 @@ class Fianet_Core_Adminhtml_ConfigurationController extends Mage_Adminhtml_Contr
42
  ->delete();
43
  }
44
  }
45
- Mage::getSingleton('adminhtml/session')->addSuccess($this->__('Data succesfully deleted.'));
46
  }
47
  $this->_redirect('*/*/index/store/' . $storeId);
48
  }
@@ -83,7 +83,7 @@ class Fianet_Core_Adminhtml_ConfigurationController extends Mage_Adminhtml_Contr
83
  ->setValue($scope)
84
  ->save();
85
  }
86
- Mage::getSingleton('adminhtml/session')->addSuccess($this->__('Data succesfully saved.'));
87
  } catch (Exception $e) {
88
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
89
  }
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_ConfigurationController extends Mage_Adminhtml_Controller_Action {
42
  ->delete();
43
  }
44
  }
45
+ Mage::getSingleton('adminhtml/session')->addSuccess($this->__('Data successfully deleted.'));
46
  }
47
  $this->_redirect('*/*/index/store/' . $storeId);
48
  }
83
  ->setValue($scope)
84
  ->save();
85
  }
86
+ Mage::getSingleton('adminhtml/session')->addSuccess($this->__('Data successfully saved.'));
87
  } catch (Exception $e) {
88
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
89
  }
app/code/community/Fianet/Core/controllers/Adminhtml/LogController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_LogController extends Mage_Adminhtml_Controller_Action {
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_LogController extends Mage_Adminhtml_Controller_Action {
app/code/community/Fianet/Core/controllers/Adminhtml/OrderController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_OrderController extends Mage_Adminhtml_Controller_Action {
@@ -35,8 +35,8 @@ class Fianet_Core_Adminhtml_OrderController extends Mage_Adminhtml_Controller_Ac
35
  public function getEvaluationAction() {
36
  if (Mage::helper('fianet')->checkModuleIsInstalled('Fianet_Sac')) {
37
  try {
38
- Fianet_Sac_Model_Action::getEvaluation($this->getRequest()->getPost('order_ids', array()));
39
- Fianet_Sac_Model_Action::getReevaluation($this->getRequest()->getPost('order_ids', array()));
40
  } catch (Exception $e) {
41
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
42
  }
@@ -48,18 +48,20 @@ class Fianet_Core_Adminhtml_OrderController extends Mage_Adminhtml_Controller_Ac
48
  if (Mage::helper('fianet')->checkModuleIsInstalled('Fianet_Sac')) {
49
  $orderIds = $this->getRequest()->getPost('order_ids', array());
50
  $countHoldOrder = 0;
 
51
  $sender = Mage::getModel('fianet/fianet_sender');
52
  foreach ($orderIds as $orderId) {
53
  $order = Mage::getModel('sales/order')->load($orderId);
54
-
55
  if (!Mage::helper('sac/order')->canSendOrder($order, $orderId)) {
56
  continue;
57
  }
58
 
59
  try {
60
- $SacOrder = Fianet_Sac_Model_Fianet_Order_Sac::generateSacOrder($order);
61
  $sender->addOrder($SacOrder);
62
  $response = $sender->send();
 
63
  $countHoldOrder = Mage::helper('sac/order')->processResponse($response, array($orderId));
64
  if ($countHoldOrder > 0) {
65
  $this->_getSession()->addSuccess(Mage::helper('fianet')->__('Certissim : %s order(s) successfully sent to FIA-NET', $countHoldOrder));
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_OrderController extends Mage_Adminhtml_Controller_Action {
35
  public function getEvaluationAction() {
36
  if (Mage::helper('fianet')->checkModuleIsInstalled('Fianet_Sac')) {
37
  try {
38
+ Mage::getModel('sac/action')->getEvaluation($this->getRequest()->getPost('order_ids', array()));
39
+ Mage::getModel('sac/action')->getReevaluation($this->getRequest()->getPost('order_ids', array()));
40
  } catch (Exception $e) {
41
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
42
  }
48
  if (Mage::helper('fianet')->checkModuleIsInstalled('Fianet_Sac')) {
49
  $orderIds = $this->getRequest()->getPost('order_ids', array());
50
  $countHoldOrder = 0;
51
+
52
  $sender = Mage::getModel('fianet/fianet_sender');
53
  foreach ($orderIds as $orderId) {
54
  $order = Mage::getModel('sales/order')->load($orderId);
55
+
56
  if (!Mage::helper('sac/order')->canSendOrder($order, $orderId)) {
57
  continue;
58
  }
59
 
60
  try {
61
+ $SacOrder = Mage::getModel('sac/fianet_order_sac')->generateSacOrder($order);
62
  $sender->addOrder($SacOrder);
63
  $response = $sender->send();
64
+
65
  $countHoldOrder = Mage::helper('sac/order')->processResponse($response, array($orderId));
66
  if ($countHoldOrder > 0) {
67
  $this->_getSession()->addSuccess(Mage::helper('fianet')->__('Certissim : %s order(s) successfully sent to FIA-NET', $countHoldOrder));
app/code/community/Fianet/Core/controllers/Adminhtml/ShippingController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_ShippingController extends Mage_Adminhtml_Controller_Action {
@@ -27,27 +27,41 @@ class Fianet_Core_Adminhtml_ShippingController extends Mage_Adminhtml_Controller
27
  }
28
 
29
  public function postAction() {
 
30
  $post = $this->getRequest()->getPost();
 
31
  try {
32
  if (empty($post)) {
33
  Mage::throwException($this->__('Invalid form data.'));
34
  }
35
-
36
  foreach ($post as $Code => $data) {
37
- if (trim($data['conveyorName']) != '') {
38
- $shippingType = $data['shippingType'];
39
- $deliveryTimes = $data['deliveryTimes'];
40
- $conveyorName = $data['conveyorName'];
41
- Mage::getModel('fianet/shipping_association')
42
- ->load($Code)
43
- ->setShippingCode($Code)
44
- ->setFianetShippingType($shippingType)
45
- ->setDeliveryTimes($deliveryTimes)
46
- ->setConveyorName($conveyorName)
47
- ->save();
48
- }
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
- Mage::getSingleton('adminhtml/session')->addSuccess($this->__('Data succesfully saved.'));
 
51
  } catch (Exception $e) {
52
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
53
  }
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  class Fianet_Core_Adminhtml_ShippingController extends Mage_Adminhtml_Controller_Action {
27
  }
28
 
29
  public function postAction() {
30
+ $conveyorNameToDefine = false;
31
  $post = $this->getRequest()->getPost();
32
+
33
  try {
34
  if (empty($post)) {
35
  Mage::throwException($this->__('Invalid form data.'));
36
  }
37
+
38
  foreach ($post as $Code => $data) {
39
+ if ($Code != "form_key") {
40
+ if (($Code == "store_address") || ($Code == "store_postal_code") || ($Code == "store_city") || ($Code == "store_country")) {
41
+ Mage::getModel('fianet/store_information')
42
+ ->load($Code)
43
+ ->setInformation($Code)
44
+ ->setValue($data)
45
+ ->save();
46
+ } else if (trim($data['conveyorName']) != '') {
47
+ $shippingType = $data['shippingType'];
48
+ $deliveryTimes = $data['deliveryTimes'];
49
+ $conveyorName = $data['conveyorName'];
50
+ if (($conveyorName == "To define") || ($conveyorName == "A definir")) {
51
+ $conveyorNameToDefine = true;
52
+ }
53
+ Mage::getModel('fianet/shipping_association')
54
+ ->load($Code)
55
+ ->setShippingCode($Code)
56
+ ->setFianetShippingType($shippingType)
57
+ ->setDeliveryTimes($deliveryTimes)
58
+ ->setConveyorName($conveyorName)
59
+ ->save();
60
+ }
61
+ }
62
  }
63
+ if ($conveyorNameToDefine == true) Mage::getSingleton('adminhtml/session')->addError($this->__("Data successfully saved but some conveyors must be defined."));
64
+ else Mage::getSingleton('adminhtml/session')->addSuccess($this->__('Data successfully saved.'));
65
  } catch (Exception $e) {
66
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
67
  }
app/code/community/Fianet/Core/etc/adminhtml.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
app/code/community/Fianet/Core/etc/config.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,15 +11,15 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
19
  <config>
20
  <modules>
21
  <Fianet_Core>
22
- <version>1.0.4</version>
23
  </Fianet_Core>
24
  </modules>
25
  <admin>
@@ -76,6 +76,9 @@
76
  <configuration_value>
77
  <table>fianet_core_configuration_values</table>
78
  </configuration_value>
 
 
 
79
  <log>
80
  <table>fianet_core_log</table>
81
  </log>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
19
  <config>
20
  <modules>
21
  <Fianet_Core>
22
+ <version>1.0.5</version>
23
  </Fianet_Core>
24
  </modules>
25
  <admin>
76
  <configuration_value>
77
  <table>fianet_core_configuration_values</table>
78
  </configuration_value>
79
+ <store_information>
80
+ <table>fianet_core_store_information</table>
81
+ </store_information>
82
  <log>
83
  <table>fianet_core_log</table>
84
  </log>
app/code/community/Fianet/Core/sql/fianet_setup/mysql4-install-0.2.1.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-0.2.1-0.2.2.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-0.2.2-0.5.7.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-0.9.0-1.0.0.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
1
  <?php
2
 
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  ?>
app/code/community/Fianet/Core/sql/fianet_setup/mysql4-upgrade-1.0.4-1.0.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * 2000-2014 FIA-NET
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0) that is available
9
+ * through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
10
+ * If you are unable to obtain it through the world-wide-web, please contact us
11
+ * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
+ *
13
+ * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
+ * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
+ */
18
+ ?>
19
+ <?php
20
+ $installer = $this;
21
+ $installer->startSetup();
22
+
23
+ $installer->run("
24
+ CREATE TABLE IF NOT EXISTS `{$this->getTable('fianet_core_store_information')}` (
25
+ `information` varchar(255) NOT NULL,
26
+ `value` varchar(255) NOT NULL,
27
+ PRIMARY KEY (`information`)
28
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
29
+
30
+ INSERT IGNORE INTO `{$this->getTable('fianet_core_store_information')}` (`information`, `value`) VALUES ('store_address', '');
31
+ INSERT IGNORE INTO `{$this->getTable('fianet_core_store_information')}` (`information`, `value`) VALUES ('store_postal_code', '');
32
+ INSERT IGNORE INTO `{$this->getTable('fianet_core_store_information')}` (`information`, `value`) VALUES ('store_city', '');
33
+ INSERT IGNORE INTO `{$this->getTable('fianet_core_store_information')}` (`information`, `value`) VALUES ('store_country', '');
34
+ ");
35
+
36
+ $installer->endSetup();
app/design/adminhtml/default/default/layout/fianet.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
app/design/adminhtml/default/default/template/fianet/common/categoriestree.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * 2000-2012 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -10,8 +10,8 @@
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
- * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.4 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
1
  <?php
2
  /**
3
+ * 2000-2014 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
+ * @copyright 2000-2014 FIA-NET
14
+ * @version Release: $Revision: 1.0.5 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/fianet/common/categorytreeformcontenair.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * 2000-2012 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -10,8 +10,8 @@
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
- * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.4 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
1
  <?php
2
  /**
3
+ * 2000-2014 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
+ * @copyright 2000-2014 FIA-NET
14
+ * @version Release: $Revision: 1.0.5 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/fianet/common/catproduct.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * 2000-2012 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -10,8 +10,8 @@
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
- * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.4 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
1
  <?php
2
  /**
3
+ * 2000-2014 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
+ * @copyright 2000-2014 FIA-NET
14
+ * @version Release: $Revision: 1.0.5 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/fianet/common/shipping.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * 2000-2012 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -10,8 +10,8 @@
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
- * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.4 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
@@ -32,9 +32,9 @@ try {
32
  </tr>
33
  </table>
34
  </div>
35
- <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Shipping methods list'); ?></h4>
36
  <div class="entry-edit">
37
  <form id="edit_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/post'); ?>">
 
38
  <?php
39
  if (isset($form_key)) {
40
  echo '<input type="hidden" name="form_key" value="' . $form_key . '" />';
@@ -88,12 +88,20 @@ try {
88
  $val = $current_shipping->shipping_code == null ? $this->__('To define') : $current_shipping->conveyor_name;
89
  if ($Code == "socolissimosimplicite") $val = "So Colissimo";
90
  echo '<td class="input-ele">
91
- <input type="text" name="' . $Code . '[conveyorName]" value="' . $val . '"' . $disabled . '></td>';
92
  echo '</tr>';
93
  }
94
  ?>
95
  </table>
96
  </fieldset>
 
 
 
 
 
 
 
 
97
  </form>
98
  </div>
99
  <script type="text/javascript">
1
  <?php
2
  /**
3
+ * 2000-2014 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
+ * @copyright 2000-2014 FIA-NET
14
+ * @version Release: $Revision: 1.0.5 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
32
  </tr>
33
  </table>
34
  </div>
 
35
  <div class="entry-edit">
36
  <form id="edit_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/post'); ?>">
37
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Shipping methods list'); ?></h4>
38
  <?php
39
  if (isset($form_key)) {
40
  echo '<input type="hidden" name="form_key" value="' . $form_key . '" />';
88
  $val = $current_shipping->shipping_code == null ? $this->__('To define') : $current_shipping->conveyor_name;
89
  if ($Code == "socolissimosimplicite") $val = "So Colissimo";
90
  echo '<td class="input-ele">
91
+ <input type="text" name="' . $Code . '[conveyorName]" value="' . $val . '"' . $disabled . '></td>';
92
  echo '</tr>';
93
  }
94
  ?>
95
  </table>
96
  </fieldset>
97
+
98
+ <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Store information'); ?></h4>
99
+ <fieldset>
100
+ <?php echo $this->__('<b>Address</b>: '); ?><input type="text" name="store_address" value="<?php echo Mage::getModel('fianet/store_information')->load("store_address")->value ?>">
101
+ <?php echo $this->__('<b>Postal Code</b>: '); ?><input type="text" name="store_postal_code" value="<?php echo Mage::getModel('fianet/store_information')->load("store_postal_code")->value ?>">
102
+ <?php echo $this->__('<b>City</b>: '); ?><input type="text" name="store_city" value="<?php echo Mage::getModel('fianet/store_information')->load("store_city")->value ?>">
103
+ <?php echo $this->__('<b>Country</b>: '); ?><input type="text" name="store_country" value="<?php echo Mage::getModel('fianet/store_information')->load("store_country")->value ?>">
104
+ </fieldset>
105
  </form>
106
  </div>
107
  <script type="text/javascript">
app/design/adminhtml/default/default/template/fianet/common/storeswitcher.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * 2000-2012 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
@@ -10,8 +10,8 @@
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
- * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.4 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
1
  <?php
2
  /**
3
+ * 2000-2014 FIA-NET
4
  *
5
  * NOTICE OF LICENSE
6
  *
10
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
  *
12
  * @author FIA-NET <support-boutique@fia-net.com>
13
+ * @copyright 2000-2014 FIA-NET
14
+ * @version Release: $Revision: 1.0.5 $
15
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
  */
17
  ?>
app/design/adminhtml/default/default/template/fianet/common/test.php DELETED
@@ -1,77 +0,0 @@
1
- <?php
2
- /**
3
- * 2000-2012 FIA-NET
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0) that is available
8
- * through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
9
- * If you are unable to obtain it through the world-wide-web, please contact us
10
- * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
11
- *
12
- * @author FIA-NET <support-boutique@fia-net.com>
13
- * @copyright 2000-2012 FIA-NET
14
- * @version Release: $Revision: 1.0.4 $
15
- * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
16
- */
17
- ?>
18
- <?php
19
- try {
20
- $form_key = Mage::getSingleton('core/session')->getFormKey();
21
- } catch (Exception $e) {
22
-
23
- }
24
- $storeid = $this->getRequest()->getParam('store', 0);
25
- ?>
26
- <div class="content-header">
27
- <table cellspacing="0" class="grid-header">
28
- <tr>
29
- <td><h3><?php echo $this->__('Product type configuration'); ?></h3></td>
30
- <td class="a-right">
31
- <?php if ($this->producttype->getId() > 0) : ?>
32
- <button id="id_<?php echo $this->selectedcategorieid ?>" type="button" class="scalable delete" onclick="confirmSetLocation('<?php echo $this->__('Are you sure ?') ?>', '<?php echo $this->getUrl('*/*/delete/', array('id' => $this->selectedcategorieid, 'store' => $storeid)); ?>')" style=""><span><?php echo $this->__('Delete') ?></span></button>
33
- <?php endif; ?>
34
- <button onclick="editForm.submit()" class="scalable save" type="button"><span><?php echo $this->__('Save'); ?></span></button>
35
- </td>
36
- </tr>
37
- </table>
38
- </div>
39
- <h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Configuration'); ?></h4>
40
- <div class="entry-edit">
41
- <form id="edit_form" name="edit_form" method="post" action="<?php echo $this->getUrl('*/*/post'); ?>">
42
- <?php
43
- if (isset($form_key)) {
44
- echo '<input type="hidden" name="form_key" value="' . $form_key . '" />';
45
- }
46
- ?>
47
- <fieldset id="my-fieldset">
48
- <input type="hidden" name="store" value="<?php echo $storeid; ?>">
49
- <input type="hidden" name="id" value="<?php echo $this->selectedcategorieid; ?>">
50
- <input type="hidden" name="name" value="<?php echo $this->selectedcategoriename; ?>">
51
- <select name="productType">
52
- <?php
53
- $types = Mage::getModel('fianet/source_productType')->toOptionArray();
54
- if ($this->producttype->getId() <= 0) {
55
- echo '<optgroup label="' . $this->__('Choose a value') . '">';
56
- echo '<option value="" selected>' . $this->__('Nothing configured') . '</option>';
57
- }
58
- foreach ($types as $value) {
59
- $sel = '';
60
- if ($this->producttype->getId() > 0 && $this->producttype->getFianet_product_type() == $value['value']) {
61
- $sel = ' selected';
62
- }
63
- echo '<option value="' . $value['value'] . '"' . $sel . '>' . $value['label'] . '</option>';
64
- }
65
- if ($this->producttype->getId() <= 0) {
66
- echo '</optgroup>';
67
- }
68
- ?>
69
- </select>
70
- <input type="checkbox" name="applysubcat" id="idbox"><label for="idbox"><?php echo $this->__('Apply to sub-categories'); ?></label>
71
- </fieldset>
72
- </form>
73
- </div>
74
- <script type="text/javascript">
75
- var editForm = new varienForm('edit_form');
76
- //var advForm = new varienForm('advanced_form');
77
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/etc/modules/Fianet_Core.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * 2000-2012 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
@@ -11,8 +11,8 @@
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
- * @copyright 2000-2012 FIA-NET
15
- * @version Release: $Revision: 1.0.4 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
@@ -28,7 +28,7 @@
28
  <depends>
29
  </depends>
30
  <!-- declare module's version information for database updates -->
31
- <version>1.0.4</version>
32
  </Fianet_Core>
33
  </modules>
34
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * 2000-2014 FIA-NET
5
  *
6
  * NOTICE OF LICENSE
7
  *
11
  * via http://www.fia-net-group.com/formulaire.php so we can send you a copy immediately.
12
  *
13
  * @author FIA-NET <support-boutique@fia-net.com>
14
+ * @copyright 2000-2014 FIA-NET
15
+ * @version Release: $Revision: 1.0.5 $
16
  * @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
17
  */
18
  -->
28
  <depends>
29
  </depends>
30
  <!-- declare module's version information for database updates -->
31
+ <version>1.0.5</version>
32
  </Fianet_Core>
33
  </modules>
34
  </config>
app/locale/fr_FR/Fianet_Core.csv CHANGED
@@ -17,12 +17,18 @@
17
  "FIA-NET Shipping type","Type de livraison FIA-NET"
18
  "Shipping speed","Rapidit&eacute; d'expédition"
19
  "Conveyor","Nom du transporteur"
 
 
 
 
 
20
  "d","j"
21
  "%sd-%sd","%sj-%sj"
22
  "General configuration","Configuration générale"
23
  "Links","Liens"
24
  "Enabled","Activé"
25
  "Test or production mode","Mode test ou production"
 
26
  "Password","Mot de passe"
27
  "Encryption mode","Mode de cryptage"
28
  "Charset","Jeu de caract&egrave;res"
@@ -53,6 +59,7 @@
53
  "Click to simulate your monthly fee","Cliquez pour calculer vos mensualités"
54
  "Choose a value","Choisissez une valeur"
55
  "Nothing configured","Rien de configuré"
 
56
 
57
  "Unable to load FIA-NET configuration.","Impossible de charger la configuration FIA-NET."
58
  "The configuration has been saved.","La configuration a été sauvegardée."
@@ -63,8 +70,9 @@
63
  "Return","Retour"
64
  "Save Config","Enregistrer la Configuration"
65
  "Are you sure you want to do this?","En êtes vous sûr ?"
66
- "Data succesfully saved.","Données sauvegardées correctement."
67
- "Data succesfully deleted.","Données correctement suprimées"
 
68
  "Yes","Oui"
69
  "No","Non"
70
  "Disabled","Désactivé"
17
  "FIA-NET Shipping type","Type de livraison FIA-NET"
18
  "Shipping speed","Rapidit&eacute; d'expédition"
19
  "Conveyor","Nom du transporteur"
20
+ "Store information","Informations sur la boutique"
21
+ "<b>Address</b>: ","<b>Adresse</b> : "
22
+ "<b>Postal Code</b>: ","<b>Code Postal</b> : "
23
+ "<b>City</b>: ","<b>Ville</b> : "
24
+ "<b>Country</b>: ","<b>Pays</b> : "
25
  "d","j"
26
  "%sd-%sd","%sj-%sj"
27
  "General configuration","Configuration générale"
28
  "Links","Liens"
29
  "Enabled","Activé"
30
  "Test or production mode","Mode test ou production"
31
+ "FIA-NET Login","Login"
32
  "Password","Mot de passe"
33
  "Encryption mode","Mode de cryptage"
34
  "Charset","Jeu de caract&egrave;res"
59
  "Click to simulate your monthly fee","Cliquez pour calculer vos mensualités"
60
  "Choose a value","Choisissez une valeur"
61
  "Nothing configured","Rien de configuré"
62
+ "To define","A definir"
63
 
64
  "Unable to load FIA-NET configuration.","Impossible de charger la configuration FIA-NET."
65
  "The configuration has been saved.","La configuration a été sauvegardée."
70
  "Return","Retour"
71
  "Save Config","Enregistrer la Configuration"
72
  "Are you sure you want to do this?","En êtes vous sûr ?"
73
+ "Data successfully saved.","Données correctement sauvegardées."
74
+ "Data successfully saved but some conveyors must be defined.","Données correctement sauvegardées mais certains transporteurs restent à définir."
75
+ "Data successfully deleted.","Données correctement suprimées"
76
  "Yes","Oui"
77
  "No","Non"
78
  "Disabled","Désactivé"
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fianet_Core</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/OSL-3.0">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>FIA-NET Core</summary>
10
  <description>Base module for Kwixo and Certissim</description>
11
- <notes>fifth official commit</notes>
12
  <authors><author><name>FIA-NET</name><user>auto-converted</user><email>support-boutique@fia-net.com</email></author></authors>
13
- <date>2013-12-09</date>
14
- <time>15:01:48</time>
15
- <contents><target name="magecommunity"><dir name="Fianet"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="ProductType"><dir name="Edit"><file name="Form.php" hash="01f0b6aef47c7cb91c6fefc0156f97e0"/></dir><file name="Edit.php" hash="26cd4d90c28b7e686a4151af1e0a5d6c"/></dir></dir><dir name="Configuration"><dir name="Edit"><file name="Form.php" hash="56cfca626b10f3aceb744e2e90653433"/></dir><file name="Content.php" hash="230b844951a434c6fccbd6c77df61243"/><file name="Tab.php" hash="1f76167f6400090ed12e8d1e32a59449"/></dir><dir name="Log"><file name="Grid.php" hash="910c54adeeaa9655d6063732dd37966b"/></dir><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="ea5768d94517f38886a95c2f2bcc7f80"/></dir></dir><dir name="Store"><file name="Switcher.php" hash="366b5f0c3fadf8d0497f2633cdd68d0c"/></dir><dir name="Tree"><file name="Abstract.php" hash="578e01d102ccb21fb35f5fc0cdae2235"/><file name="ProductType.php" hash="c7f1ee97a754e7aa2d23793cfce74139"/><file name="Products.php" hash="ed690ccfb5c4c9d5dfd11f7d04f197e9"/></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Filter"><file name="Fianet.php" hash="ce1d7137df3ffc1e51ba5e9b35ad6b73"/></dir><dir name="Renderer"><file name="Fianet.php" hash="1027e3b1e722fb98c79baae56dbfd820"/></dir></dir></dir></dir><file name="Configuration.php" hash="a2b9f79c321a4c63d17435aaae4a1db4"/><file name="Fianetadmin.php" hash="cdfea3803e8acd7b42071f81857ca312"/><file name="Fianetadmingrid.php" hash="67b1ef416364c30c5e133ab4248ade96"/></dir></dir><dir name="Controller"><dir name="Tree"><file name="Abstract.php" hash="de584e38c88ec7c6e52aa917d8d85895"/><file name="ProductType.php" hash="b5cf7c59136cff90e04ac90eb4866b75"/></dir></dir><dir name="Helper"><file name="Data.php" hash="beaab7390004b1aded2c77ac5450f487"/></dir><dir name="Model"><dir name="Carrier"><file name="Abstract.php" hash="6211f408bf753d5b256e3b08c190e9e6"/></dir><dir name="Catproduct"><file name="Association.php" hash="3f8eb5fb903e80798921bd95ce0c1606"/></dir><dir name="Configuration"><file name="Global.php" hash="0066919c9ccc237a0d79bbaa42c64118"/><file name="Value.php" hash="e88375a02d68b2e788380970251fbe9d"/></dir><dir name="Fianet"><dir name="Order"><dir name="Address"><file name="Base.php" hash="11a8a3481b1f8e719dc86c5362a2fdc5"/><file name="Billing.php" hash="4cb713c0a84128a33a72dc9fbf8b73a9"/><file name="Delivery.php" hash="aed829d5ea5158ca1c9b5d743b13e71b"/><file name="Transport.php" hash="cdbe8998e2606e6292147e8317f26c1b"/></dir><dir name="Info"><dir name="Productlist"><file name="Product.php" hash="d868a55fef3e856a8824c0447ec16974"/></dir><file name="Productlist.php" hash="bea336018400dd9b5f328a4fe3e97ee7"/><file name="Transport.php" hash="aeaa5222c3e82f669a25389eef8d7fe0"/></dir><dir name="User"><file name="Base.php" hash="02ed5b60cd60b65c8d74e5bad331eb93"/><file name="Billing.php" hash="5f453092ca91cd0ae630e5cedf06d818"/><file name="Delivery.php" hash="8e2f7435870d5b77306a6ae07f8cece8"/><file name="Siteconso.php" hash="03933740b873f65c16216b16667086a2"/></dir><file name="Optionpayment.php" hash="62e1d2bc5771ea5475ab3a6d6d804f24"/><file name="Payment.php" hash="10650b0db8315032f06cbd94e4e1df82"/><file name="Wallet.php" hash="cec026ccfc5aeda5b7a3cb81d22b1f68"/></dir><dir name="Paramcallback"><file name="Builder.php" hash="04b6994256d61a2e9b5719aa54850bb0"/><file name="Element.php" hash="516b3ade7977c157cff14128e4961b92"/></dir><file name="EncodingKey.php" hash="09ee61621abf92e1969ccb6d78c49f2b"/><file name="Hash32bits.php" hash="3e8e48deb287bd825b35f4055128c2f3"/><file name="Hash64bits.php" hash="edb78dd0b3df4bdee0fd5869e4e3b990"/><file name="Parser.php" hash="5679b000051b2d721ef77177ac0fc995"/><file name="Sender.php" hash="f6be3bdeb7e7b3730e6aea7f06216b11"/></dir><dir name="Mysql4"><dir name="Catproduct"><dir name="Association"><file name="Collection.php" hash="0d0021d8658a900027e7e1743c6cb392"/></dir><file name="Association.php" hash="2c6582a5355881674e221c4dc4e5d142"/></dir><dir name="Configuration"><dir name="Value"><file name="Collection.php" hash="1f1aabe38aa79a8b3182ebee923afafa"/></dir><file name="Collection.php" hash="8cf212994b4478f049c74724b81ccaee"/><file name="Global.php" hash="c2878a08b045d3a0549d2eb232c1b533"/><file name="Value.php" hash="883d36156addd527e512df684d91efcb"/></dir><dir name="Log"><file name="Collection.php" hash="930f91946c79d5c40c52d9d59cbfee3d"/></dir><dir name="Scope"><file name="Abstract.php" hash="e5b79a5d00f50b3fc5cbc2a01fe5cc20"/></dir><dir name="Shipping"><dir name="Association"><file name="Collection.php" hash="3e2eabbbf2cc5d0c06f6e324156b660d"/></dir><file name="Association.php" hash="a386ecbdbf87bf035ece8895f1a12077"/></dir><file name="Abstract.php" hash="d1b6302ac64b28cec843b777b8d31ace"/><file name="Configuration.php" hash="fdb4d3b2bb5b9b789a7291ec6deb276f"/><file name="Log.php" hash="6f23f4fe4c8a0e62d355e5a7360c2850"/><file name="Setup.php" hash="83852bc03b4d64fbc124d13f782b2a6b"/></dir><dir name="Scope"><file name="Abstract.php" hash="3512e2d0887a107c0a18d247214c0fb9"/></dir><dir name="Shipping"><file name="Association.php" hash="c51a765dd62034e2d92e8eb806523148"/></dir><dir name="Source"><file name="Charset.php" hash="e7b72a277b5f290dcf9b1d6864344538"/><file name="Crypt.php" hash="4652974a39c7d0708ecc55e6770fa5e1"/><file name="DeliveryTimes.php" hash="dd82b2d1aec667ed30622ebd24479f31"/><file name="Mode.php" hash="c1f3565aad89159bf81f53fee7f68827"/><file name="PaymentType.php" hash="026c0d752bcd8ff9ee01e67fe71cfd46"/><file name="ProductType.php" hash="a489f5335d0d7d26edaae4a1c583862a"/><file name="ShippingType.php" hash="72490eb4c7f7059cb17885d8094d0853"/></dir><file name="Configuration.php" hash="9cb28ab4f6e1be766864756c2d482278"/><file name="Functions.php" hash="bcd48302a018581adacb5b0c6788907c"/><file name="Log.php" hash="d9fdcfa77a15a0fb1345db59ad2bad4a"/><file name="MageConfiguration.php" hash="dd82f02aa39fa688ee6e4bd2eda439a5"/><file name="Product.php" hash="c850dc049e1d9e52b2fbaf8853bd530e"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Category"><file name="ProductTypeController.php" hash="b27321523367a0ea56dfdd33d9bf21a9"/></dir><file name="ConfigurationController.php" hash="492c29511732c1501a9ab8be6fd5fd2b"/><file name="LogController.php" hash="e4aca322629b124fc5e6940ff0a617c4"/><file name="OrderController.php" hash="ef39ec011c85d3336e488fadba459538"/><file name="ShippingController.php" hash="3c0bc08c1f85e0217770a90990c69fe8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="a1aae49335e63e51a9cf1492091605d0"/><file name="config.xml" hash="b756d85e17fa6e9c0e765708fede4369"/></dir><dir name="sql"><dir name="fianet_setup"><file name="mysql4-install-0.2.1.php" hash="20fb055a457019594932311be0644931"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="7a9d8f3ad4eaa2ffbf2410f1ffa218dc"/><file name="mysql4-upgrade-0.2.2-0.5.7.php" hash="2e71034fba4b4dda9dd8f39f65a9afe4"/><file name="mysql4-upgrade-0.9.0-1.0.0.php" hash="2a3d34944b15f048bcf159abe9bca0f3"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="fianet.xml" hash="a826a8b454fab21553c3dbeb50af64d6"/></dir><dir name="template"><dir name="fianet"><dir name="common"><file name="categoriestree.phtml" hash="d7e02fa4349666cd333c141f7718e455"/><file name="categorytreeformcontenair.phtml" hash="8372207304427e71ff079d4a28a87f86"/><file name="catproduct.phtml" hash="634847b23f7e3f79181dce454b989d63"/><file name="shipping.phtml" hash="53d9f1e98311134aac5b4deb4aef24e5"/><file name="storeswitcher.phtml" hash="4e727fd8d0e37f99644d299be5341d13"/><file name="test.php" hash="28f556690705cf65ebeeba8648c30256"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Core.xml" hash="a4439a50a4beec08a400dc73bf2ee10b"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Fianet_Core.csv" hash="df496123a8c27a8a52fec06c6498c0e5"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Fianet_Core</name>
4
+ <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/OSL-3.0">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>FIA-NET Core</summary>
10
  <description>Base module for Kwixo and Certissim</description>
11
+ <notes>sixth official commit</notes>
12
  <authors><author><name>FIA-NET</name><user>auto-converted</user><email>support-boutique@fia-net.com</email></author></authors>
13
+ <date>2014-05-23</date>
14
+ <time>08:03:49</time>
15
+ <contents><target name="magecommunity"><dir name="Fianet"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="ProductType"><dir name="Edit"><file name="Form.php" hash="a7bb990774249061f9be6e042a4239c2"/></dir><file name="Edit.php" hash="dc36208b5b78c8b8a3e279fc763d73d7"/></dir></dir><dir name="Configuration"><dir name="Edit"><file name="Form.php" hash="e466f7c6bba84f045b05277366ce4848"/></dir><file name="Content.php" hash="692096022982ba5296415c3a6e8c4156"/><file name="Tab.php" hash="466610f1e47e938b9b5a7cb70e74adce"/></dir><dir name="Log"><file name="Grid.php" hash="7e6cbb04236d9b42c9a777b5d4582e2d"/></dir><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="2e62ce3a6340f5a370df4964502eb549"/></dir></dir><dir name="Store"><file name="Switcher.php" hash="1455037898fea72eb29abe45331bc0e7"/></dir><dir name="Tree"><file name="Abstract.php" hash="338f4dc28754da7ab3614f704919a7b9"/><file name="ProductType.php" hash="5267c1afcce92960183b6e9c4faed9b6"/><file name="Products.php" hash="f08e10a486f9d5fc796e89308ff78093"/></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Filter"><file name="Fianet.php" hash="0ef67b22136f19a443651e0ebc57b722"/></dir><dir name="Renderer"><file name="Fianet.php" hash="1fb75e98810ca5bac615be8e134af389"/></dir></dir></dir></dir><file name="Configuration.php" hash="428f504b935935e7eec5acf22e658589"/><file name="Fianetadmin.php" hash="2ba894602c2f9bdd765edd1c1ee4120f"/><file name="Fianetadmingrid.php" hash="8f66332425e8048aaeeaef1f282dd982"/></dir></dir><dir name="Controller"><dir name="Tree"><file name="Abstract.php" hash="5e66e8415ab7a8b888a46331dc4df164"/><file name="ProductType.php" hash="306a462a3088d204a11bfa7f237af9a8"/></dir></dir><dir name="Helper"><file name="Data.php" hash="6db88f2aec8572671dae1d98c728cf4c"/></dir><dir name="Model"><dir name="Carrier"><file name="Abstract.php" hash="ae5b407d1e6967b8b27e13cb31ce0abc"/></dir><dir name="Catproduct"><file name="Association.php" hash="b7b27bb01e592f49a509cebb560296f0"/></dir><dir name="Configuration"><file name="Global.php" hash="eca4940dfc9111ea84491e885dca3694"/><file name="Value.php" hash="b982157ea4b030323290f39790e401c6"/></dir><dir name="Fianet"><dir name="Order"><dir name="Address"><file name="Base.php" hash="4290bfdd062740987bcfec3f38da6399"/><file name="Billing.php" hash="dd57e00732e0688490a17def2f6c8786"/><file name="Delivery.php" hash="293e7967fd5f9f74abbfd768534e937c"/><file name="Transport.php" hash="57a733864806c5466369999e216e9f5b"/></dir><dir name="Info"><dir name="Productlist"><file name="Product.php" hash="deea96099c87e146bf4eecba48774e72"/></dir><file name="Productlist.php" hash="923805d3a9f53e432e175c7ca58af612"/><file name="Transport.php" hash="901ac5bd0ccc60e74afc3e054fbaedf9"/></dir><dir name="User"><file name="Base.php" hash="75542ff81c23ed33814802c3797dd9ce"/><file name="Billing.php" hash="de98f9516bad4dae69e69577f92c7db5"/><file name="Delivery.php" hash="3ce8df040900ed505fa72d914703c4d7"/><file name="Siteconso.php" hash="03fe8ff9389288041917a6faf0c51a0b"/></dir><file name="Optionpayment.php" hash="2ee0cfaaee96993ffc75d385bb495623"/><file name="Payment.php" hash="149827a9696ee732c06ebea03db0d6f9"/><file name="Wallet.php" hash="997c1bf4988a62ef1d992e409e414677"/></dir><dir name="Paramcallback"><file name="Builder.php" hash="058822fa397451f8b29cf44128d89b6b"/><file name="Element.php" hash="6101041eed36c97042e6bf20140f0f7d"/></dir><file name="EncodingKey.php" hash="b4ca01e3294a8d0c400955d6ed679c4d"/><file name="Hash32bits.php" hash="8c533d22a7f13cf08748a1d708dacaef"/><file name="Hash64bits.php" hash="66740113edc0b3e4697ffe0877b5d42a"/><file name="Parser.php" hash="ff5c5d623a772d9d38c594d9c06b1eda"/><file name="Sender.php" hash="15f4c8c6e17447e33dd426c449b42904"/></dir><dir name="Mysql4"><dir name="Catproduct"><dir name="Association"><file name="Collection.php" hash="fdef2305ecf1336de18b63929c95630e"/></dir><file name="Association.php" hash="2e70a8df3f24a824672c9c702deeacb6"/></dir><dir name="Configuration"><dir name="Value"><file name="Collection.php" hash="7c46d97a6117d5f172a7636c55139314"/></dir><file name="Collection.php" hash="c727e90292fec8565a356e9df22c2a3e"/><file name="Global.php" hash="17daba66c9fb72e2a749e97b3996653c"/><file name="Value.php" hash="dc51ac57fe86f06c6b58af6f9251d9b7"/></dir><dir name="Log"><file name="Collection.php" hash="35fcca1dbdc85b3cd9a384231affccb1"/></dir><dir name="Scope"><file name="Abstract.php" hash="cd126c6cb9a11f5ebfad5b50338bf5c9"/></dir><dir name="Shipping"><dir name="Association"><file name="Collection.php" hash="6323dcc903244678aa91ee5d52249a11"/></dir><file name="Association.php" hash="281d7499317f3a7c78a08a2c028262e0"/></dir><dir name="Store"><dir name="Information"><file name="Collection.php" hash="f9e9568677f6dfb09c909854ba21c00c"/></dir><file name="Information.php" hash="d0b1571a53bf06dd19d065310a9acdef"/></dir><file name="Abstract.php" hash="1a169cde0171d476267c8a9edf2b646b"/><file name="Configuration.php" hash="5f52e105ddda5f9d98bb29d24451e9da"/><file name="Log.php" hash="489362f565b8e8369a69dff4f9c41eed"/><file name="Setup.php" hash="91ccc3b30ee4307f6bf2926b86352336"/></dir><dir name="Scope"><file name="Abstract.php" hash="ead1941a40d4fdfa7fa4cc2472af7d85"/></dir><dir name="Shipping"><file name="Association.php" hash="04bcf3a15e0f1dd5fce20a7d664ebbfa"/></dir><dir name="Source"><file name="Charset.php" hash="18f6b9597bff017372c8c4495697c5d3"/><file name="Crypt.php" hash="b481ec7f9a62b39cb35e17c4a5a672af"/><file name="DeliveryTimes.php" hash="6ab142360ab78228fa722f485d053ed1"/><file name="Mode.php" hash="6db8f27c8dbacf75cad83666233c6872"/><file name="ProductType.php" hash="64198f81991ce2e7ab17b1dfce48cea8"/><file name="ShippingType.php" hash="63c3e7b265a66d73753f0c9dcfbd0ec8"/></dir><dir name="Store"><file name="Information.php" hash="03423cf39762e94f0e1b2553cd99eec0"/></dir><file name="Configuration.php" hash="6830ea09f0dccc193cc8ffb8adfe6e0e"/><file name="Functions.php" hash="157ec55ab01cf111a8ff3e206d28e9ee"/><file name="Log.php" hash="2609f35fe85b091683fe7a4040101230"/><file name="MageConfiguration.php" hash="c26f3e9894e6cb642eda3195abee0d63"/><file name="Product.php" hash="37d6db90b0626def9c276bad73f23c7d"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Category"><file name="ProductTypeController.php" hash="632ad64ba75fc7e9f3c55534ebfc3c76"/></dir><file name="ConfigurationController.php" hash="08dcfb47b529267618d089ce1613b203"/><file name="LogController.php" hash="f7716683ae5b77d26c344e825d213877"/><file name="OrderController.php" hash="4c228a6e48cb5ab295407d13ee3edfa6"/><file name="ShippingController.php" hash="13cf74de2ef27f316c152e5ce8217275"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="b962327581414a417e5f7bfb4305771f"/><file name="config.xml" hash="9b129e63f01cb151f0dde690f35c313a"/></dir><dir name="sql"><dir name="fianet_setup"><file name="mysql4-install-0.2.1.php" hash="296f288b019a6a74d4b4118e8886bc90"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="e2e785af38caccfa8d13cc49eb3503af"/><file name="mysql4-upgrade-0.2.2-0.5.7.php" hash="5980767df0b418ed0024654c7b9a75f3"/><file name="mysql4-upgrade-0.9.0-1.0.0.php" hash="03b6871ad13fc19d42563b35584e0b7e"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="2928ef486b808910063db4e43662b408"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="fianet.xml" hash="e352c17d63356526c1b7e0ac2fa04368"/></dir><dir name="template"><dir name="fianet"><dir name="common"><file name="categoriestree.phtml" hash="bbc859cd6892df6a2decc5a90feae29f"/><file name="categorytreeformcontenair.phtml" hash="64a9b0cc0b152b3051aa9692526461d0"/><file name="catproduct.phtml" hash="5b938aa6ad128d6de2628650790ad594"/><file name="shipping.phtml" hash="975b5ae5727bcc659a3093e6f6d4dc38"/><file name="storeswitcher.phtml" hash="7e0a98c5165277a2099fe7e37a3f1ebf"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fianet_Core.xml" hash="57af0f59af80313e9dfb9ff986b5b84d"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Fianet_Core.csv" hash="9f46603d121eccc5c78bbee5082ed760"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>