Medma_Stock_Control - Version 1.0.3

Version Notes

This is a latest release.

Download this release

Release Info

Developer Medma Infomatix
Extension Medma_Stock_Control
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/Medma/Stockcontrol/Block/Adminhtml/Stockcontrol/Grid.php CHANGED
@@ -16,13 +16,14 @@ class Medma_Stockcontrol_Block_Adminhtml_Stockcontrol_Grid extends Mage_Adminhtm
16
  protected function _prepareCollection()
17
  {
18
  $collection = Mage::getModel('stockcontrol/stockcontrol')->getCollection();
19
-
 
20
  $collection->getSelect()->join(
21
- array('pc'=>'catalog_product_flat_1'),
22
  'main_table.product_id = pc.entity_id',
23
  array('product_name'=>'pc.name'));
24
  $collection->getSelect()->join(
25
- array('cisi'=>'catalog_product_flat_1'),
26
  'main_table.product_id = cisi.entity_id',
27
  array('sku'=>'cisi.sku'));
28
  $this->setCollection($collection);
16
  protected function _prepareCollection()
17
  {
18
  $collection = Mage::getModel('stockcontrol/stockcontrol')->getCollection();
19
+ $catalogTable = Mage::getSingleton('core/resource')->getTableName('catalog_product_flat_1');
20
+
21
  $collection->getSelect()->join(
22
+ array('pc'=>$catalogTable),
23
  'main_table.product_id = pc.entity_id',
24
  array('product_name'=>'pc.name'));
25
  $collection->getSelect()->join(
26
+ array('cisi'=>$catalogTable),
27
  'main_table.product_id = cisi.entity_id',
28
  array('sku'=>'cisi.sku'));
29
  $this->setCollection($collection);
app/code/local/Medma/Stockcontrol/controllers/Adminhtml/StockcontrolController.php~ DELETED
@@ -1,129 +0,0 @@
1
- <?php
2
-
3
- class Futurtek_Stockcontrol_Adminhtml_StockcontrolController extends Mage_Adminhtml_Controller_action
4
- {
5
- public function indexAction() {
6
-
7
-
8
- $this->loadLayout();
9
- $this->_setActiveMenu('catalog/stockcontrol');
10
- //$this->_addBreadcrumb($this->__('Manage Grouped Product Discount Rule'), $this->__('Discount'));
11
- $this->_addContent($this->getLayout()->createBlock('stockcontrol/adminhtml_stockcontrol'));
12
- $this->renderLayout();
13
-
14
- }
15
-
16
- public function editAction() {
17
- $id = $this->getRequest()->getParam('id');
18
-
19
- $model = Mage::getModel('stockcontrol/stockcontrol')->load($id);
20
-
21
- if ($model->getId() || $id == 0) {
22
- $data = Mage::getSingleton('adminhtml/session')->getFormData(true);
23
- if (!empty($data)) {
24
- $model->setData($data);
25
- }
26
-
27
- Mage::register('stockcontrol_data', $model);
28
- $this->loadLayout();
29
- $this->_setActiveMenu('catalog/stockcontrol');
30
-
31
- $this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
32
-
33
- $this->_addContent($this->getLayout()->createBlock('stockcontrol/adminhtml_stockcontrol_edit'));
34
-
35
- $this->renderLayout();
36
- } else {
37
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('stockcontrol')->__('Item does not exist'));
38
- $this->_redirect('*/*/');
39
- }
40
- }
41
-
42
-
43
-
44
-
45
- public function newAction() {
46
- $this->editAction();
47
- }
48
-
49
- public function saveAction() {
50
- $id= $this->getRequest()->getParam('id');
51
-
52
- $model= Mage::getModel('stockcontrol/stockcontrol');
53
-
54
- if ($data = $this->getRequest()->getPost()) {
55
- if($data['operation']=='Stock In'){
56
- $total_qty=$data['present_qty']+$data['added_qty'];
57
- }elseif($data['operation']=='Stock Out'){
58
- if($data['present_qty']<='0'){
59
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('stockcontrol')->__('Quantity is less to perform Stock Out operation'));
60
- $this->_redirect('*/*/');
61
- }else{
62
- $total_qty=$data['present_qty']-$data['added_qty'];
63
- }
64
- }
65
- $model_product= Mage::getModel('catalog/product');
66
- $_product = $model_product->load($data['product_id']);
67
- $stockData = $_product->getStockData();
68
- $stockData['qty'] = $total_qty;
69
- $_product->setStockData($stockData);
70
- $_product->save();
71
- $user = Mage::getSingleton('admin/session')->getData();
72
- $userId = $user['user']['user_id'];
73
- $data['total_qty']=$total_qty;
74
- $data['added_by']=$userId ;
75
- // $stocklevel = (int)Mage::getModel('cataloginventory/stock_item')
76
- // ->loadByProduct($_product)->getQty();
77
- // echo $stocklevel;exit;
78
- try {
79
-
80
- $model->setData($data)->setId($id);
81
- $model->save();
82
-
83
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('stockcontrol')->__('Quantity Update Operation Perform successfully'));
84
-
85
- Mage::getSingleton('adminhtml/session')->setFormData(false);
86
-
87
- $this->_redirect('*/*/');
88
- return;
89
- } catch (Exception $e) {
90
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
91
- Mage::getSingleton('adminhtml/session')->setFormData($data);
92
- $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
93
- return;
94
- }
95
- }
96
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('stockcontrol')->__('Unable to find item to save'));
97
- $this->_redirect('*/*/');
98
- }
99
- public function deleteAction() {
100
- if( $this->getRequest()->getParam('id') > 0 ) {
101
- try {
102
- $model = Mage::getModel('stockcontrol/stockcontrol');
103
-
104
- $model->setId($this->getRequest()->getParam('id'))
105
- ->delete();
106
-
107
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully deleted'));
108
- $this->_redirect('*/*/');
109
- } catch (Exception $e) {
110
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
111
- $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
112
- }
113
- }
114
- $this->_redirect('*/*/');
115
- }
116
- public function getPresentQtyAction(){
117
- $product_id = $this->getRequest()->getParam('product_id');
118
-
119
- $model = Mage::getModel('catalog/product');
120
- $_product = $model->load($product_id);
121
- $stocklevel = (int)Mage::getModel('cataloginventory/stock_item')
122
- ->loadByProduct($_product)->getQty();
123
-
124
-
125
- echo $stocklevel;
126
- }
127
-
128
-
129
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Medma/Stockcontrol/controllers/Adminhtml/StockcontrolController_bkp21may2012.php DELETED
@@ -1,120 +0,0 @@
1
- <?php
2
-
3
- class Futurtek_Stockcontrol_Adminhtml_StockcontrolController extends Mage_Adminhtml_Controller_action
4
- {
5
- public function indexAction() {
6
-
7
-
8
- $this->loadLayout();
9
- $this->_setActiveMenu('catalog/stockcontrol');
10
- //$this->_addBreadcrumb($this->__('Manage Grouped Product Discount Rule'), $this->__('Discount'));
11
- $this->_addContent($this->getLayout()->createBlock('stockcontrol/adminhtml_stockcontrol'));
12
- $this->renderLayout();
13
-
14
- }
15
-
16
- public function editAction() {
17
- $id = $this->getRequest()->getParam('id');
18
-
19
- $model = Mage::getModel('stockcontrol/stockcontrol')->load($id);
20
-
21
- if ($model->getId() || $id == 0) {
22
- $data = Mage::getSingleton('adminhtml/session')->getFormData(true);
23
- if (!empty($data)) {
24
- $model->setData($data);
25
- }
26
-
27
- Mage::register('stockcontrol_data', $model);
28
- $this->loadLayout();
29
- $this->_setActiveMenu('catalog/stockcontrol');
30
-
31
- $this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
32
-
33
- $this->_addContent($this->getLayout()->createBlock('stockcontrol/adminhtml_stockcontrol_edit'));
34
-
35
- $this->renderLayout();
36
- } else {
37
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('stockcontrol')->__('Item does not exist'));
38
- $this->_redirect('*/*/');
39
- }
40
- }
41
-
42
-
43
-
44
-
45
- public function newAction() {
46
- $this->editAction();
47
- }
48
-
49
- public function saveAction() {
50
- $id= $this->getRequest()->getParam('id');
51
-
52
- $model= Mage::getModel('stockcontrol/stockcontrol');
53
-
54
- if ($data = $this->getRequest()->getPost()) {
55
- $total_qty=$data['present_qty']+$data['added_qty'];
56
- $model_product= Mage::getModel('catalog/product');
57
- $_product = $model_product->load($data['product_id']);
58
- $stockData = $_product->getStockData();
59
- $stockData['qty'] = $total_qty;
60
- $_product->setStockData($stockData);
61
- $_product->save();
62
- $user = Mage::getSingleton('admin/session')->getData();
63
- $userId = $user['user']['user_id'];
64
- $data['total_qty']=$total_qty;
65
- $data['added_by']=$userId ;
66
- // $stocklevel = (int)Mage::getModel('cataloginventory/stock_item')
67
- // ->loadByProduct($_product)->getQty();
68
- // echo $stocklevel;exit;
69
- try {
70
-
71
- $model->setData($data)->setId($id);
72
- $model->save();
73
-
74
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('stockcontrol')->__('Item added successfully'));
75
-
76
- Mage::getSingleton('adminhtml/session')->setFormData(false);
77
-
78
- $this->_redirect('*/*/');
79
- return;
80
- } catch (Exception $e) {
81
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
82
- Mage::getSingleton('adminhtml/session')->setFormData($data);
83
- $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
84
- return;
85
- }
86
- }
87
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('stockcontrol')->__('Unable to find item to save'));
88
- $this->_redirect('*/*/');
89
- }
90
- public function deleteAction() {
91
- if( $this->getRequest()->getParam('id') > 0 ) {
92
- try {
93
- $model = Mage::getModel('stockcontrol/stockcontrol');
94
-
95
- $model->setId($this->getRequest()->getParam('id'))
96
- ->delete();
97
-
98
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully deleted'));
99
- $this->_redirect('*/*/');
100
- } catch (Exception $e) {
101
- Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
102
- $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
103
- }
104
- }
105
- $this->_redirect('*/*/');
106
- }
107
- public function getPresentQtyAction(){
108
- $product_id = $this->getRequest()->getParam('product_id');
109
-
110
- $model = Mage::getModel('catalog/product');
111
- $_product = $model->load($product_id);
112
- $stocklevel = (int)Mage::getModel('cataloginventory/stock_item')
113
- ->loadByProduct($_product)->getQty();
114
-
115
-
116
- echo $stocklevel;
117
- }
118
-
119
-
120
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Medma/Stockcontrol/etc/config.xml CHANGED
@@ -65,18 +65,26 @@
65
  </stockcontrol_mysql4>
66
 
67
  </models>
68
- <resources>
69
- <stockcontrol_write>
70
- <connection>
71
- <use>core_write</use>
72
- </connection>
73
- </stockcontrol_write>
74
- <stockcontrol_read>
75
- <connection>
76
- <use>core_read</use>
77
- </connection>
78
- </stockcontrol_read>
79
- </resources>
 
 
 
 
 
 
 
 
80
  <blocks>
81
  <stockcontrol>
82
  <class>Medma_Stockcontrol_Block</class>
65
  </stockcontrol_mysql4>
66
 
67
  </models>
68
+ <resources>
69
+ <stockcontrol_setup>
70
+ <setup>
71
+ <module>Medma_Stockcontrol</module>
72
+ </setup>
73
+ <connection>
74
+ <use>core_setup</use>
75
+ </connection>
76
+ </stockcontrol_setup>
77
+ <stockcontrol_write>
78
+ <connection>
79
+ <use>core_write</use>
80
+ </connection>
81
+ </stockcontrol_write>
82
+ <stockcontrol_read>
83
+ <connection>
84
+ <use>core_read</use>
85
+ </connection>
86
+ </stockcontrol_read>
87
+ </resources>
88
  <blocks>
89
  <stockcontrol>
90
  <class>Medma_Stockcontrol_Block</class>
app/code/local/Medma/Stockcontrol/etc/config.xml~ DELETED
@@ -1,76 +0,0 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Futurtek_Stockcontrol>
5
- <version>0.1.0</version>
6
- </Futurtek_Stockcontrol>
7
- </modules>
8
- <admin>
9
- <routers>
10
- <stockcontrol>
11
- <use>admin</use>
12
- <args>
13
- <module>Futurtek_Stockcontrol</module>
14
- <frontName>stockcontrol</frontName>
15
- </args>
16
- </stockcontrol>
17
- </routers>
18
- </admin>
19
-
20
- <adminhtml>
21
- <menu>
22
- <catalog>
23
- <children>
24
- <stockcontrol translate="title" module="stockcontrol">
25
- <title>Stock Control</title>
26
- <sort_order>5</sort_order>
27
- <action>stockcontrol/adminhtml_stockcontrol</action>
28
- </stockcontrol>
29
- </children>
30
- </catalog>
31
- </menu>
32
-
33
- <acl>
34
- <resources>
35
- <admin>
36
- <children>
37
- <catalog>
38
- <children>
39
- <stockcontrol translate="title">
40
- <title>Stock Control</title>
41
- <sort_order>1600</sort_order>
42
- </stockcontrol>
43
- </children>
44
- </catalog>
45
- </children>
46
- </admin>
47
- </resources>
48
- </acl>
49
- </adminhtml>
50
-
51
- <global>
52
- <resources>
53
- <stockcontrol_write>
54
- <connection>
55
- <use>core_write</use>
56
- </connection>
57
- </stockcontrol_write>
58
- <stockcontrol_read>
59
- <connection>
60
- <use>core_read</use>
61
- </connection>
62
- </stockcontrol_read>
63
- </resources>
64
- <blocks>
65
- <stockcontrol>
66
- <class>Futurtek_Stockcontrol_Block</class>
67
- </stockcontrol>
68
- </blocks>
69
- <helpers>
70
- <stockcontrol>
71
- <class>Futurtek_Stockcontrol_Helper</class>
72
- </stockcontrol>
73
- </helpers>
74
- </global>
75
-
76
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Medma/Stockcontrol/sql/stockcontrol_setup/mysql4-install-0.1.0.php CHANGED
@@ -7,7 +7,7 @@ $installer->startSetup();
7
  $installer->run("
8
 
9
 
10
- CREATE TABLE IF NOT EXISTS `stockcontrol` (
11
  `stock_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
12
  `product_id` int(11) unsigned NOT NULL,
13
  `present_qty` varchar(255) NOT NULL DEFAULT '',
7
  $installer->run("
8
 
9
 
10
+ CREATE TABLE IF NOT EXISTS {$this->getTable('stockcontrol')} (
11
  `stock_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
12
  `product_id` int(11) unsigned NOT NULL,
13
  `present_qty` varchar(255) NOT NULL DEFAULT '',
package.xml CHANGED
@@ -1,20 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Medma_Stock_Control</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
- <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>This extension provides an additional feature for updating the stock of the products.</summary>
10
- <description>This extension provides an additional feature for updating the stock of the products in Magento Admin Panel.&#xD;
11
- &#xD;
12
- This extension is mainly used where Stock updates are being done by other operators than the Admin. This extension also tracks which Admin user updated which products and this provides the facility for the Administrator to track the errors in Stock update.</description>
13
- <notes>This is a latest release version</notes>
14
- <authors><author><name>Medma</name><user>Infomatix</user><email>gaurav@medma.in</email></author></authors>
15
- <date>2012-11-14</date>
16
- <time>18:42:46</time>
17
- <contents><target name="magelocal"><dir name="Medma"><dir name="Stockcontrol"><dir name="Block"><dir name="Adminhtml"><dir name="Stockcontrol"><dir name="Edit"><file name="Form.php" hash="04527132fde312cd20402a33af859004"/><file name="Form.php~" hash="f66ffd3af0973498fe9cb90929365ccf"/><dir name="Tab"><file name="Form.php" hash="dfd11760871042496386ae18c5ae9bff"/><file name="Form.php~" hash="baa38642837860829ae4330426ae88bb"/></dir><file name="Tabs.php" hash="da26b4d3c6030d4c8ea46e3bfef42c07"/></dir><file name="Edit.php" hash="055da82654c680b506483a2b26dd0271"/><file name="Edit.php~" hash="a981188db908e39535459396818c27dc"/><file name="Grid.php" hash="ee7127ec1e25ae918eaf522add17f3bd"/><file name="Grid.php~" hash="c705e16351733e3c42feee637cc490ea"/></dir><file name="Stockcontrol.php" hash="26905c050ba2f9d49c521e676015acdc"/><file name="Stockcontrol.php~" hash="9db80488257bd92314be28ce7f3f8ece"/></dir><file name="Stockcontrol.php" hash="b27ea72a7b1a39c152c35dd40cb92666"/><file name="Stockcontrol.php~" hash="6843b73e90c114bf2de8545958c93947"/></dir><dir name="Helper"><file name="Data.php" hash="cd53ffe2d92f8ef59aef9ae6fc5f0e32"/><file name="Data.php~" hash="8ea6f23e9f926e8bafa179ab916057cf"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Stockcontrol"><file name="Collection.php" hash="c3514b030650f22f78b57c106c4ab0e5"/><file name="Collection.php~" hash="94baeb8e35cfe94c8e26a776c6974f33"/></dir><file name="Stockcontrol.php" hash="5c92de9f6d97358416e45bd10b8da1c1"/><file name="Stockcontrol.php~" hash="92cb8352ecd2d8726c0f892f2d3c2377"/></dir><file name="Stockcontrol.php" hash="abaa8b60c5557b28812e096bacd9f832"/><file name="Stockcontrol.php~" hash="b9dd52b6f70e8f54d5603307a60b19cb"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StockcontrolController.php" hash="38300680f568beeac57c34c965199710"/><file name="StockcontrolController.php~" hash="57ad64f6135f393e79f975b70ce3c6e0"/><file name="StockcontrolController_bkp21may2012.php" hash="55d9b368b15ae9b9161ed244fadaf093"/></dir></dir><dir name="etc"><file name="config.xml" hash="e253fa10b436a1a46f733c9f76d50c24"/><file name="config.xml~" hash="49d71eda2e2282fda94041009e89d212"/></dir><dir name="sql"><dir name="stockcontrol_setup"><file name="mysql4-install-0.1.0.php" hash="89dc60ea7d377d6b63306978f3e8c581"/><file name="mysql4-install-0.1.0.php~" hash="a5664fd08d056a847252df46a2162557"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Medma_Stockcontrol.xml" hash="5661fa743ccc78a1af4f0679d6685c29"/></dir></target></contents>
18
  <compatible/>
19
- <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Medma_Stock_Control</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>This extension provides an additional feature for updating the stock of the products. </summary>
10
+ <description>This extension provides an additional feature for updating the stock of the products. </description>
11
+ <notes>This is a latest release.</notes>
12
+ <authors><author><name>Medma Infomatix</name><user>Medma_Infomatix</user><email>gaurav@medma.in</email></author></authors>
13
+ <date>2012-12-27</date>
14
+ <time>09:50:48</time>
15
+ <contents><target name="magelocal"><dir name="Medma"><dir name="Stockcontrol"><dir name="Block"><dir name="Adminhtml"><dir name="Stockcontrol"><dir name="Edit"><file name="Form.php" hash="04527132fde312cd20402a33af859004"/><file name="Form.php~" hash="f66ffd3af0973498fe9cb90929365ccf"/><dir name="Tab"><file name="Form.php" hash="dfd11760871042496386ae18c5ae9bff"/><file name="Form.php~" hash="baa38642837860829ae4330426ae88bb"/></dir><file name="Tabs.php" hash="da26b4d3c6030d4c8ea46e3bfef42c07"/></dir><file name="Edit.php" hash="055da82654c680b506483a2b26dd0271"/><file name="Edit.php~" hash="a981188db908e39535459396818c27dc"/><file name="Grid.php" hash="f93a36ffcfb735cc9b91fd71e32621c7"/><file name="Grid.php~" hash="c705e16351733e3c42feee637cc490ea"/></dir><file name="Stockcontrol.php" hash="26905c050ba2f9d49c521e676015acdc"/><file name="Stockcontrol.php~" hash="9db80488257bd92314be28ce7f3f8ece"/></dir><file name="Stockcontrol.php" hash="b27ea72a7b1a39c152c35dd40cb92666"/><file name="Stockcontrol.php~" hash="6843b73e90c114bf2de8545958c93947"/></dir><dir name="Helper"><file name="Data.php" hash="cd53ffe2d92f8ef59aef9ae6fc5f0e32"/><file name="Data.php~" hash="8ea6f23e9f926e8bafa179ab916057cf"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Stockcontrol"><file name="Collection.php" hash="c3514b030650f22f78b57c106c4ab0e5"/><file name="Collection.php~" hash="94baeb8e35cfe94c8e26a776c6974f33"/></dir><file name="Stockcontrol.php" hash="5c92de9f6d97358416e45bd10b8da1c1"/><file name="Stockcontrol.php~" hash="92cb8352ecd2d8726c0f892f2d3c2377"/></dir><file name="Stockcontrol.php" hash="abaa8b60c5557b28812e096bacd9f832"/><file name="Stockcontrol.php~" hash="b9dd52b6f70e8f54d5603307a60b19cb"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StockcontrolController.php" hash="38300680f568beeac57c34c965199710"/></dir></dir><dir name="etc"><file name="config.xml" hash="439f39b65053096cd1eb74b7ed398bce"/></dir><dir name="sql"><dir name="stockcontrol_setup"><file name="mysql4-install-0.1.0.php" hash="bcf42e46f55e6d0dc55d6bc745af3a1b"/><file name="mysql4-install-0.1.0.php~" hash="a5664fd08d056a847252df46a2162557"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Medma_Stockcontrol.xml" hash="5661fa743ccc78a1af4f0679d6685c29"/></dir></target></contents>
 
 
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>