Asperience_DeleteAllOrders - Version 0.1.6

Version Notes

If you have ideas for improvements or find bugs, please send them to Jean-Sébastien Hederer at www.asperience.fr, with ASPerience CatalogRuleExtend as part of the subject line.

Download this release

Release Info

Developer Jean-Sébastien Hederer
Extension Asperience_DeleteAllOrders
Version 0.1.6
Comparing to
See all releases


Code changes from version 0.1.5 to 0.1.6

app/code/community/Asperience/DeleteAllOrders/Model/Observer.php CHANGED
@@ -17,7 +17,7 @@ class Asperience_DeleteAllOrders_Model_Observer
17
  if ($massBlock) {
18
  $massBlock->addItem('delete_order', array(
19
  'label'=> Mage::helper('deleteallorders')->__('Delete All !'),
20
- 'url' => Mage::getUrl('deleteallorders', array('_secure'=>true)),
21
  'confirm' => Mage::helper('deleteallorders')->__('Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!'),
22
  ));
23
  }
17
  if ($massBlock) {
18
  $massBlock->addItem('delete_order', array(
19
  'label'=> Mage::helper('deleteallorders')->__('Delete All !'),
20
+ 'url' => Mage::helper('adminhtml')->getUrl('deleteallorders'),
21
  'confirm' => Mage::helper('deleteallorders')->__('Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!'),
22
  ));
23
  }
app/code/community/Asperience/DeleteAllOrders/Model/Order.php CHANGED
@@ -9,12 +9,31 @@
9
 
10
  class Asperience_DeleteAllOrders_Model_Order extends Mage_Sales_Model_Order
11
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  public function canDelete()
13
  {
14
-
15
- if ($this->getState() === self::STATE_CANCELED || $this->getState() === self::STATE_COMPLETE || $this->getState() === self::STATE_CLOSED) {
16
- return true;
17
- }
18
- return false;
19
  }
20
  }
9
 
10
  class Asperience_DeleteAllOrders_Model_Order extends Mage_Sales_Model_Order
11
  {
12
+ const XML_PATH_SALES_IS_ACTIVE = 'sales/delete_order/is_active';
13
+ const XML_PATH_SALES_DELETE_ALL = 'sales/delete_order/delete_all';
14
+ const XML_PATH_SALES_STATUS = 'sales/delete_order/order_status';
15
+
16
+ public function getDeleteStateIds()
17
+ {
18
+ return explode(',', Mage::getStoreConfig(self::XML_PATH_SALES_STATUS));
19
+ }
20
+
21
+ public function hasAvalaibleState()
22
+ {
23
+ return (in_array($this->getState(), $this->getDeleteStateIds()));
24
+ }
25
+
26
+
27
+ public function hasNoOrdersRelated()
28
+ {
29
+ if (Mage::getStoreConfig(self::XML_PATH_SALES_DELETE_ALL)) {
30
+ return true;
31
+ }
32
+ return (!$this->hasInvoices() && !$this->hasShipments() && !$this->hasCreditmemos());
33
+ }
34
+
35
  public function canDelete()
36
  {
37
+ return ($this->hasAvalaibleState() && $this->hasNoOrdersRelated());
 
 
 
 
38
  }
39
  }
app/code/community/Asperience/DeleteAllOrders/controllers/IndexController.php CHANGED
@@ -10,26 +10,17 @@ require_once 'Mage/Adminhtml/controllers/Sales/OrderController.php';
10
 
11
  class Asperience_DeleteAllOrders_IndexController extends Mage_Adminhtml_Sales_OrderController
12
  {
13
-
14
- const XML_PATH_USE_DELETE = 'admin/delete_order/use_delete_order';
15
-
16
- /**
17
- * Class Constructor
18
- * call the parent Constructor
19
- */
20
-
21
- public function __constuct()
22
  {
23
- parent::__construct();
24
  }
25
-
26
  /**
27
  * Delete selected orders
28
  */
29
  public function indexAction()
30
  {
31
  $orderIds = $this->getRequest()->getPost('order_ids', array());
32
- if (Mage::getStoreConfig(self::XML_PATH_USE_DELETE)){
33
  $countDeleteOrder = 0;
34
  $countDeleteInvoice = 0;
35
  $countDeleteShipment = 0;
@@ -40,7 +31,7 @@ class Asperience_DeleteAllOrders_IndexController extends Mage_Adminhtml_Sales_Or
40
  $order = Mage::getModel('deleteallorders/order')->load($orderId);
41
  if ($order->canDelete()) {
42
 
43
- if($order->hasInvoices()){
44
  $invoices = Mage::getResourceModel('sales/order_invoice_collection')->setOrderFilter($orderId)->load();
45
  foreach($invoices as $invoice){
46
  $invoice = Mage::getModel('sales/order_invoice')->load($invoice->getId());
@@ -49,7 +40,7 @@ class Asperience_DeleteAllOrders_IndexController extends Mage_Adminhtml_Sales_Or
49
  }
50
  }
51
 
52
- if($order->hasShipments()){
53
  $shipments = Mage::getResourceModel('sales/order_shipment_collection')->setOrderFilter($orderId)->load();
54
  foreach($shipments as $shipment){
55
  $shipment = Mage::getModel('sales/order_shipment')->load($shipment->getId());
@@ -58,7 +49,7 @@ class Asperience_DeleteAllOrders_IndexController extends Mage_Adminhtml_Sales_Or
58
  }
59
  }
60
 
61
- if($order->hasCreditmemos()){
62
  $creditmemos = Mage::getResourceModel('sales/order_creditmemo_collection')->setOrderFilter($orderId)->load();
63
  foreach($creditmemos as $creditmemo){
64
  $creditmemo = Mage::getModel('sales/order_creditmemo')->load($creditmemo->getId());
@@ -67,25 +58,24 @@ class Asperience_DeleteAllOrders_IndexController extends Mage_Adminhtml_Sales_Or
67
  }
68
  }
69
 
70
- $order->delete()
71
- ->delete();
72
  $countDeleteOrder++;
73
  }
74
  }
75
 
76
- if ($countDeleteOrder>0) {
77
  $this->_getSession()->addSuccess($this->__('%s sale(s) order(s) was/were successfully deleted.', $countDeleteOrder));
78
- if ($countDeleteInvoice>0) {
79
  $this->_getSession()->addSuccess($this->__('%s invoice(s) order(s) was/were successfully deleted.', $countDeleteInvoice));
80
  }
81
- if ($countDeleteShipment>0) {
82
  $this->_getSession()->addSuccess($this->__('%s shipment(s) order(s) was/were successfully deleted.', $countDeleteShipment));
83
  }
84
- if ($countDeleteCreditmemo>0) {
85
  $this->_getSession()->addSuccess($this->__('%s credit memo(s) order(s) was/were successfully deleted.', $countDeleteCreditmemo));
86
  }
87
  } else {
88
- $this->_getSession()->addError($this->__('To be deleted, the sales orders must be cancelled, complete or closed.', $countDeleteOrder));
89
  }
90
  } catch (Exception $e){
91
  $this->_getSession()->addError($this->__('An error arose during the deletion. %s', $e));
10
 
11
  class Asperience_DeleteAllOrders_IndexController extends Mage_Adminhtml_Sales_OrderController
12
  {
13
+ protected function _construct()
 
 
 
 
 
 
 
 
14
  {
15
+ $this->setUsedModuleName('Asperience_DeleteAllOrders');
16
  }
 
17
  /**
18
  * Delete selected orders
19
  */
20
  public function indexAction()
21
  {
22
  $orderIds = $this->getRequest()->getPost('order_ids', array());
23
+ if (Mage::getStoreConfig(Asperience_DeleteAllOrders_Model_Order::XML_PATH_SALES_IS_ACTIVE)) {
24
  $countDeleteOrder = 0;
25
  $countDeleteInvoice = 0;
26
  $countDeleteShipment = 0;
31
  $order = Mage::getModel('deleteallorders/order')->load($orderId);
32
  if ($order->canDelete()) {
33
 
34
+ if ($order->hasInvoices()) {
35
  $invoices = Mage::getResourceModel('sales/order_invoice_collection')->setOrderFilter($orderId)->load();
36
  foreach($invoices as $invoice){
37
  $invoice = Mage::getModel('sales/order_invoice')->load($invoice->getId());
40
  }
41
  }
42
 
43
+ if ($order->hasShipments()) {
44
  $shipments = Mage::getResourceModel('sales/order_shipment_collection')->setOrderFilter($orderId)->load();
45
  foreach($shipments as $shipment){
46
  $shipment = Mage::getModel('sales/order_shipment')->load($shipment->getId());
49
  }
50
  }
51
 
52
+ if ($order->hasCreditmemos()) {
53
  $creditmemos = Mage::getResourceModel('sales/order_creditmemo_collection')->setOrderFilter($orderId)->load();
54
  foreach($creditmemos as $creditmemo){
55
  $creditmemo = Mage::getModel('sales/order_creditmemo')->load($creditmemo->getId());
58
  }
59
  }
60
 
61
+ $order->delete();
 
62
  $countDeleteOrder++;
63
  }
64
  }
65
 
66
+ if ($countDeleteOrder > 0) {
67
  $this->_getSession()->addSuccess($this->__('%s sale(s) order(s) was/were successfully deleted.', $countDeleteOrder));
68
+ if ($countDeleteInvoice > 0) {
69
  $this->_getSession()->addSuccess($this->__('%s invoice(s) order(s) was/were successfully deleted.', $countDeleteInvoice));
70
  }
71
+ if ($countDeleteShipment > 0) {
72
  $this->_getSession()->addSuccess($this->__('%s shipment(s) order(s) was/were successfully deleted.', $countDeleteShipment));
73
  }
74
+ if ($countDeleteCreditmemo > 0) {
75
  $this->_getSession()->addSuccess($this->__('%s credit memo(s) order(s) was/were successfully deleted.', $countDeleteCreditmemo));
76
  }
77
  } else {
78
+ $this->_getSession()->addError($this->__('Selected order(s) can not be deleted.'));
79
  }
80
  } catch (Exception $e){
81
  $this->_getSession()->addError($this->__('An error arose during the deletion. %s', $e));
app/code/community/Asperience/DeleteAllOrders/etc/config.xml CHANGED
@@ -10,18 +10,16 @@
10
  <config>
11
  <modules>
12
  <Asperience_DeleteAllOrders>
13
- <version>0.1.5</version>
14
  </Asperience_DeleteAllOrders>
15
  </modules>
16
 
17
  <global>
18
-
19
  <helpers>
20
  <deleteallorders>
21
  <class>Asperience_DeleteAllOrders_Helper</class>
22
  </deleteallorders>
23
  </helpers>
24
-
25
  <models>
26
  <deleteallorders>
27
  <class>Asperience_DeleteAllOrders_Model</class>
@@ -40,14 +38,6 @@
40
  </asperience_deleteallorders>
41
  </routers>
42
  </admin>
43
-
44
- <default>
45
- <admin>
46
- <delete_order>
47
- <use_delete_order>1</use_delete_order>
48
- </delete_order>
49
- </admin>
50
- </default>
51
 
52
  <adminhtml>
53
  <translate>
@@ -59,7 +49,6 @@
59
  </Asperience_DeleteOrders>
60
  </modules>
61
  </translate>
62
-
63
  <events>
64
  <!-- A tester :
65
  controller_action_layout_render_before_adminhtml_sales_order_index
@@ -76,5 +65,13 @@
76
  </events>
77
  </adminhtml>
78
 
79
-
 
 
 
 
 
 
 
 
80
  </config>
10
  <config>
11
  <modules>
12
  <Asperience_DeleteAllOrders>
13
+ <version>0.1.6</version>
14
  </Asperience_DeleteAllOrders>
15
  </modules>
16
 
17
  <global>
 
18
  <helpers>
19
  <deleteallorders>
20
  <class>Asperience_DeleteAllOrders_Helper</class>
21
  </deleteallorders>
22
  </helpers>
 
23
  <models>
24
  <deleteallorders>
25
  <class>Asperience_DeleteAllOrders_Model</class>
38
  </asperience_deleteallorders>
39
  </routers>
40
  </admin>
 
 
 
 
 
 
 
 
41
 
42
  <adminhtml>
43
  <translate>
49
  </Asperience_DeleteOrders>
50
  </modules>
51
  </translate>
 
52
  <events>
53
  <!-- A tester :
54
  controller_action_layout_render_before_adminhtml_sales_order_index
65
  </events>
66
  </adminhtml>
67
 
68
+ <default>
69
+ <sales>
70
+ <delete_order>
71
+ <is_active>1</is_active>
72
+ <delete_all>1</delete_all>
73
+ <order_status>complete,closed,canceled</order_status>
74
+ </delete_order>
75
+ </sales>
76
+ </default>
77
  </config>
app/code/community/Asperience/DeleteAllOrders/etc/system.xml CHANGED
@@ -9,24 +9,17 @@
9
  -->
10
  <config>
11
  <sections>
12
- <admin translate="label" module="deleteallorders">
13
- <label>Admin</label>
14
- <tab>advanced</tab>
15
- <frontend_type>text</frontend_type>
16
- <sort_order>20</sort_order>
17
- <show_in_default>1</show_in_default>
18
- <show_in_website>0</show_in_website>
19
- <show_in_store>0</show_in_store>
20
  <groups>
21
  <delete_order translate="label">
22
  <label>Deletion of Orders</label>
23
  <frontend_type>text</frontend_type>
24
- <sort_order>100</sort_order>
25
  <show_in_default>1</show_in_default>
26
  <show_in_website>0</show_in_website>
27
  <show_in_store>0</show_in_store>
28
  <fields>
29
- <use_delete_order translate="label">
30
  <label>Allow to delete the orders</label>
31
  <frontend_type>select</frontend_type>
32
  <source_model>adminhtml/system_config_source_yesno</source_model>
@@ -34,10 +27,28 @@
34
  <show_in_default>1</show_in_default>
35
  <show_in_website>0</show_in_website>
36
  <show_in_store>0</show_in_store>
37
- </use_delete_order>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  </fields>
39
  </delete_order>
40
  </groups>
41
- </admin>
42
  </sections>
43
  </config>
9
  -->
10
  <config>
11
  <sections>
12
+ <sales translate="label" module="deleteallorders">
 
 
 
 
 
 
 
13
  <groups>
14
  <delete_order translate="label">
15
  <label>Deletion of Orders</label>
16
  <frontend_type>text</frontend_type>
17
+ <sort_order>120</sort_order>
18
  <show_in_default>1</show_in_default>
19
  <show_in_website>0</show_in_website>
20
  <show_in_store>0</show_in_store>
21
  <fields>
22
+ <is_active translate="label">
23
  <label>Allow to delete the orders</label>
24
  <frontend_type>select</frontend_type>
25
  <source_model>adminhtml/system_config_source_yesno</source_model>
27
  <show_in_default>1</show_in_default>
28
  <show_in_website>0</show_in_website>
29
  <show_in_store>0</show_in_store>
30
+ </is_active>
31
+ <delete_all translate="label">
32
+ <label>Remove orders with invoices, shipments or credit memos related</label>
33
+ <frontend_type>select</frontend_type>
34
+ <source_model>adminhtml/system_config_source_yesno</source_model>
35
+ <sort_order>2</sort_order>
36
+ <show_in_default>1</show_in_default>
37
+ <show_in_website>0</show_in_website>
38
+ <show_in_store>0</show_in_store>
39
+ </delete_all>
40
+ <order_status translate="label">
41
+ <label>Delete order status</label>
42
+ <frontend_type>multiselect</frontend_type>
43
+ <source_model>adminhtml/system_config_source_order_status</source_model>
44
+ <sort_order>3</sort_order>
45
+ <show_in_default>1</show_in_default>
46
+ <show_in_website>01</show_in_website>
47
+ <show_in_store>0</show_in_store>
48
+ </order_status>
49
  </fields>
50
  </delete_order>
51
  </groups>
52
+ </sales>
53
  </sections>
54
  </config>
app/locale/de_DE/Asperience_DeleteAllOrders.csv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "%s sale(s) order(s) was/were successfully deleted.","% Bestellung(en) war(en) erfolgreich geloschen."
2
+ "%s invoice(s) order(s) was/were successfully deleted.","% Einkaufsrechnung(en) war(en) erfolgreich geloschen."
3
+ "%s shipment(s) order(s) was/were successfully deleted.","% Artikelversand(e) war(en) erfolgreich geloschen."
4
+ "%s credit memo(s) order(s) was/were successfully deleted.","% Nachnahme(n) war(en) erfolgreich geloschen."
5
+ "Selected order(s) can not be deleted.","Selected order(s) can not be deleted."
6
+ "An error arose during the deletion. %s","Bei Bestellung ereignete sich einen Irrtum."
7
+ "This feature was deactivated.","Diese Funktionalität war deaktiviert. "
8
+ "Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!","Sind Sie Sicher, dass Sie die ausgewählte Bestellung löschen wollen ? Die verbunden Einkaufsrechnungen/Artikelversande/Nachnahmen werden auch geloschen."
9
+ "Delete All !","Alles löschen !"
10
+ "Allow to delete the orders","Das Löschen der Bestellungen zulassen."
11
+ "Deletion of Orders","Löschen der Bestellungen."
12
+ "Delete order status","Delete order status"
13
+ "Remove orders with invoices, shipments or credit memos related","Remove orders with invoices, shipments or credit memos related"
app/locale/en_US/Asperience_DeleteAllOrders.csv CHANGED
@@ -2,10 +2,12 @@
2
  "%s invoice(s) order(s) was/were successfully deleted.","%s invoice(s) order(s) was/were successfully deleted."
3
  "%s shipment(s) order(s) was/were successfully deleted.","%s shipment(s) order(s) was/were successfully deleted."
4
  "%s credit memo(s) order(s) was/were successfully deleted.","%s credit memo(s) order(s) was/were successfully deleted."
5
- "To be deleted, the sales orders must be cancelled, complete or closed.","To be deleted, the sales orders must be cancelled, complete or closed."
6
  "An error arose during the deletion. %s","An error arose during the deletion. %s"
7
  "This feature was deactivated.","This feature was deactivated."
8
  "Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!","Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!"
9
  "Delete All !","Delete All !"
10
  "Allow to delete the orders","Allow to delete the orders"
11
- "Deletion of Orders","Deletion of Orders"
 
 
2
  "%s invoice(s) order(s) was/were successfully deleted.","%s invoice(s) order(s) was/were successfully deleted."
3
  "%s shipment(s) order(s) was/were successfully deleted.","%s shipment(s) order(s) was/were successfully deleted."
4
  "%s credit memo(s) order(s) was/were successfully deleted.","%s credit memo(s) order(s) was/were successfully deleted."
5
+ "Selected order(s) can not be deleted.","Selected order(s) can not be deleted."
6
  "An error arose during the deletion. %s","An error arose during the deletion. %s"
7
  "This feature was deactivated.","This feature was deactivated."
8
  "Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!","Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!"
9
  "Delete All !","Delete All !"
10
  "Allow to delete the orders","Allow to delete the orders"
11
+ "Deletion of Orders","Deletion of Orders"
12
+ "Delete order status","Delete order status"
13
+ "Remove orders with invoices, shipments or credit memos related","Remove orders with invoices, shipments or credit memos related"
app/locale/fr_FR/Asperience_DeleteAllOrders.csv CHANGED
@@ -2,10 +2,12 @@
2
  "%s invoice(s) order(s) was/were successfully deleted.","%s facture(s) a/ont été supprimée(s) avec succès."
3
  "%s shipment(s) order(s) was/were successfully deleted.","%s expédition(s) a/ont été supprimée(s) avec succès."
4
  "%s credit memo(s) order(s) was/were successfully deleted.","%s remboursement(s) a/ont été supprimé(s) avec succès."
5
- "To be deleted, the sales orders must be cancelled, complete or closed.","Pour être supprimées, les commandes doivent être annulées, terminées ou fermées."
6
  "An error arose during the deletion. %s","Une erreur est survenue lors de la suppression. %s"
7
  "This feature was deactivated.","Cette fonctionnalité a été désactivée."
8
  "Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!","Etes vous sûr de bien vouloir supprimer les commandes sélectionnées? Attention: les factures/expéditions/remboursements associés seront également effacés!"
9
  "Delete All !","Supprimer tout !"
10
  "Allow to delete the orders","Permettre de supprimer les commandes"
11
- "Deletion of Orders","Suppression des commandes"
 
 
2
  "%s invoice(s) order(s) was/were successfully deleted.","%s facture(s) a/ont été supprimée(s) avec succès."
3
  "%s shipment(s) order(s) was/were successfully deleted.","%s expédition(s) a/ont été supprimée(s) avec succès."
4
  "%s credit memo(s) order(s) was/were successfully deleted.","%s remboursement(s) a/ont été supprimé(s) avec succès."
5
+ "Selected order(s) can not be deleted.","Le(s) commande(s) sélectionné(s) ne peu(ven)t pas être supprimé(s)."
6
  "An error arose during the deletion. %s","Une erreur est survenue lors de la suppression. %s"
7
  "This feature was deactivated.","Cette fonctionnalité a été désactivée."
8
  "Are you sure to delete the selected sales orders? Warning: invoices/shipments/credit memos associated will be also deleted!","Etes vous sûr de bien vouloir supprimer les commandes sélectionnées? Attention: les factures/expéditions/remboursements associés seront également effacés!"
9
  "Delete All !","Supprimer tout !"
10
  "Allow to delete the orders","Permettre de supprimer les commandes"
11
+ "Deletion of Orders","Suppression des commandes"
12
+ "Delete order status","Statuts des commandes supprimables"
13
+ "Remove orders with invoices, shipments or credit memos related","Supprimer les commandes avec des factures, expéditions ou remboursements liés"
package.xml CHANGED
@@ -1,21 +1,23 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Asperience_DeleteAllOrders</name>
4
- <version>0.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extension allowing to delete all Test Orders.</summary>
10
- <description>This extension allows to delete selected sales orders, invoices, shipments and credit memos.
11
- Sales orders must be have status: &#xAB;&#xA0;cancelled&#xA0;&#xBB;, &#xAB;&#xA0;ended&#xA0;&#xBB; or &#xAB;&#xA0;closed&#xA0;&#xBB;.
12
-
13
- Warning: It's preferable to delete only the testing orders during the development of your local website. You take risks if you delete Orders directly in your Website.</description>
 
 
14
  <notes>If you have ideas for improvements or find bugs, please send them to Jean-S&#xE9;bastien Hederer at www.asperience.fr, with ASPerience CatalogRuleExtend as part of the subject line.</notes>
15
- <authors><author><name>Jean-S&#xE9;bastien Hederer</name><user>auto-converted</user><email>hedererjs@asperience.fr</email></author><author><name>Ronan Capitaine</name><user>auto-converted</user><email>capitainer@asperience.fr</email></author></authors>
16
- <date>2011-06-28</date>
17
- <time>09:33:30</time>
18
- <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Asperience_DeleteAllOrders.xml" hash="564d484d06362fee6d4f0b42660bfa85"/></dir></dir></dir></target><target name="magecommunity"><dir name="Asperience"><dir name="DeleteAllOrders"><dir name="controllers"><file name="IndexController.php" hash="5b10c12feadd5612c79771b0b403223c"/></dir><dir name="etc"><file name="config.xml" hash="35e72a06dddb7fa4cb50f38396d2106c"/><file name="system.xml" hash="107d11c39d6fa5ca4496798068638172"/></dir><dir name="Helper"><file name="Data.php" hash="747caa90dd55fd313f5aa0a642f89b28"/></dir><dir name="Model"><file name="Observer.php" hash="1ad5d89484630a98a75e71fc426f62db"/><file name="Order.php" hash="06289d3215d40d4b9c46086fdb5a642c"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Asperience_DeleteAllOrders.csv" hash="d4b3da5ed458d5b58fbf8dc56405b112"/></dir><dir name="fr_FR"><file name="Asperience_DeleteAllOrders.csv" hash="db12b650a9d5ceb36da061b9b3a3d32b"/></dir></target></contents>
19
  <compatible/>
20
- <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Asperience_DeleteAllOrders</name>
4
+ <version>0.1.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Extension allowing to delete all Test Orders.</summary>
10
+ <description>This extension allows to delete selected sales orders, invoices, shipments and credit memos.&#xD;
11
+ You can set the status of orders you want to delete in the configuration section.&#xD;
12
+ &#xD;
13
+ Warning: It's preferable to delete only the testing orders during the development of your local website. You take risks if you delete Orders directly in your Website.&#xD;
14
+ &#xD;
15
+ </description>
16
  <notes>If you have ideas for improvements or find bugs, please send them to Jean-S&#xE9;bastien Hederer at www.asperience.fr, with ASPerience CatalogRuleExtend as part of the subject line.</notes>
17
+ <authors><author><name>Jean-S&#xE9;bastien Hederer</name><user>hedererjs</user><email>hedererjs@asperience.fr</email></author><author><name>Ronan Capitaine</name><user>Ronan_Capitaine</user><email>capitainer@asperience.fr</email></author></authors>
18
+ <date>2012-01-11</date>
19
+ <time>10:18:23</time>
20
+ <contents><target name="magecommunity"><dir name="Asperience"><dir name="DeleteAllOrders"><dir name="Helper"><file name="Data.php" hash="747caa90dd55fd313f5aa0a642f89b28"/></dir><dir name="Model"><file name="Observer.php" hash="b8dba70bd7129af744c9b45ec0181a86"/><file name="Order.php" hash="05b7023c48d5fcc09db3e0a5cbe59799"/></dir><dir name="controllers"><file name="IndexController.php" hash="f087896cbadd47c8c4e7c2ec40f0a4bc"/></dir><dir name="etc"><file name="config.xml" hash="35dc0076b23dd714e593f1e7539df4be"/><file name="system.xml" hash="b983a7573258e1fe4499cc8306c2b425"/></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Asperience_DeleteAllOrders.xml" hash="564d484d06362fee6d4f0b42660bfa85"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Asperience_DeleteAllOrders.csv" hash="133b85bcad208bc5142cb52cb7819116"/></dir><dir name="fr_FR"><file name="Asperience_DeleteAllOrders.csv" hash="f3cdb649700bb09b04ea9ed976d483d7"/></dir><dir name="de_DE"><file name="Asperience_DeleteAllOrders.csv" hash="ab96207271d57d4e1af94b5101e2ba75"/></dir></target></contents>
21
  <compatible/>
22
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>