Version Notes
Add feature "Delete Order" to your magento store.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Easy_PDF_Delete_Order |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- app/code/community/VES/DeleteOrder/Helper/Data.php +11 -0
- app/code/community/VES/DeleteOrder/Model/Observer.php +21 -0
- app/code/community/VES/DeleteOrder/controllers/Adminhtml/IndexController.php +31 -0
- app/code/community/VES/DeleteOrder/etc/config.xml +81 -0
- app/code/community/VES/DeleteOrder/etc/system.xml +829 -0
- app/etc/modules/VES_DeleteOrder.xml +9 -0
- package.xml +18 -0
app/code/community/VES/DeleteOrder/Helper/Data.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* VES_DeleteOrder_Helper_Data
|
4 |
+
*
|
5 |
+
* @author VnEcoms Team <support@vnecoms.com>
|
6 |
+
* @website http://www.vnecoms.com
|
7 |
+
*/
|
8 |
+
class VES_DeleteOrder_Helper_Data extends Mage_Core_Helper_Abstract
|
9 |
+
{
|
10 |
+
|
11 |
+
}
|
app/code/community/VES/DeleteOrder/Model/Observer.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* VES_PdfPro_Model_Observer
|
4 |
+
*
|
5 |
+
* @author VnEcoms Team <support@vnecoms.com>
|
6 |
+
* @website http://www.vnecoms.com
|
7 |
+
*/
|
8 |
+
class VES_DeleteOrder_Model_Observer
|
9 |
+
{
|
10 |
+
public function core_block_abstract_prepare_layout_before(Varien_Event_Observer $observer){
|
11 |
+
if(!Mage::getStoreConfig('deleteorder/config/enabled')) return;
|
12 |
+
$block = $observer->getEvent()->getBlock();
|
13 |
+
if($block instanceof Mage_Adminhtml_Block_Widget_Grid_Massaction && $block->getRequest()->getControllerName() == 'sales_order')
|
14 |
+
{
|
15 |
+
$block->addItem('easypdf-delete-order', array(
|
16 |
+
'label'=> 'Easy PDF - '.Mage::helper('deleteorder')->__('Delete Orders'),
|
17 |
+
'url' => Mage::getUrl('deleteorder_cp/adminhtml_index/deleteOrders'),
|
18 |
+
));
|
19 |
+
}
|
20 |
+
}
|
21 |
+
}
|
app/code/community/VES/DeleteOrder/controllers/Adminhtml/IndexController.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* VES_DeleteOrder_Adminhtml_PrintController
|
4 |
+
*
|
5 |
+
* @author VnEcoms Team <support@vnecoms.com>
|
6 |
+
* @website http://www.vnecoms.com
|
7 |
+
*/
|
8 |
+
|
9 |
+
class VES_DeleteOrder_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action
|
10 |
+
{
|
11 |
+
/**
|
12 |
+
* Delete Orders
|
13 |
+
*/
|
14 |
+
public function deleteOrdersAction(){
|
15 |
+
$orderIds = $this->getRequest()->getParam('order_ids');
|
16 |
+
if (empty($orderIds)) {
|
17 |
+
Mage::getSingleton('adminhtml/session')->addError('There is no order to process');
|
18 |
+
$this->_redirect('adminhtml/sales_order');
|
19 |
+
return;
|
20 |
+
}
|
21 |
+
try{
|
22 |
+
foreach($orderIds as $orderId){
|
23 |
+
Mage::getModel('sales/order')->load($orderId)->delete();
|
24 |
+
}
|
25 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('%s has been deleted successfully',count($orderIds)));
|
26 |
+
}catch(Exception $e){
|
27 |
+
Mage::getSingleton('core/session')->addError($e->getMessage());
|
28 |
+
}
|
29 |
+
$this->_redirect('adminhtml/sales_order');
|
30 |
+
}
|
31 |
+
}
|
app/code/community/VES/DeleteOrder/etc/config.xml
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<VES_DeleteOrder>
|
5 |
+
<version>0.1.0</version>
|
6 |
+
</VES_DeleteOrder>
|
7 |
+
</modules>
|
8 |
+
<admin>
|
9 |
+
<routers>
|
10 |
+
<deleteorder_cp>
|
11 |
+
<use>admin</use>
|
12 |
+
<args>
|
13 |
+
<module>VES_DeleteOrder</module>
|
14 |
+
<frontName>deleteorder_cp</frontName>
|
15 |
+
</args>
|
16 |
+
</deleteorder_cp>
|
17 |
+
</routers>
|
18 |
+
</admin>
|
19 |
+
<adminhtml>
|
20 |
+
<translate>
|
21 |
+
<modules>
|
22 |
+
<VES_DeleteOrder>
|
23 |
+
<files>
|
24 |
+
<default>VES_DeleteOrder.csv</default>
|
25 |
+
</files>
|
26 |
+
</VES_DeleteOrder>
|
27 |
+
</modules>
|
28 |
+
</translate>
|
29 |
+
<acl>
|
30 |
+
<resources>
|
31 |
+
<all>
|
32 |
+
<title>Allow Everything</title>
|
33 |
+
</all>
|
34 |
+
<admin>
|
35 |
+
<children>
|
36 |
+
<system>
|
37 |
+
<children>
|
38 |
+
<config>
|
39 |
+
<children>
|
40 |
+
<deleteorder translate="title" module="deleteorder">
|
41 |
+
<title>Easy PDF - Delete Order</title>
|
42 |
+
</deleteorder>
|
43 |
+
</children>
|
44 |
+
</config>
|
45 |
+
</children>
|
46 |
+
</system>
|
47 |
+
</children>
|
48 |
+
</admin>
|
49 |
+
</resources>
|
50 |
+
</acl>
|
51 |
+
<events>
|
52 |
+
<core_block_abstract_prepare_layout_before>
|
53 |
+
<observers>
|
54 |
+
<deleteorder>
|
55 |
+
<class>deleteorder/observer</class>
|
56 |
+
<method>core_block_abstract_prepare_layout_before</method>
|
57 |
+
</deleteorder>
|
58 |
+
</observers>
|
59 |
+
</core_block_abstract_prepare_layout_before>
|
60 |
+
</events>
|
61 |
+
</adminhtml>
|
62 |
+
<global>
|
63 |
+
<models>
|
64 |
+
<deleteorder>
|
65 |
+
<class>VES_DeleteOrder_Model</class>
|
66 |
+
</deleteorder>
|
67 |
+
</models>
|
68 |
+
<helpers>
|
69 |
+
<deleteorder>
|
70 |
+
<class>VES_DeleteOrder_Helper</class>
|
71 |
+
</deleteorder>
|
72 |
+
</helpers>
|
73 |
+
</global>
|
74 |
+
<default>
|
75 |
+
<deleteorder>
|
76 |
+
<config>
|
77 |
+
<enabled>1</enabled>
|
78 |
+
</config>
|
79 |
+
</deleteorder>
|
80 |
+
</default>
|
81 |
+
</config>
|
app/code/community/VES/DeleteOrder/etc/system.xml
ADDED
@@ -0,0 +1,829 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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label">
|
5 |
+
<label>VnEcoms</label>
|
6 |
+
<sort_order>400</sort_order>
|
7 |
+
</ves>
|
8 |
+
</tabs>
|
9 |
+
|
10 |
+
<sections>
|
11 |
+
<pdfpro translate="label" module="pdfpro">
|
12 |
+
<label>Easy PDF</label>
|
13 |
+
<tab>ves</tab>
|
14 |
+
<frontend_type>text</frontend_type>
|
15 |
+
<sort_order>101</sort_order>
|
16 |
+
<show_in_default>1</show_in_default>
|
17 |
+
<show_in_website>1</show_in_website>
|
18 |
+
<show_in_store>1</show_in_store>
|
19 |
+
<groups>
|
20 |
+
<config>
|
21 |
+
<label>General</label>
|
22 |
+
<frontend_type>text</frontend_type>
|
23 |
+
<sort_order>10</sort_order>
|
24 |
+
<show_in_default>1</show_in_default>
|
25 |
+
<show_in_website>1</show_in_website>
|
26 |
+
<show_in_store>1</show_in_store>
|
27 |
+
<fields>
|
28 |
+
<enabled>
|
29 |
+
<label>Enable Easy PDF Module</label>
|
30 |
+
<frontend_type>select</frontend_type>
|
31 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
32 |
+
<sort_order>10</sort_order>
|
33 |
+
<show_in_default>1</show_in_default>
|
34 |
+
<show_in_website>1</show_in_website>
|
35 |
+
<show_in_store>1</show_in_store>
|
36 |
+
</enabled>
|
37 |
+
<default_key>
|
38 |
+
<label>Default API Key</label>
|
39 |
+
<frontend_type>select</frontend_type>
|
40 |
+
<source_model>pdfpro/source_key</source_model>
|
41 |
+
<sort_order>15</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
<frontend_class>required-entry</frontend_class>
|
46 |
+
<comment><![CDATA[This API Key will be used for default. <br />There is no API Key here? Go to <strong>Easy PDF</strong> -> <strong>Manage Api Keys</strong>]]></comment>
|
47 |
+
</default_key>
|
48 |
+
<remove_default_print>
|
49 |
+
<label>Remove the default print functions</label>
|
50 |
+
<frontend_type>select</frontend_type>
|
51 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
52 |
+
<sort_order>16</sort_order>
|
53 |
+
<show_in_default>1</show_in_default>
|
54 |
+
<show_in_website>1</show_in_website>
|
55 |
+
<show_in_store>1</show_in_store>
|
56 |
+
<comment>Replace the default print functions of magento by Easy PDF</comment>
|
57 |
+
</remove_default_print>
|
58 |
+
<admin_print_order>
|
59 |
+
<label>Print orders from backend</label>
|
60 |
+
<frontend_type>select</frontend_type>
|
61 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
62 |
+
<sort_order>18</sort_order>
|
63 |
+
<show_in_default>1</show_in_default>
|
64 |
+
<show_in_website>1</show_in_website>
|
65 |
+
<show_in_store>1</show_in_store>
|
66 |
+
</admin_print_order>
|
67 |
+
<allow_customer_print>
|
68 |
+
<label>Customer can print PDFs</label>
|
69 |
+
<frontend_type>select</frontend_type>
|
70 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
71 |
+
<sort_order>20</sort_order>
|
72 |
+
<show_in_default>1</show_in_default>
|
73 |
+
<show_in_website>1</show_in_website>
|
74 |
+
<show_in_store>1</show_in_store>
|
75 |
+
<comment>If yes, customer will be able to use Easy PDF</comment>
|
76 |
+
</allow_customer_print>
|
77 |
+
<order_email_attach>
|
78 |
+
<label>Attach the PDF Order to New Order Email</label>
|
79 |
+
<frontend_type>select</frontend_type>
|
80 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
81 |
+
<sort_order>30</sort_order>
|
82 |
+
<show_in_default>1</show_in_default>
|
83 |
+
<show_in_website>1</show_in_website>
|
84 |
+
<show_in_store>1</show_in_store>
|
85 |
+
<comment>This option will make your checkout a bit of slower for generating the PDF file</comment>
|
86 |
+
</order_email_attach>
|
87 |
+
<invoice_email_attach>
|
88 |
+
<label>Attach the PDF Invoice to Invoice Email</label>
|
89 |
+
<frontend_type>select</frontend_type>
|
90 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
91 |
+
<sort_order>40</sort_order>
|
92 |
+
<show_in_default>1</show_in_default>
|
93 |
+
<show_in_website>1</show_in_website>
|
94 |
+
<show_in_store>1</show_in_store>
|
95 |
+
<comment>This option will make your checkout a bit of slower for generating the PDF file</comment>
|
96 |
+
</invoice_email_attach>
|
97 |
+
</fields>
|
98 |
+
</config>
|
99 |
+
<filename_format>
|
100 |
+
<label>PDF file name format</label>
|
101 |
+
<frontend_type>text</frontend_type>
|
102 |
+
<sort_order>15</sort_order>
|
103 |
+
<show_in_default>1</show_in_default>
|
104 |
+
<show_in_website>1</show_in_website>
|
105 |
+
<show_in_store>1</show_in_store>
|
106 |
+
<fields>
|
107 |
+
<order>
|
108 |
+
<label>Order PDF File Name Format</label>
|
109 |
+
<frontend_type>text</frontend_type>
|
110 |
+
<tooltip><![CDATA[
|
111 |
+
<table width="100%" style="background: #FAFAFA;">
|
112 |
+
<thead>
|
113 |
+
<tr>
|
114 |
+
<th width="35">Var</th>
|
115 |
+
<th>Description</th>
|
116 |
+
<th>values</th>
|
117 |
+
</tr>
|
118 |
+
</thead>
|
119 |
+
<tbody>
|
120 |
+
<tr>
|
121 |
+
<td><strong>$dd</strong></td>
|
122 |
+
<td>Day of the month</td>
|
123 |
+
<td><em>01</em> to <em>31</em></td>
|
124 |
+
</tr>
|
125 |
+
|
126 |
+
<tr>
|
127 |
+
<td><strong>$EEE</strong></td>
|
128 |
+
<td>Day of the week</td>
|
129 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
130 |
+
</tr>
|
131 |
+
|
132 |
+
<tr>
|
133 |
+
<td><strong>$MM</strong></td>
|
134 |
+
<td>Numeric representation of a month</td>
|
135 |
+
<td><em>01</em> to <em>12</em></td>
|
136 |
+
</tr>
|
137 |
+
|
138 |
+
<tr>
|
139 |
+
<td><strong>$MMM</strong></td>
|
140 |
+
<td>Textual representation of a month</td>
|
141 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
142 |
+
</tr>
|
143 |
+
|
144 |
+
<tr>
|
145 |
+
<td><strong>$y</strong></td>
|
146 |
+
<td>Numeric representation of a year</td>
|
147 |
+
<td>Ex: <em>1999</em></td>
|
148 |
+
</tr>
|
149 |
+
|
150 |
+
<tr>
|
151 |
+
<td><strong>$yy</strong></td>
|
152 |
+
<td>A two digit representation of a year</td>
|
153 |
+
<td>Ex: <em>99</em></td>
|
154 |
+
</tr>
|
155 |
+
|
156 |
+
<tr>
|
157 |
+
<td><strong>$HH</strong></td>
|
158 |
+
<td>24-hour format of an hour</td>
|
159 |
+
<td><em>00</em> to <em>23</em></td>
|
160 |
+
</tr>
|
161 |
+
|
162 |
+
<tr>
|
163 |
+
<td><strong>$mm</strong></td>
|
164 |
+
<td>Minutes with leading zeros</td>
|
165 |
+
<td><em>00</em> to <em>59</em></td>
|
166 |
+
</tr>
|
167 |
+
|
168 |
+
<tr>
|
169 |
+
<td><strong>$ss</strong></td>
|
170 |
+
<td>Seconds, with leading zeros</td>
|
171 |
+
<td><em>00</em> to <em>59</em></td>
|
172 |
+
</tr>
|
173 |
+
</tbody>
|
174 |
+
</table>
|
175 |
+
]]></tooltip>
|
176 |
+
<sort_order>10</sort_order>
|
177 |
+
<show_in_default>1</show_in_default>
|
178 |
+
<show_in_website>1</show_in_website>
|
179 |
+
<show_in_store>1</show_in_store>
|
180 |
+
<comment>When you print an individual order. Use $ID for order ID</comment>
|
181 |
+
</order>
|
182 |
+
<orders>
|
183 |
+
<label>Order PDF File Name Format</label>
|
184 |
+
<frontend_type>text</frontend_type>
|
185 |
+
<tooltip><![CDATA[
|
186 |
+
<table width="100%" style="background: #FAFAFA;">
|
187 |
+
<thead>
|
188 |
+
<tr>
|
189 |
+
<th width="35">Var</th>
|
190 |
+
<th>Description</th>
|
191 |
+
<th>values</th>
|
192 |
+
</tr>
|
193 |
+
</thead>
|
194 |
+
<tbody>
|
195 |
+
<tr>
|
196 |
+
<td><strong>$dd</strong></td>
|
197 |
+
<td>Day of the month</td>
|
198 |
+
<td><em>01</em> to <em>31</em></td>
|
199 |
+
</tr>
|
200 |
+
|
201 |
+
<tr>
|
202 |
+
<td><strong>$EEE</strong></td>
|
203 |
+
<td>Day of the week</td>
|
204 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
205 |
+
</tr>
|
206 |
+
|
207 |
+
<tr>
|
208 |
+
<td><strong>$MM</strong></td>
|
209 |
+
<td>Numeric representation of a month</td>
|
210 |
+
<td><em>01</em> to <em>12</em></td>
|
211 |
+
</tr>
|
212 |
+
|
213 |
+
<tr>
|
214 |
+
<td><strong>$MMM</strong></td>
|
215 |
+
<td>Textual representation of a month</td>
|
216 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
217 |
+
</tr>
|
218 |
+
|
219 |
+
<tr>
|
220 |
+
<td><strong>$y</strong></td>
|
221 |
+
<td>Numeric representation of a year</td>
|
222 |
+
<td>Ex: <em>1999</em></td>
|
223 |
+
</tr>
|
224 |
+
|
225 |
+
<tr>
|
226 |
+
<td><strong>$yy</strong></td>
|
227 |
+
<td>A two digit representation of a year</td>
|
228 |
+
<td>Ex: <em>99</em></td>
|
229 |
+
</tr>
|
230 |
+
|
231 |
+
<tr>
|
232 |
+
<td><strong>$HH</strong></td>
|
233 |
+
<td>24-hour format of an hour</td>
|
234 |
+
<td><em>00</em> to <em>23</em></td>
|
235 |
+
</tr>
|
236 |
+
|
237 |
+
<tr>
|
238 |
+
<td><strong>$mm</strong></td>
|
239 |
+
<td>Minutes with leading zeros</td>
|
240 |
+
<td><em>00</em> to <em>59</em></td>
|
241 |
+
</tr>
|
242 |
+
|
243 |
+
<tr>
|
244 |
+
<td><strong>$ss</strong></td>
|
245 |
+
<td>Seconds, with leading zeros</td>
|
246 |
+
<td><em>00</em> to <em>59</em></td>
|
247 |
+
</tr>
|
248 |
+
</tbody>
|
249 |
+
</table>
|
250 |
+
]]></tooltip>
|
251 |
+
<sort_order>11</sort_order>
|
252 |
+
<show_in_default>1</show_in_default>
|
253 |
+
<show_in_website>1</show_in_website>
|
254 |
+
<show_in_store>1</show_in_store>
|
255 |
+
<comment>When you print multiple orders.</comment>
|
256 |
+
</orders>
|
257 |
+
<invoice>
|
258 |
+
<label>Invoice PDF File Name Format</label>
|
259 |
+
<frontend_type>text</frontend_type>
|
260 |
+
<tooltip><![CDATA[
|
261 |
+
<table width="100%" style="background: #FAFAFA;">
|
262 |
+
<thead>
|
263 |
+
<tr>
|
264 |
+
<th width="35">Var</th>
|
265 |
+
<th>Description</th>
|
266 |
+
<th>values</th>
|
267 |
+
</tr>
|
268 |
+
</thead>
|
269 |
+
<tbody>
|
270 |
+
<tr>
|
271 |
+
<td><strong>$dd</strong></td>
|
272 |
+
<td>Day of the month</td>
|
273 |
+
<td><em>01</em> to <em>31</em></td>
|
274 |
+
</tr>
|
275 |
+
|
276 |
+
<tr>
|
277 |
+
<td><strong>$EEE</strong></td>
|
278 |
+
<td>Day of the week</td>
|
279 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
280 |
+
</tr>
|
281 |
+
|
282 |
+
<tr>
|
283 |
+
<td><strong>$MM</strong></td>
|
284 |
+
<td>Numeric representation of a month</td>
|
285 |
+
<td><em>01</em> to <em>12</em></td>
|
286 |
+
</tr>
|
287 |
+
|
288 |
+
<tr>
|
289 |
+
<td><strong>$MMM</strong></td>
|
290 |
+
<td>Textual representation of a month</td>
|
291 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
292 |
+
</tr>
|
293 |
+
|
294 |
+
<tr>
|
295 |
+
<td><strong>$y</strong></td>
|
296 |
+
<td>Numeric representation of a year</td>
|
297 |
+
<td>Ex: <em>1999</em></td>
|
298 |
+
</tr>
|
299 |
+
|
300 |
+
<tr>
|
301 |
+
<td><strong>$yy</strong></td>
|
302 |
+
<td>A two digit representation of a year</td>
|
303 |
+
<td>Ex: <em>99</em></td>
|
304 |
+
</tr>
|
305 |
+
|
306 |
+
<tr>
|
307 |
+
<td><strong>$HH</strong></td>
|
308 |
+
<td>24-hour format of an hour</td>
|
309 |
+
<td><em>00</em> to <em>23</em></td>
|
310 |
+
</tr>
|
311 |
+
|
312 |
+
<tr>
|
313 |
+
<td><strong>$mm</strong></td>
|
314 |
+
<td>Minutes with leading zeros</td>
|
315 |
+
<td><em>00</em> to <em>59</em></td>
|
316 |
+
</tr>
|
317 |
+
|
318 |
+
<tr>
|
319 |
+
<td><strong>$ss</strong></td>
|
320 |
+
<td>Seconds, with leading zeros</td>
|
321 |
+
<td><em>00</em> to <em>59</em></td>
|
322 |
+
</tr>
|
323 |
+
</tbody>
|
324 |
+
</table>
|
325 |
+
]]></tooltip>
|
326 |
+
<sort_order>20</sort_order>
|
327 |
+
<show_in_default>1</show_in_default>
|
328 |
+
<show_in_website>1</show_in_website>
|
329 |
+
<show_in_store>1</show_in_store>
|
330 |
+
<comment>When you print an individual invoice. Use $ID for invoice ID</comment>
|
331 |
+
</invoice>
|
332 |
+
<invoices>
|
333 |
+
<label>Invoice PDF File Name Format</label>
|
334 |
+
<frontend_type>text</frontend_type>
|
335 |
+
<tooltip><![CDATA[
|
336 |
+
<table width="100%" style="background: #FAFAFA;">
|
337 |
+
<thead>
|
338 |
+
<tr>
|
339 |
+
<th width="35">Var</th>
|
340 |
+
<th>Description</th>
|
341 |
+
<th>values</th>
|
342 |
+
</tr>
|
343 |
+
</thead>
|
344 |
+
<tbody>
|
345 |
+
<tr>
|
346 |
+
<td><strong>$dd</strong></td>
|
347 |
+
<td>Day of the month</td>
|
348 |
+
<td><em>01</em> to <em>31</em></td>
|
349 |
+
</tr>
|
350 |
+
|
351 |
+
<tr>
|
352 |
+
<td><strong>$EEE</strong></td>
|
353 |
+
<td>Day of the week</td>
|
354 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
355 |
+
</tr>
|
356 |
+
|
357 |
+
<tr>
|
358 |
+
<td><strong>$MM</strong></td>
|
359 |
+
<td>Numeric representation of a month</td>
|
360 |
+
<td><em>01</em> to <em>12</em></td>
|
361 |
+
</tr>
|
362 |
+
|
363 |
+
<tr>
|
364 |
+
<td><strong>$MMM</strong></td>
|
365 |
+
<td>Textual representation of a month</td>
|
366 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
367 |
+
</tr>
|
368 |
+
|
369 |
+
<tr>
|
370 |
+
<td><strong>$y</strong></td>
|
371 |
+
<td>Numeric representation of a year</td>
|
372 |
+
<td>Ex: <em>1999</em></td>
|
373 |
+
</tr>
|
374 |
+
|
375 |
+
<tr>
|
376 |
+
<td><strong>$yy</strong></td>
|
377 |
+
<td>A two digit representation of a year</td>
|
378 |
+
<td>Ex: <em>99</em></td>
|
379 |
+
</tr>
|
380 |
+
|
381 |
+
<tr>
|
382 |
+
<td><strong>$HH</strong></td>
|
383 |
+
<td>24-hour format of an hour</td>
|
384 |
+
<td><em>00</em> to <em>23</em></td>
|
385 |
+
</tr>
|
386 |
+
|
387 |
+
<tr>
|
388 |
+
<td><strong>$mm</strong></td>
|
389 |
+
<td>Minutes with leading zeros</td>
|
390 |
+
<td><em>00</em> to <em>59</em></td>
|
391 |
+
</tr>
|
392 |
+
|
393 |
+
<tr>
|
394 |
+
<td><strong>$ss</strong></td>
|
395 |
+
<td>Seconds, with leading zeros</td>
|
396 |
+
<td><em>00</em> to <em>59</em></td>
|
397 |
+
</tr>
|
398 |
+
</tbody>
|
399 |
+
</table>
|
400 |
+
]]></tooltip>
|
401 |
+
<sort_order>21</sort_order>
|
402 |
+
<show_in_default>1</show_in_default>
|
403 |
+
<show_in_website>1</show_in_website>
|
404 |
+
<show_in_store>1</show_in_store>
|
405 |
+
<comment>When you print multiple invoices.</comment>
|
406 |
+
</invoices>
|
407 |
+
<shipment>
|
408 |
+
<label>Shipment PDF File Name Format</label>
|
409 |
+
<frontend_type>text</frontend_type>
|
410 |
+
<tooltip><![CDATA[
|
411 |
+
<table width="100%" style="background: #FAFAFA;">
|
412 |
+
<thead>
|
413 |
+
<tr>
|
414 |
+
<th width="35">Var</th>
|
415 |
+
<th>Description</th>
|
416 |
+
<th>values</th>
|
417 |
+
</tr>
|
418 |
+
</thead>
|
419 |
+
<tbody>
|
420 |
+
<tr>
|
421 |
+
<td><strong>$dd</strong></td>
|
422 |
+
<td>Day of the month</td>
|
423 |
+
<td><em>01</em> to <em>31</em></td>
|
424 |
+
</tr>
|
425 |
+
|
426 |
+
<tr>
|
427 |
+
<td><strong>$EEE</strong></td>
|
428 |
+
<td>Day of the week</td>
|
429 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
430 |
+
</tr>
|
431 |
+
|
432 |
+
<tr>
|
433 |
+
<td><strong>$MM</strong></td>
|
434 |
+
<td>Numeric representation of a month</td>
|
435 |
+
<td><em>01</em> to <em>12</em></td>
|
436 |
+
</tr>
|
437 |
+
|
438 |
+
<tr>
|
439 |
+
<td><strong>$MMM</strong></td>
|
440 |
+
<td>Textual representation of a month</td>
|
441 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
442 |
+
</tr>
|
443 |
+
|
444 |
+
<tr>
|
445 |
+
<td><strong>$y</strong></td>
|
446 |
+
<td>Numeric representation of a year</td>
|
447 |
+
<td>Ex: <em>1999</em></td>
|
448 |
+
</tr>
|
449 |
+
|
450 |
+
<tr>
|
451 |
+
<td><strong>$yy</strong></td>
|
452 |
+
<td>A two digit representation of a year</td>
|
453 |
+
<td>Ex: <em>99</em></td>
|
454 |
+
</tr>
|
455 |
+
|
456 |
+
<tr>
|
457 |
+
<td><strong>$HH</strong></td>
|
458 |
+
<td>24-hour format of an hour</td>
|
459 |
+
<td><em>00</em> to <em>23</em></td>
|
460 |
+
</tr>
|
461 |
+
|
462 |
+
<tr>
|
463 |
+
<td><strong>$mm</strong></td>
|
464 |
+
<td>Minutes with leading zeros</td>
|
465 |
+
<td><em>00</em> to <em>59</em></td>
|
466 |
+
</tr>
|
467 |
+
|
468 |
+
<tr>
|
469 |
+
<td><strong>$ss</strong></td>
|
470 |
+
<td>Seconds, with leading zeros</td>
|
471 |
+
<td><em>00</em> to <em>59</em></td>
|
472 |
+
</tr>
|
473 |
+
</tbody>
|
474 |
+
</table>
|
475 |
+
]]></tooltip>
|
476 |
+
<sort_order>30</sort_order>
|
477 |
+
<show_in_default>1</show_in_default>
|
478 |
+
<show_in_website>1</show_in_website>
|
479 |
+
<show_in_store>1</show_in_store>
|
480 |
+
<comment>When you print an individual shipment. Use $ID for shipment ID</comment>
|
481 |
+
</shipment>
|
482 |
+
<shipments>
|
483 |
+
<label>Shipment PDF File Name Format</label>
|
484 |
+
<frontend_type>text</frontend_type>
|
485 |
+
<tooltip><![CDATA[
|
486 |
+
<table width="100%" style="background: #FAFAFA;">
|
487 |
+
<thead>
|
488 |
+
<tr>
|
489 |
+
<th width="35">Var</th>
|
490 |
+
<th>Description</th>
|
491 |
+
<th>values</th>
|
492 |
+
</tr>
|
493 |
+
</thead>
|
494 |
+
<tbody>
|
495 |
+
<tr>
|
496 |
+
<td><strong>$dd</strong></td>
|
497 |
+
<td>Day of the month</td>
|
498 |
+
<td><em>01</em> to <em>31</em></td>
|
499 |
+
</tr>
|
500 |
+
|
501 |
+
<tr>
|
502 |
+
<td><strong>$EEE</strong></td>
|
503 |
+
<td>Day of the week</td>
|
504 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
505 |
+
</tr>
|
506 |
+
|
507 |
+
<tr>
|
508 |
+
<td><strong>$MM</strong></td>
|
509 |
+
<td>Numeric representation of a month</td>
|
510 |
+
<td><em>01</em> to <em>12</em></td>
|
511 |
+
</tr>
|
512 |
+
|
513 |
+
<tr>
|
514 |
+
<td><strong>$MMM</strong></td>
|
515 |
+
<td>Textual representation of a month</td>
|
516 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
517 |
+
</tr>
|
518 |
+
|
519 |
+
<tr>
|
520 |
+
<td><strong>$y</strong></td>
|
521 |
+
<td>Numeric representation of a year</td>
|
522 |
+
<td>Ex: <em>1999</em></td>
|
523 |
+
</tr>
|
524 |
+
|
525 |
+
<tr>
|
526 |
+
<td><strong>$yy</strong></td>
|
527 |
+
<td>A two digit representation of a year</td>
|
528 |
+
<td>Ex: <em>99</em></td>
|
529 |
+
</tr>
|
530 |
+
|
531 |
+
<tr>
|
532 |
+
<td><strong>$HH</strong></td>
|
533 |
+
<td>24-hour format of an hour</td>
|
534 |
+
<td><em>00</em> to <em>23</em></td>
|
535 |
+
</tr>
|
536 |
+
|
537 |
+
<tr>
|
538 |
+
<td><strong>$mm</strong></td>
|
539 |
+
<td>Minutes with leading zeros</td>
|
540 |
+
<td><em>00</em> to <em>59</em></td>
|
541 |
+
</tr>
|
542 |
+
|
543 |
+
<tr>
|
544 |
+
<td><strong>$ss</strong></td>
|
545 |
+
<td>Seconds, with leading zeros</td>
|
546 |
+
<td><em>00</em> to <em>59</em></td>
|
547 |
+
</tr>
|
548 |
+
</tbody>
|
549 |
+
</table>
|
550 |
+
]]></tooltip>
|
551 |
+
<sort_order>31</sort_order>
|
552 |
+
<show_in_default>1</show_in_default>
|
553 |
+
<show_in_website>1</show_in_website>
|
554 |
+
<show_in_store>1</show_in_store>
|
555 |
+
<comment>When you print multiple shipments.</comment>
|
556 |
+
</shipments>
|
557 |
+
<creditmemo>
|
558 |
+
<label>Credit Memo PDF File Name Format</label>
|
559 |
+
<frontend_type>text</frontend_type>
|
560 |
+
<tooltip><![CDATA[
|
561 |
+
<table width="100%" style="background: #FAFAFA;">
|
562 |
+
<thead>
|
563 |
+
<tr>
|
564 |
+
<th width="35">Var</th>
|
565 |
+
<th>Description</th>
|
566 |
+
<th>values</th>
|
567 |
+
</tr>
|
568 |
+
</thead>
|
569 |
+
<tbody>
|
570 |
+
<tr>
|
571 |
+
<td><strong>$dd</strong></td>
|
572 |
+
<td>Day of the month</td>
|
573 |
+
<td><em>01</em> to <em>31</em></td>
|
574 |
+
</tr>
|
575 |
+
|
576 |
+
<tr>
|
577 |
+
<td><strong>$EEE</strong></td>
|
578 |
+
<td>Day of the week</td>
|
579 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
580 |
+
</tr>
|
581 |
+
|
582 |
+
<tr>
|
583 |
+
<td><strong>$MM</strong></td>
|
584 |
+
<td>Numeric representation of a month</td>
|
585 |
+
<td><em>01</em> to <em>12</em></td>
|
586 |
+
</tr>
|
587 |
+
|
588 |
+
<tr>
|
589 |
+
<td><strong>$MMM</strong></td>
|
590 |
+
<td>Textual representation of a month</td>
|
591 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
592 |
+
</tr>
|
593 |
+
|
594 |
+
<tr>
|
595 |
+
<td><strong>$y</strong></td>
|
596 |
+
<td>Numeric representation of a year</td>
|
597 |
+
<td>Ex: <em>1999</em></td>
|
598 |
+
</tr>
|
599 |
+
|
600 |
+
<tr>
|
601 |
+
<td><strong>$yy</strong></td>
|
602 |
+
<td>A two digit representation of a year</td>
|
603 |
+
<td>Ex: <em>99</em></td>
|
604 |
+
</tr>
|
605 |
+
|
606 |
+
<tr>
|
607 |
+
<td><strong>$HH</strong></td>
|
608 |
+
<td>24-hour format of an hour</td>
|
609 |
+
<td><em>00</em> to <em>23</em></td>
|
610 |
+
</tr>
|
611 |
+
|
612 |
+
<tr>
|
613 |
+
<td><strong>$mm</strong></td>
|
614 |
+
<td>Minutes with leading zeros</td>
|
615 |
+
<td><em>00</em> to <em>59</em></td>
|
616 |
+
</tr>
|
617 |
+
|
618 |
+
<tr>
|
619 |
+
<td><strong>$ss</strong></td>
|
620 |
+
<td>Seconds, with leading zeros</td>
|
621 |
+
<td><em>00</em> to <em>59</em></td>
|
622 |
+
</tr>
|
623 |
+
</tbody>
|
624 |
+
</table>
|
625 |
+
]]></tooltip>
|
626 |
+
<sort_order>40</sort_order>
|
627 |
+
<show_in_default>1</show_in_default>
|
628 |
+
<show_in_website>1</show_in_website>
|
629 |
+
<show_in_store>1</show_in_store>
|
630 |
+
<comment>When you print an individual credit memo. Use $ID for creditmemo ID</comment>
|
631 |
+
</creditmemo>
|
632 |
+
<creditmemos>
|
633 |
+
<label>Credit Memo PDF File Name Format</label>
|
634 |
+
<frontend_type>text</frontend_type>
|
635 |
+
<tooltip><![CDATA[
|
636 |
+
<table width="100%" style="background: #FAFAFA;">
|
637 |
+
<thead>
|
638 |
+
<tr>
|
639 |
+
<th width="35">Var</th>
|
640 |
+
<th>Description</th>
|
641 |
+
<th>values</th>
|
642 |
+
</tr>
|
643 |
+
</thead>
|
644 |
+
<tbody>
|
645 |
+
<tr>
|
646 |
+
<td><strong>$dd</strong></td>
|
647 |
+
<td>Day of the month</td>
|
648 |
+
<td><em>01</em> to <em>31</em></td>
|
649 |
+
</tr>
|
650 |
+
|
651 |
+
<tr>
|
652 |
+
<td><strong>$EEE</strong></td>
|
653 |
+
<td>Day of the week</td>
|
654 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
655 |
+
</tr>
|
656 |
+
|
657 |
+
<tr>
|
658 |
+
<td><strong>$MM</strong></td>
|
659 |
+
<td>Numeric representation of a month</td>
|
660 |
+
<td><em>01</em> to <em>12</em></td>
|
661 |
+
</tr>
|
662 |
+
|
663 |
+
<tr>
|
664 |
+
<td><strong>$MMM</strong></td>
|
665 |
+
<td>Textual representation of a month</td>
|
666 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
667 |
+
</tr>
|
668 |
+
|
669 |
+
<tr>
|
670 |
+
<td><strong>$y</strong></td>
|
671 |
+
<td>Numeric representation of a year</td>
|
672 |
+
<td>Ex: <em>1999</em></td>
|
673 |
+
</tr>
|
674 |
+
|
675 |
+
<tr>
|
676 |
+
<td><strong>$yy</strong></td>
|
677 |
+
<td>A two digit representation of a year</td>
|
678 |
+
<td>Ex: <em>99</em></td>
|
679 |
+
</tr>
|
680 |
+
|
681 |
+
<tr>
|
682 |
+
<td><strong>$HH</strong></td>
|
683 |
+
<td>24-hour format of an hour</td>
|
684 |
+
<td><em>00</em> to <em>23</em></td>
|
685 |
+
</tr>
|
686 |
+
|
687 |
+
<tr>
|
688 |
+
<td><strong>$mm</strong></td>
|
689 |
+
<td>Minutes with leading zeros</td>
|
690 |
+
<td><em>00</em> to <em>59</em></td>
|
691 |
+
</tr>
|
692 |
+
|
693 |
+
<tr>
|
694 |
+
<td><strong>$ss</strong></td>
|
695 |
+
<td>Seconds, with leading zeros</td>
|
696 |
+
<td><em>00</em> to <em>59</em></td>
|
697 |
+
</tr>
|
698 |
+
</tbody>
|
699 |
+
</table>
|
700 |
+
]]></tooltip>
|
701 |
+
<sort_order>41</sort_order>
|
702 |
+
<show_in_default>1</show_in_default>
|
703 |
+
<show_in_website>1</show_in_website>
|
704 |
+
<show_in_store>1</show_in_store>
|
705 |
+
<comment>When you print multiple credit memos.</comment>
|
706 |
+
</creditmemos>
|
707 |
+
<all>
|
708 |
+
<label>Document PDF File Name Format</label>
|
709 |
+
<frontend_type>text</frontend_type>
|
710 |
+
<tooltip><![CDATA[
|
711 |
+
<table width="100%" style="background: #FAFAFA;">
|
712 |
+
<thead>
|
713 |
+
<tr>
|
714 |
+
<th width="35">Var</th>
|
715 |
+
<th>Description</th>
|
716 |
+
<th>values</th>
|
717 |
+
</tr>
|
718 |
+
</thead>
|
719 |
+
<tbody>
|
720 |
+
<tr>
|
721 |
+
<td><strong>$dd</strong></td>
|
722 |
+
<td>Day of the month</td>
|
723 |
+
<td><em>01</em> to <em>31</em></td>
|
724 |
+
</tr>
|
725 |
+
|
726 |
+
<tr>
|
727 |
+
<td><strong>$EEE</strong></td>
|
728 |
+
<td>Day of the week</td>
|
729 |
+
<td><em>Mon</em> to <em>Sun</em></td>
|
730 |
+
</tr>
|
731 |
+
|
732 |
+
<tr>
|
733 |
+
<td><strong>$MM</strong></td>
|
734 |
+
<td>Numeric representation of a month</td>
|
735 |
+
<td><em>01</em> to <em>12</em></td>
|
736 |
+
</tr>
|
737 |
+
|
738 |
+
<tr>
|
739 |
+
<td><strong>$MMM</strong></td>
|
740 |
+
<td>Textual representation of a month</td>
|
741 |
+
<td><em>Jan</em> to <em>Dec</em></td>
|
742 |
+
</tr>
|
743 |
+
|
744 |
+
<tr>
|
745 |
+
<td><strong>$y</strong></td>
|
746 |
+
<td>Numeric representation of a year</td>
|
747 |
+
<td>Ex: <em>1999</em></td>
|
748 |
+
</tr>
|
749 |
+
|
750 |
+
<tr>
|
751 |
+
<td><strong>$yy</strong></td>
|
752 |
+
<td>A two digit representation of a year</td>
|
753 |
+
<td>Ex: <em>99</em></td>
|
754 |
+
</tr>
|
755 |
+
|
756 |
+
<tr>
|
757 |
+
<td><strong>$HH</strong></td>
|
758 |
+
<td>24-hour format of an hour</td>
|
759 |
+
<td><em>00</em> to <em>23</em></td>
|
760 |
+
</tr>
|
761 |
+
|
762 |
+
<tr>
|
763 |
+
<td><strong>$mm</strong></td>
|
764 |
+
<td>Minutes with leading zeros</td>
|
765 |
+
<td><em>00</em> to <em>59</em></td>
|
766 |
+
</tr>
|
767 |
+
|
768 |
+
<tr>
|
769 |
+
<td><strong>$ss</strong></td>
|
770 |
+
<td>Seconds, with leading zeros</td>
|
771 |
+
<td><em>00</em> to <em>59</em></td>
|
772 |
+
</tr>
|
773 |
+
</tbody>
|
774 |
+
</table>
|
775 |
+
]]></tooltip>
|
776 |
+
<sort_order>50</sort_order>
|
777 |
+
<show_in_default>1</show_in_default>
|
778 |
+
<show_in_website>1</show_in_website>
|
779 |
+
<show_in_store>1</show_in_store>
|
780 |
+
<comment>When you you select "Print All"</comment>
|
781 |
+
</all>
|
782 |
+
</fields>
|
783 |
+
</filename_format>
|
784 |
+
<notification>
|
785 |
+
<label>Notification</label>
|
786 |
+
<frontend_type>text</frontend_type>
|
787 |
+
<sort_order>20</sort_order>
|
788 |
+
<show_in_default>1</show_in_default>
|
789 |
+
<show_in_website>1</show_in_website>
|
790 |
+
<show_in_store>1</show_in_store>
|
791 |
+
<fields>
|
792 |
+
<notice>
|
793 |
+
<label>Enable upgrade notice</label>
|
794 |
+
<frontend_type>select</frontend_type>
|
795 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
796 |
+
<sort_order>10</sort_order>
|
797 |
+
<show_in_default>1</show_in_default>
|
798 |
+
<show_in_website>1</show_in_website>
|
799 |
+
<show_in_store>1</show_in_store>
|
800 |
+
</notice>
|
801 |
+
<news>
|
802 |
+
<label>Get news and promotion from EasyPdfInvoice.com</label>
|
803 |
+
<frontend_type>select</frontend_type>
|
804 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
805 |
+
<sort_order>20</sort_order>
|
806 |
+
<show_in_default>1</show_in_default>
|
807 |
+
<show_in_website>1</show_in_website>
|
808 |
+
<show_in_store>1</show_in_store>
|
809 |
+
</news>
|
810 |
+
</fields>
|
811 |
+
</notification>
|
812 |
+
<author>
|
813 |
+
<label>Author</label>
|
814 |
+
<frontend_type>text</frontend_type>
|
815 |
+
<sort_order>30</sort_order>
|
816 |
+
<show_in_default>1</show_in_default>
|
817 |
+
<show_in_website>1</show_in_website>
|
818 |
+
<show_in_store>1</show_in_store>
|
819 |
+
<comment><![CDATA[
|
820 |
+
The Easy PDF is developed and supported by <a href="http://www.easypdfinvoice.com/" target="_blank">www.EasyPdfInvoice.com</a>.<br />
|
821 |
+
If you need any support or have any question please contact us at <a href="mailto:support@easypdfinvoice.com">support@easypdfinvoice.com</a> or submit a ticket at <a href="http://ticket.easypdfinvoice.com/" target="_blank">http://ticket.easypdfinvoice.com/</a><br /><br />
|
822 |
+
Best Regards,<br />
|
823 |
+
<strong>Easy PDF Invoice Team</strong>
|
824 |
+
]]></comment>
|
825 |
+
</author>
|
826 |
+
</groups>
|
827 |
+
</pdfpro>
|
828 |
+
</sections>
|
829 |
+
</config>
|
app/etc/modules/VES_DeleteOrder.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<VES_DeleteOrder>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</VES_DeleteOrder>
|
8 |
+
</modules>
|
9 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Easy_PDF_Delete_Order</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL V3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Add feature "Delete Order" to your magento store.</summary>
|
10 |
+
<description>Add feature "Delete Order" to your magento store.</description>
|
11 |
+
<notes>Add feature "Delete Order" to your magento store.</notes>
|
12 |
+
<authors><author><name>Easy PDF Invoice</name><user>auto-converted</user><email>easypdfinvoice@gmail.com</email></author></authors>
|
13 |
+
<date>2013-01-21</date>
|
14 |
+
<time>18:21:46</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="VES"><dir name="DeleteOrder"><dir name="Helper"><file name="Data.php" hash="e0c5ce0a9bad60b777c9704b60a56187"/></dir><dir name="Model"><file name="Observer.php" hash="dc81c7ec2e3abec3a6aed6c76a143d2d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="4834e46cd023dacf3ed72bd684f82804"/></dir></dir><dir name="etc"><file name="config.xml" hash="b0f8d20dc4c65fee0e92f90f2f24553d"/><file name="system.xml" hash="cc089b7358a9590eb3a11b2fdeeab3d0"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VES_DeleteOrder.xml" hash="0b255252ef4c0dd8bed263dc281757fd"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
+
</package>
|