Version Notes
Delete Orders version 0.1.1
Download this release
Release Info
Developer | MageHit |
Extension | Magehit_DeleteOrrders |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
app/code/local/Magehit/Deleteorder/Model/Observer.php
CHANGED
@@ -9,7 +9,7 @@ class Magehit_Deleteorder_Model_Observer
|
|
9 |
if ($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction && $block->getRequest()->getControllerName() == 'sales_order') {
|
10 |
$block->addItem('delete-order-magehit', array(
|
11 |
'label' => '' . Mage::helper('deleteorder')->__('Delete Order(s)'),
|
12 |
-
'url' => Mage::helper("adminhtml")->getUrl('
|
13 |
));
|
14 |
}
|
15 |
}
|
9 |
if ($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction && $block->getRequest()->getControllerName() == 'sales_order') {
|
10 |
$block->addItem('delete-order-magehit', array(
|
11 |
'label' => '' . Mage::helper('deleteorder')->__('Delete Order(s)'),
|
12 |
+
'url' => Mage::helper("adminhtml")->getUrl('adminhtml/deleteorder_deleteorders/deleteOrders'),
|
13 |
));
|
14 |
}
|
15 |
}
|
app/code/local/Magehit/Deleteorder/controllers/Adminhtml/{IndexController.php → Deleteorder/DeleteordersController.php}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
class
|
3 |
{
|
4 |
public function deleteOrdersAction()
|
5 |
{
|
1 |
<?php
|
2 |
+
class Magehit_Deleteorder_Adminhtml_Deleteorder_DeleteordersController extends Mage_Adminhtml_Controller_Action
|
3 |
{
|
4 |
public function deleteOrdersAction()
|
5 |
{
|
app/code/local/Magehit/Deleteorder/etc/config.xml
CHANGED
@@ -7,13 +7,13 @@
|
|
7 |
</modules>
|
8 |
<admin>
|
9 |
<routers>
|
10 |
-
<
|
11 |
-
<use>admin</use>
|
12 |
<args>
|
13 |
-
<
|
14 |
-
|
|
|
15 |
</args>
|
16 |
-
</
|
17 |
</routers>
|
18 |
</admin>
|
19 |
<adminhtml>
|
@@ -21,12 +21,12 @@
|
|
21 |
<modules>
|
22 |
<Magehit_Deleteorder>
|
23 |
<files>
|
24 |
-
<default>
|
25 |
</files>
|
26 |
</Magehit_Deleteorder>
|
27 |
</modules>
|
28 |
</translate>
|
29 |
-
|
30 |
<events>
|
31 |
<core_block_abstract_to_html_before>
|
32 |
<observers>
|
7 |
</modules>
|
8 |
<admin>
|
9 |
<routers>
|
10 |
+
<adminhtml>
|
|
|
11 |
<args>
|
12 |
+
<modules>
|
13 |
+
<deleteorder before="Mage_Adminhtml">Magehit_Deleteorder_Adminhtml</deleteorder>
|
14 |
+
</modules>
|
15 |
</args>
|
16 |
+
</adminhtml>
|
17 |
</routers>
|
18 |
</admin>
|
19 |
<adminhtml>
|
21 |
<modules>
|
22 |
<Magehit_Deleteorder>
|
23 |
<files>
|
24 |
+
<default>Magehit_Deleteorder.csv</default>
|
25 |
</files>
|
26 |
</Magehit_Deleteorder>
|
27 |
</modules>
|
28 |
</translate>
|
29 |
+
|
30 |
<events>
|
31 |
<core_block_abstract_to_html_before>
|
32 |
<observers>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magehit_DeleteOrrders</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Delete Orders version 0.1.
|
10 |
-
<description>Delete Orders version 0.1.
|
11 |
-
<notes>Delete Orders version 0.1.
|
12 |
<authors><author><name>MageHit</name><user>magehit</user><email>support@magehit.com</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Magehit"><dir name="Deleteorder"><dir name="Helper"><file name="Data.php" hash="2d1fcd27fa5eae9ea5b460f02d2858cb"/></dir><dir name="Model"><file name="Config.php" hash="664dc88379f1079edc2417e18b5dbbc9"/><file name="Observer.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magehit_DeleteOrrders</name>
|
4 |
+
<version>0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Delete Orders version 0.1.1</summary>
|
10 |
+
<description>Delete Orders version 0.1.1</description>
|
11 |
+
<notes>Delete Orders version 0.1.1</notes>
|
12 |
<authors><author><name>MageHit</name><user>magehit</user><email>support@magehit.com</email></author></authors>
|
13 |
+
<date>2015-11-09</date>
|
14 |
+
<time>03:30:56</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Magehit"><dir name="Deleteorder"><dir name="Helper"><file name="Data.php" hash="2d1fcd27fa5eae9ea5b460f02d2858cb"/></dir><dir name="Model"><file name="Config.php" hash="664dc88379f1079edc2417e18b5dbbc9"/><file name="Observer.php" hash="6e152b15a69e33d5b49cbcdb1c914501"/><file name="Order.php" hash="a72e837ab2b7b0a18c799d3f3d8ac7d9"/><file name="Status.php" hash="3edb78e93f5505409bc3ef9694fdb2fc"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Deleteorder"><file name="DeleteordersController.php" hash="c82c754736ae714a29dda8a333eb8d86"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d183cf1031e19320048bd872fd9f02e8"/><file name="config.xml" hash="108e4dbe97f7a66b3aa188910ce98142"/><file name="system.xml" hash="efb0f61a82d0f11ba8082f48a1c0cbca"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magehit_Deleteorder.xml" hash="284f56283266a8e8f110123812a042fe"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magehit_Deleteorder.csv" hash="daa13ecced4f79f55f9de0d2cdd2e1c3"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|