Raveinfosys_Deleteorder - Version 1.0.9

Version Notes

This version is properly tested on the following Magento CE versions: 1.5, 1.6, 1.7, 1.8, 1.9.0.1;

In this particular version we are supporting it to run on PHP V 5.5.11

Download this release

Release Info

Developer Rave Infosys
Extension Raveinfosys_Deleteorder
Version 1.0.9
Comparing to
See all releases


Code changes from version 1.0.8 to 1.0.9

app/code/community/Raveinfosys/Deleteorder/Block/Adminhtml/Sales/Order/Grid.php CHANGED
@@ -163,7 +163,7 @@ class Raveinfosys_Deleteorder_Block_Adminhtml_Sales_Order_Grid extends Mage_Admi
163
 
164
  $this->getMassactionBlock()->addItem('delete_order', array(
165
  'label'=> Mage::helper('sales')->__('Delete Order'),
166
- 'url' => $this->getUrl('deleteorder/adminhtml_deleteorder/massDelete'),
167
  'confirm' => Mage::helper('sales')->__('Are you sure you want to delete order?')
168
  ));
169
 
163
 
164
  $this->getMassactionBlock()->addItem('delete_order', array(
165
  'label'=> Mage::helper('sales')->__('Delete Order'),
166
+ 'url' => $this->getUrl('*/deleteorder/massDelete'),
167
  'confirm' => Mage::helper('sales')->__('Are you sure you want to delete order?')
168
  ));
169
 
app/code/community/Raveinfosys/Deleteorder/Block/Adminhtml/Sales/Order/Render/Delete.php CHANGED
@@ -7,7 +7,7 @@ class Raveinfosys_Deleteorder_Block_Adminhtml_Sales_Order_Render_Delete extends
7
  $message = Mage::helper('sales')->__('Are you sure you want to delete this order?');
8
  $orderID = $getData['entity_id'];
9
  $view = $this->getUrl('*/sales_order/view',array('order_id' => $orderID));
10
- $delete = $this->getUrl('deleteorder/adminhtml_deleteorder/delete',array('order_id' => $orderID));
11
  $link = '<a href="'.$view.'">View</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="deleteConfirm(\''.$message.'\', \'' . $delete . '\')">Delete</a>';
12
  return $link;
13
  }
7
  $message = Mage::helper('sales')->__('Are you sure you want to delete this order?');
8
  $orderID = $getData['entity_id'];
9
  $view = $this->getUrl('*/sales_order/view',array('order_id' => $orderID));
10
+ $delete = $this->getUrl('*/deleteorder/delete',array('order_id' => $orderID));
11
  $link = '<a href="'.$view.'">View</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="deleteConfirm(\''.$message.'\', \'' . $delete . '\')">Delete</a>';
12
  return $link;
13
  }
app/code/community/Raveinfosys/Deleteorder/Block/Adminhtml/Sales/Order/View.php CHANGED
@@ -13,7 +13,7 @@
13
 
14
  public function getDeleteUrl()
15
  {
16
- return $this->getUrl('deleteorder/adminhtml_deleteorder/delete', array('_current'=>true));
17
  }
18
  }
19
  ?>
13
 
14
  public function getDeleteUrl()
15
  {
16
+ return $this->getUrl('*/deleteorder/delete', array('_current'=>true));
17
  }
18
  }
19
  ?>
app/code/community/Raveinfosys/Deleteorder/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Raveinfosys_Deleteorder>
5
- <version>0.1.0</version>
6
  </Raveinfosys_Deleteorder>
7
  </modules>
8
  <frontend>
@@ -25,13 +25,13 @@
25
  </frontend>
26
  <admin>
27
  <routers>
28
- <deleteorder>
29
- <use>admin</use>
30
- <args>
31
- <module>Raveinfosys_Deleteorder</module>
32
- <frontName>deleteorder</frontName>
33
- </args>
34
- </deleteorder>
35
  </routers>
36
  </admin>
37
  <adminhtml>
@@ -52,9 +52,9 @@
52
  </acl>
53
  <layout>
54
  <updates>
55
- <deleteorder>
56
  <file>deleteorder.xml</file>
57
- </deleteorder>
58
  </updates>
59
  </layout>
60
  </adminhtml>
@@ -101,15 +101,15 @@
101
  <rewrite>
102
  <sales_order_view>Raveinfosys_Deleteorder_Block_Adminhtml_Sales_Order_View</sales_order_view>
103
  </rewrite>
104
- </adminhtml>
105
  <deleteorder>
106
  <class>Raveinfosys_Deleteorder_Block</class>
107
  </deleteorder>
108
  </blocks>
109
  <helpers>
110
- <deleteorder>
111
  <class>Raveinfosys_Deleteorder_Helper</class>
112
- </deleteorder>
113
  </helpers>
114
  </global>
115
  </config>
2
  <config>
3
  <modules>
4
  <Raveinfosys_Deleteorder>
5
+ <version>1.0.9</version>
6
  </Raveinfosys_Deleteorder>
7
  </modules>
8
  <frontend>
25
  </frontend>
26
  <admin>
27
  <routers>
28
+ <adminhtml>
29
+ <args>
30
+ <modules>
31
+ <raveinfosys_deleteorder before="Mage_Adminhtml">Raveinfosys_Deleteorder_Adminhtml</raveinfosys_deleteorder>
32
+ </modules>
33
+ </args>
34
+ </adminhtml>
35
  </routers>
36
  </admin>
37
  <adminhtml>
52
  </acl>
53
  <layout>
54
  <updates>
55
+ <raveinfosys_deleteorder>
56
  <file>deleteorder.xml</file>
57
+ </raveinfosys_deleteorder>
58
  </updates>
59
  </layout>
60
  </adminhtml>
101
  <rewrite>
102
  <sales_order_view>Raveinfosys_Deleteorder_Block_Adminhtml_Sales_Order_View</sales_order_view>
103
  </rewrite>
104
+ </adminhtml>
105
  <deleteorder>
106
  <class>Raveinfosys_Deleteorder_Block</class>
107
  </deleteorder>
108
  </blocks>
109
  <helpers>
110
+ <raveinfosys_deleteorder>
111
  <class>Raveinfosys_Deleteorder_Helper</class>
112
+ </raveinfosys_deleteorder>
113
  </helpers>
114
  </global>
115
  </config>
package.xml CHANGED
@@ -1,19 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Raveinfosys_Deleteorder</name>
4
- <version>1.0.8</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension allows you to delete orders. </summary>
10
- <description>Magento doesn't allow you to delete orders. You can only mark it to cancelled but you can't delete it. This extension allows you to seamlessly delete any order. We have provided three options to delete any order. 1) option to delete any order from the order list page, 2) option to delete any order from the order page, 3) option to delete mass order from the order list page. </description>
11
- <notes>This version is properly tested on the following Magento CE versions: 1.5, 1.6, 1.7, 1.8, 1.9.0.1;&#xD;
12
- In this particular version we are supporting it to run on PHP V 5.5.15</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:22</time>
16
- <contents><target name="magecommunity"><dir name="Raveinfosys"><dir name="Deleteorder"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="9d3870026701ef1250c7cf2d50d8e5bf"/><dir name="Render"><file name="Delete.php" hash="f2b03ab25c61f1af2bf2149c72eb8405"/></dir><file name="View.php" hash="927f52f9bdee13b6a9db09fb2830f2cc"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="c169154213a43dffd8e20c11db9b4085"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="DeleteorderController.php" hash="5fd6536b41a3785ed36cc1a92efb6849"/></dir></dir><dir name="etc"><file name="config.xml" hash="1da7a12e990885aa7318ec995bad0c58"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Raveinfosys_Deleteorder.xml" hash="1d73a901977f08e90563dd8c5c8adb64"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="deleteorder.xml" hash="7d07207d7c1103b44526c9344d593354"/></dir></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_Deleteorder</name>
4
+ <version>1.0.9</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension allows you to delete orders. </summary>
10
+ <description>Magento doesn't allow you to delete orders. You can only mark it to cancelled but you can't delete it. &#xD;
11
+ This extension allows you to seamlessly delete any order. We have provided three options to delete any order. &#xD;
12
+ 1) option to delete any order from the order list page, 2) option to delete any order from the order page, &#xD;
13
+ 3) option to delete mass order from the order list page. </description>
14
+ <notes>This version is properly tested on the following Magento CE versions: 1.5, 1.6, 1.7, 1.8, 1.9.0.1;&amp;#xD;&#xD;
15
+ In this particular version we are supporting it to run on PHP V 5.5.11</notes>
16
  <authors><author><name>Rave Infosys</name><user>raveinfo</user><email>magento@raveinfosys.com</email></author></authors>
17
+ <date>2015-11-06</date>
18
+ <time>12:24:51</time>
19
+ <contents><target name="magecommunity"><dir name="Raveinfosys"><dir name="Deleteorder"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="e872c7edf5167accefbe610f2018fe47"/><dir name="Render"><file name="Delete.php" hash="e749864749a96cc60fab8c01145ff2e6"/></dir><file name="View.php" hash="6a0f7c99e3ae18ad9f2ec64cb254879c"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="c169154213a43dffd8e20c11db9b4085"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="DeleteorderController.php" hash="5fd6536b41a3785ed36cc1a92efb6849"/></dir></dir><dir name="etc"><file name="config.xml" hash="e880c5fe329fa7fea65fa25a0729ae27"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Raveinfosys_Deleteorder.xml" hash="1d73a901977f08e90563dd8c5c8adb64"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="deleteorder.xml" hash="7d07207d7c1103b44526c9344d593354"/></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
+ <dependencies><required><php><min>5.2.0</min><max>5.6.11</max></php></required></dependencies>
22
  </package>