Raveinfosys_OrderExporter - Version 1.0.5

Version Notes

This is stable version of this extension and has been tested on various version of community editions.

In this particular version we are supporting it to run on PHP V 5.5.X

Download this release

Release Info

Developer Rave Infosys
Extension Raveinfosys_OrderExporter
Version 1.0.5
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.5

app/code/community/Raveinfosys/Exporter/controllers/Adminhtml/ExporterController.php CHANGED
@@ -41,14 +41,14 @@ class Raveinfosys_Exporter_Adminhtml_ExporterController extends Mage_Adminhtml_C
41
  $file = Mage::getModel('exporter/exportorders')->exportOrders($order_arr);
42
  $this->_prepareDownloadResponse($file, file_get_contents(Mage::getBaseDir('export').'/'.$file));
43
  }
44
-
45
  public function exportCsvAction()
46
  {
47
  $orders = $this->getRequest()->getPost('order_ids', array());
48
  $file = Mage::getModel('exporter/exportorders')->exportOrders($orders);
49
  $this->_prepareDownloadResponse($file, file_get_contents(Mage::getBaseDir('export').'/'.$file));
50
  }
51
-
52
  public function exportLogAction()
53
  {
54
  $file = 'order_exception_log.htm';
41
  $file = Mage::getModel('exporter/exportorders')->exportOrders($order_arr);
42
  $this->_prepareDownloadResponse($file, file_get_contents(Mage::getBaseDir('export').'/'.$file));
43
  }
44
+
45
  public function exportCsvAction()
46
  {
47
  $orders = $this->getRequest()->getPost('order_ids', array());
48
  $file = Mage::getModel('exporter/exportorders')->exportOrders($orders);
49
  $this->_prepareDownloadResponse($file, file_get_contents(Mage::getBaseDir('export').'/'.$file));
50
  }
51
+
52
  public function exportLogAction()
53
  {
54
  $file = 'order_exception_log.htm';
app/code/community/Raveinfosys/Exporter/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Raveinfosys_Exporter>
5
- <version>0.1.0</version>
6
  </Raveinfosys_Exporter>
7
  </modules>
8
  <frontend>
@@ -25,15 +25,16 @@
25
  </frontend>
26
  <admin>
27
  <routers>
28
- <exporter>
29
- <use>admin</use>
30
  <args>
31
- <module>Raveinfosys_Exporter</module>
32
- <frontName>exporter</frontName>
 
33
  </args>
34
- </exporter>
35
  </routers>
36
  </admin>
 
37
  <adminhtml>
38
  <menu>
39
  <exporter module="exporter">
@@ -43,13 +44,15 @@
43
  <export module="exporter">
44
  <title>Export Orders</title>
45
  <sort_order>1</sort_order>
46
- <action>exporter/adminhtml_exporter</action>
47
  </export>
48
  <import module="exporter">
49
  <title>Import Orders</title>
50
  <sort_order>2</sort_order>
51
- <action>exporter/adminhtml_importer</action>
52
  </import>
 
 
53
  </children>
54
  </exporter>
55
  </menu>
@@ -78,9 +81,9 @@
78
  </acl>
79
  <layout>
80
  <updates>
81
- <exporter>
82
  <file>exporter.xml</file>
83
- </exporter>
84
  </updates>
85
  </layout>
86
  </adminhtml>
2
  <config>
3
  <modules>
4
  <Raveinfosys_Exporter>
5
+ <version>1.0.5</version>
6
  </Raveinfosys_Exporter>
7
  </modules>
8
  <frontend>
25
  </frontend>
26
  <admin>
27
  <routers>
28
+ <adminhtml>
 
29
  <args>
30
+ <modules>
31
+ <raveinfosys_exporter before="Mage_Adminhtml">Raveinfosys_Exporter_Adminhtml</raveinfosys_exporter>
32
+ </modules>
33
  </args>
34
+ </adminhtml>
35
  </routers>
36
  </admin>
37
+
38
  <adminhtml>
39
  <menu>
40
  <exporter module="exporter">
44
  <export module="exporter">
45
  <title>Export Orders</title>
46
  <sort_order>1</sort_order>
47
+ <action>*/exporter</action>
48
  </export>
49
  <import module="exporter">
50
  <title>Import Orders</title>
51
  <sort_order>2</sort_order>
52
+ <action>*/importer</action>
53
  </import>
54
+
55
+
56
  </children>
57
  </exporter>
58
  </menu>
81
  </acl>
82
  <layout>
83
  <updates>
84
+ <raveinfosys_exporter>
85
  <file>exporter.xml</file>
86
+ </raveinfosys_exporter>
87
  </updates>
88
  </layout>
89
  </adminhtml>
app/design/adminhtml/default/default/layout/exporter.xml CHANGED
@@ -1,20 +1,20 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <exporter_adminhtml_exporter_index>
4
  <reference name="content">
5
  <block type="exporter/adminhtml_exporter" name="exporter" />
6
  </reference>
7
- </exporter_adminhtml_exporter_index>
8
-
9
- <exporter_adminhtml_exporter_grid>
10
  <reference name="root">
11
  <block type="exporter/adminhtml_exporter_grid" name="root" output="toHtml"/>
12
  </reference>
13
- </exporter_adminhtml_exporter_grid>
14
-
15
- <exporter_adminhtml_importer_index>
16
  <reference name="content">
17
  <block type="exporter/adminhtml_exporter_edit_tab_form" name="importer" />
18
  </reference>
19
- </exporter_adminhtml_importer_index>
20
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <adminhtml_exporter_index>
4
  <reference name="content">
5
  <block type="exporter/adminhtml_exporter" name="exporter" />
6
  </reference>
7
+ </adminhtml_exporter_index>
8
+
9
+ <adminhtml_exporter_grid>
10
  <reference name="root">
11
  <block type="exporter/adminhtml_exporter_grid" name="root" output="toHtml"/>
12
  </reference>
13
+ </adminhtml_exporter_grid>
14
+
15
+ <adminhtml_importer_index>
16
  <reference name="content">
17
  <block type="exporter/adminhtml_exporter_edit_tab_form" name="importer" />
18
  </reference>
19
+ </adminhtml_importer_index>
20
  </layout>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Raveinfosys_OrderExporter</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -11,9 +11,9 @@
11
  <notes>This is stable version of this extension and has been tested on various version of community editions. &amp;#xD;&#xD;
12
  In this particular version we are supporting it to run on PHP V 5.5.X</notes>
13
  <authors><author><name>Rave Infosys</name><user>raveinfo</user><email>magento@raveinfosys.com</email></author></authors>
14
- <date>2015-08-27</date>
15
- <time>12:48:57</time>
16
- <contents><target name="magecommunity"><dir name="Raveinfosys"><dir name="Exporter"><dir name="Block"><dir name="Adminhtml"><dir name="Exporter"><dir name="Edit"><file name="Form.php" hash="400092e0356c9ec79632ea296a9e72cc"/><dir name="Tab"><file name="Form.php" hash="ae63a5095a4f929555fa6038cce9c18d"/></dir><file name="Tabs.php" hash="0babeb85a2db29aa4b6854c8baec177b"/></dir><file name="Edit.php" hash="79a1d66ea5482a539dfb2a0174b469a6"/><file name="Grid.php" hash="0286e705b323fa71460bf5ed1f29a0bf"/></dir><file name="Exporter.php" hash="0c077445a7bb4f33bf383e34f0fa1260"/></dir><file name="Exporter.php" hash="7bf9256c575b080fad7c4c3cab5017e8"/><dir name="Sales"><dir name="Order"><dir name="Form"><file name="Form.php" hash="54bb9eb64d173ad92229c229c2bc9366"/></dir><file name="Items.php" hash="e87d8e6a38786fe390e7030764458d9e"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="836d093b921ddced4eaedc9ea206f55b"/></dir><dir name="Model"><file name="Createorder.php" hash="a24ebe9696ff7a7cf8bfb157f9b8fefa"/><file name="Exporter.php" hash="5de2fd59c4f5a4fa7e2d32a5503fbdae"/><file name="Exportorders.php" hash="aa636bdcd02880f49e11d44cabd24ead"/><file name="Importorders.php" hash="526c16a774f1c7fd830c06514571d927"/><dir name="Operations"><file name="Creditmemo.php" hash="ad12cb5cbceebf9ab9fb41e42f940557"/><file name="Invoice.php" hash="17225a359399ff1dbe2c1dc3ea2b0137"/><file name="Shipment.php" hash="d83ed179805c3c0b71a29bd48c117edd"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExporterController.php" hash="fcac4d1fb1ab1488f7b9d7ed980f2775"/><file name="ImporterController.php" hash="53228d4d1204d104cf9563e1fd8e3caf"/></dir></dir><dir name="etc"><file name="config.xml" hash="af78cde246d97a2ca1e073a5bd6993fd"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Raveinfosys_Exporter.xml" hash="af376451e72fdac6ac3d8999d2d78c6c"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="exporter.xml" hash="4a85ad0274334473e6cfd620df3e819f"/></dir></dir></dir></dir></target><target name="mage"><dir name="var"><dir name="raveinfosys"><dir name="exporter"><file name="order_exception_log.htm" hash="f082f69ad76d9230d50fd7f134966446"/></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>5.6.12</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Raveinfosys_OrderExporter</name>
4
+ <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
11
  <notes>This is stable version of this extension and has been tested on various version of community editions. &amp;#xD;&#xD;
12
  In this particular version we are supporting it to run on PHP V 5.5.X</notes>
13
  <authors><author><name>Rave Infosys</name><user>raveinfo</user><email>magento@raveinfosys.com</email></author></authors>
14
+ <date>2015-11-18</date>
15
+ <time>10:15:21</time>
16
+ <contents><target name="magecommunity"><dir name="Raveinfosys"><dir name="Exporter"><dir name="Block"><dir name="Adminhtml"><dir name="Exporter"><dir name="Edit"><file name="Form.php" hash="400092e0356c9ec79632ea296a9e72cc"/><dir name="Tab"><file name="Form.php" hash="ae63a5095a4f929555fa6038cce9c18d"/></dir><file name="Tabs.php" hash="0babeb85a2db29aa4b6854c8baec177b"/></dir><file name="Edit.php" hash="79a1d66ea5482a539dfb2a0174b469a6"/><file name="Grid.php" hash="0286e705b323fa71460bf5ed1f29a0bf"/></dir><file name="Exporter.php" hash="0c077445a7bb4f33bf383e34f0fa1260"/></dir><file name="Exporter.php" hash="7bf9256c575b080fad7c4c3cab5017e8"/><dir name="Sales"><dir name="Order"><dir name="Form"><file name="Form.php" hash="54bb9eb64d173ad92229c229c2bc9366"/></dir><file name="Items.php" hash="e87d8e6a38786fe390e7030764458d9e"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="836d093b921ddced4eaedc9ea206f55b"/></dir><dir name="Model"><file name="Createorder.php" hash="a24ebe9696ff7a7cf8bfb157f9b8fefa"/><file name="Exporter.php" hash="5de2fd59c4f5a4fa7e2d32a5503fbdae"/><file name="Exportorders.php" hash="aa636bdcd02880f49e11d44cabd24ead"/><file name="Importorders.php" hash="526c16a774f1c7fd830c06514571d927"/><dir name="Operations"><file name="Creditmemo.php" hash="ad12cb5cbceebf9ab9fb41e42f940557"/><file name="Invoice.php" hash="17225a359399ff1dbe2c1dc3ea2b0137"/><file name="Shipment.php" hash="d83ed179805c3c0b71a29bd48c117edd"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExporterController.php" hash="7bab950a2c42473ee6789caec961ed8d"/><file name="ImporterController.php" hash="53228d4d1204d104cf9563e1fd8e3caf"/></dir></dir><dir name="etc"><file name="config.xml" hash="73f299e777dda8c3a63d2028b8c94a05"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Raveinfosys_Exporter.xml" hash="af376451e72fdac6ac3d8999d2d78c6c"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="exporter.xml" hash="632c8fb654b60ff52d03641eb0589756"/></dir></dir></dir></dir></target><target name="mage"><dir name="var"><dir name="raveinfosys"><dir name="exporter"><file name="order_exception_log.htm" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>5.6.12</max></php></required></dependencies>
19
  </package>
var/raveinfosys/exporter/order_exception_log.htm CHANGED
@@ -1,7 +0,0 @@
1
- <h3 style="text-align:center;">Error information:</h3><hr /><br /><p><strong>Order Id:</strong> 100000077</p>
2
- <p><strong>Error Message:</strong> Order id already exist</p>
3
- <p><strong>Line Number:</strong> 48</p><br /><hr /><br /><br /><p><strong>Order Id:</strong> 100001117</p>
4
- <p><strong>Error Message:</strong> Order id already exist</p>
5
- <p><strong>Line Number:</strong> 54</p><br /><hr /><br /><br /><p><strong>Order Id:</strong> 100002011</p>
6
- <p><strong>Error Message:</strong> Order id already exist</p>
7
- <p><strong>Line Number:</strong> 55</p><br /><hr /><br /><br />