Payment_Reembolso - Version 0.2.1

Version Notes

CHANGES:
->U app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.1.0.php
->A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.2.1.php
->A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-upgrade-0.1.0-0.2.0.php
->A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-upgrade-0.2.0-0.2.1.php

Download this release

Release Info

Developer Magento Core Team
Extension Payment_Reembolso
Version 0.2.1
Comparing to
See all releases


Code changes from version 0.2.0 to 0.2.1

app/code/local/Mage/Reembolso/controllers/Adminhtml/ReembolsoController.php CHANGED
@@ -72,7 +72,6 @@ class Mage_Reembolso_Adminhtml_ReembolsoController extends Mage_Adminhtml_Contro
72
73
if ($this->getRequest()->getParam('back')) {
74
$this->_redirect('*/*/edit', array('id' => $model->getId()));
75
- Mage::log('PLease: '.$this->_redirect('*/*/edit', array('id' => $model->getId())));
76
return;
77
}
78
$this->_redirect('*/*/');
@@ -185,4 +184,4 @@ class Mage_Reembolso_Adminhtml_ReembolsoController extends Mage_Adminhtml_Contro
185
$response->sendResponse();
186
die;
187
}
188
- }
72
73
if ($this->getRequest()->getParam('back')) {
74
$this->_redirect('*/*/edit', array('id' => $model->getId()));
75
return;
76
}
77
$this->_redirect('*/*/');
184
$response->sendResponse();
185
die;
186
}
187
+ }
app/code/local/Mage/Reembolso/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
<config>
3
<modules>
4
<Mage_Reembolso>
5
- <version>0.1.0</version>
6
</Mage_Reembolso>
7
</modules>
8
2
<config>
3
<modules>
4
<Mage_Reembolso>
5
+ <version>0.2.1</version>
6
</Mage_Reembolso>
7
</modules>
8
app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.1.0.php CHANGED
@@ -1,22 +0,0 @@
1
- <?php
2
-
3
- $installer = $this;
4
-
5
- $installer->startSetup();
6
-
7
- $installer->run("
8
-
9
- DROP TABLE IF EXISTS {$this->getTable('reembolso')};
10
- CREATE TABLE {$this->getTable('reembolso')} (
11
- `reembolso_id` int(11) unsigned NOT NULL auto_increment,
12
- `title` varchar(255) NOT NULL default '',
13
- `shipping_method` varchar(255) NOT NULL default '',
14
- `type` smallint(6) NOT NULL default '0',
15
- `value` smallint(6) NOT NULL default '0',
16
- `above` smallint(6) NOT NULL default '0',
17
- PRIMARY KEY (`reembolso_id`)
18
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
19
-
20
- ");
21
-
22
- $installer->endSetup();
app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.2.1.php ADDED
@@ -0,0 +1,22 @@
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->run("
8
+
9
+ DROP TABLE IF EXISTS {$this->getTable('reembolso')};
10
+ CREATE TABLE {$this->getTable('reembolso')} (
11
+ `reembolso_id` int(11) unsigned NOT NULL auto_increment,
12
+ `title` varchar(255) NOT NULL default '',
13
+ `shipping_method` varchar(255) NOT NULL default '',
14
+ `type` smallint(6) NOT NULL default '0',
15
+ `value` smallint(6) NOT NULL default '0',
16
+ `above` smallint(6) NOT NULL default '0',
17
+ PRIMARY KEY (`reembolso_id`)
18
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
19
+
20
+ ");
21
+
22
+ $installer->endSetup();
app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-upgrade-0.1.0-0.2.0.php ADDED
File without changes
app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-upgrade-0.2.0-0.2.1.php ADDED
@@ -0,0 +1,22 @@
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->run("
8
+
9
+ DROP TABLE IF EXISTS {$this->getTable('reembolso')};
10
+ CREATE TABLE {$this->getTable('reembolso')} (
11
+ `reembolso_id` int(11) unsigned NOT NULL auto_increment,
12
+ `title` varchar(255) NOT NULL default '',
13
+ `shipping_method` varchar(255) NOT NULL default '',
14
+ `type` smallint(6) NOT NULL default '0',
15
+ `value` smallint(6) NOT NULL default '0',
16
+ `above` smallint(6) NOT NULL default '0',
17
+ PRIMARY KEY (`reembolso_id`)
18
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
19
+
20
+ ");
21
+
22
+ $installer->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Payment_Reembolso</name>
4
- <version>0.2.0</version>
5
<stability>stable</stability>
6
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
<channel>community</channel>
@@ -11,29 +11,14 @@
11
12
EN | Refund allows users to set up refunds for all shipping methods installed in our Magento store. Refund determines the value the user must pay by using this payment method. For each refund you must enter a title, the refund shipping method, the refund type (either fixed or variable), the refund value and the amount from which the value applied to the total amount will be selected.</description>
13
<notes>&lt;b&gt;CHANGES:&lt;/b&gt;
14
- -&gt;A app/code/local/Mage/Reembolso/Block/Adminhtml/Reembolso.php
15
- -&gt;A app/code/local/Mage/Reembolso/Block/Adminhtml/Reembolso/Grid.php
16
- -&gt;A app/code/local/Mage/Reembolso/Block/Adminhtml/Reembolso/Edit.php
17
- -&gt;A app/code/local/Mage/Reembolso/Block/Adminhtml/Reembolso/Edit/Tabs.php
18
- -&gt;A app/code/local/Mage/Reembolso/Block/Adminhtml/Reembolso/Edit/Form.php
19
- -&gt;A app/code/local/Mage/Reembolso/Block/Adminhtml/Reembolso/Edit/Tab/Form.php
20
- -&gt;A app/code/local/Mage/Reembolso/controllers/Adminhtml/ReembolsoController.php
21
- -&gt;U app/code/local/Mage/Reembolso/etc/config.xml
22
- -&gt;U app/code/local/Mage/Reembolso/etc/system.xml
23
- -&gt;A app/code/local/Mage/Reembolso/Model/Adminhtml/Status.php
24
- -&gt;A app/code/local/Mage/Reembolso/Model/Adminhtml/Reembolso.php
25
- -&gt;A app/code/local/Mage/Reembolso/Model/Mysql4/Reembolso.php
26
- -&gt;A app/code/local/Mage/Reembolso/Model/Mysql4/Reembolso/Collection.php
27
- -&gt;U app/code/local/Mage/Reembolso/Model/Quote.php
28
- -&gt;U app/code/local/Mage/Reembolso/Model/Reembolso.php
29
- -&gt;A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.1.0.php
30
- -&gt;U app/design/frontend/default/default/template/reembolso/form.phtml
31
- -&gt;U app/design/frontend/default/default/template/reembolso/info.phtml
32
- -&gt;U app/design/adminhtml/default/default/layout/reembolso.xml</notes>
33
<authors><author><name>Sophie</name><user>auto-converted</user><email>lalyostres@gmail.com</email></author><author><name>Manuel</name><user>auto-converted</user><email>manuelcanepa@gmail.com</email></author><author><name>Gaspar Mac</name><user>auto-converted</user><email>gasparmac@gmail.com</email></author></authors>
34
- <date>2009-02-13</date>
35
- <time>10:34:53</time>
36
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="reembolso.xml" hash="c70542d55d3c5486dfe96d62d62b38c2"/></dir><dir name="template"><dir name="reembolso"><file name="form.phtml" hash="a0299c5836ce66e8748328a918fdb1d8"/><file name="info.phtml" hash="308cfe38ecfbe667beee4618b40e6b33"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="reembolso"><file name="form.phtml" hash="aa973739122a483aca2ddfc6d1fd902f"/><file name="info.phtml" hash="28b00b8074bdf7cabed24d30911eb5b4"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="es_ES"><file name="Mage_Reembolso.csv" hash="42e01f656ee2d0223e95e10ed54b26ce"/></dir></target><target name="magelocal"><dir name="Mage"><dir name="Reembolso"><dir name="Block"><dir name="Adminhtml"><dir name="Reembolso"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="01a74473e969de469badea3afcc4d93c"/></dir><file name="Form.php" hash="a255a1faec8bd6827af597faa26ab479"/><file name="Tabs.php" hash="5cde7719cc092d44345454537eea652a"/></dir><file name="Edit.php" hash="48be62d8c1b09560fd5d876ee592b4e1"/><file name="Grid.php" hash="45e4cdff8d222d8f985f2975a064283a"/></dir><file name="Reembolso.php" hash="405131c5f3c12f61e6fde5089a030bc7"/></dir><file name="Form.php" hash="5374b819bbb8aa88127fda1122f7b2e8"/><file name="Info.php" hash="7bcb79c4df796dea63a2ac00ea991422"/><file name="Reembolso.php" hash="0db6644de2cfdc8dc7badb2cb8a84b23"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ReembolsoController.php" hash="8724a1fb8ae96f1111807588386b45e2"/></dir><file name="IndexController.php" hash="637815ee5aa7d6b9253ec713abfd559e"/></dir><dir name="etc"><file name="config.xml" hash="08ac3fd8cc285ae94e482bf9ab075b12"/><file name="system.xml" hash="462888971106de537e8618190d352bac"/></dir><dir name="Helper"><file name="Data.php" hash="981e6afa35c5a3b2a2a93cd032dda366"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Reembolso.php" hash="094caad3d400d674dad90528eb3ef7ea"/><file name="Status.php" hash="738364aabca63cc0ab1227f372cbd1c0"/></dir><dir name="Mysql4"><dir name="Reembolso"><file name="Collection.php" hash="6be9cec7d9098472f1514bc0b3189035"/></dir><file name="Reembolso.php" hash="5e4d2cadd46fdf0e919f6402c78ed985"/></dir><file name="Quote.php" hash="49051c6e369921f1de5835b780a30da9"/><file name="Reembolso.php" hash="cca1fcd38fb94d55ec75f53646e8790c"/></dir><dir name="sql"><dir name="reembolso_setup"><file name="mysql4-install-0.1.0.php" hash="66e352a38f890bce4c7173a1ce4c71e4"/></dir></dir><file name="INFO-reembolso.txt" hash="d8d8daf56685ebca48267cb516abc198"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Reembolso.xml" hash="142e434873aea670fe99f6e83f35a44b"/></dir></target></contents>
37
<compatible/>
38
<dependencies/>
39
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Payment_Reembolso</name>
4
+ <version>0.2.1</version>
5
<stability>stable</stability>
6
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
<channel>community</channel>
11
12
EN | Refund allows users to set up refunds for all shipping methods installed in our Magento store. Refund determines the value the user must pay by using this payment method. For each refund you must enter a title, the refund shipping method, the refund type (either fixed or variable), the refund value and the amount from which the value applied to the total amount will be selected.</description>
13
<notes>&lt;b&gt;CHANGES:&lt;/b&gt;
14
+ -&gt;U app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.1.0.php
15
+ -&gt;A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-install-0.2.1.php
16
+ -&gt;A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-upgrade-0.1.0-0.2.0.php
17
+ -&gt;A app/code/local/Mage/Reembolso/sql/reembolso_setup/mysql4-upgrade-0.2.0-0.2.1.php</notes>
18
<authors><author><name>Sophie</name><user>auto-converted</user><email>lalyostres@gmail.com</email></author><author><name>Manuel</name><user>auto-converted</user><email>manuelcanepa@gmail.com</email></author><author><name>Gaspar Mac</name><user>auto-converted</user><email>gasparmac@gmail.com</email></author></authors>
19
+ <date>2009-02-17</date>
20
+ <time>09:04:10</time>
21
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="reembolso.xml" hash="c70542d55d3c5486dfe96d62d62b38c2"/></dir><dir name="template"><dir name="reembolso"><file name="form.phtml" hash="a0299c5836ce66e8748328a918fdb1d8"/><file name="info.phtml" hash="308cfe38ecfbe667beee4618b40e6b33"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="reembolso"><file name="form.phtml" hash="aa973739122a483aca2ddfc6d1fd902f"/><file name="info.phtml" hash="28b00b8074bdf7cabed24d30911eb5b4"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="es_ES"><file name="Mage_Reembolso.csv" hash="42e01f656ee2d0223e95e10ed54b26ce"/></dir></target><target name="magelocal"><dir name="Mage"><dir name="Reembolso"><dir name="Block"><dir name="Adminhtml"><dir name="Reembolso"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="01a74473e969de469badea3afcc4d93c"/></dir><file name="Form.php" hash="a255a1faec8bd6827af597faa26ab479"/><file name="Tabs.php" hash="5cde7719cc092d44345454537eea652a"/></dir><file name="Edit.php" hash="48be62d8c1b09560fd5d876ee592b4e1"/><file name="Grid.php" hash="45e4cdff8d222d8f985f2975a064283a"/></dir><file name="Reembolso.php" hash="405131c5f3c12f61e6fde5089a030bc7"/></dir><file name="Form.php" hash="5374b819bbb8aa88127fda1122f7b2e8"/><file name="Info.php" hash="7bcb79c4df796dea63a2ac00ea991422"/><file name="Reembolso.php" hash="0db6644de2cfdc8dc7badb2cb8a84b23"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ReembolsoController.php" hash="36e1c31da302b55ae975a0aaf6c52b88"/></dir><file name="IndexController.php" hash="637815ee5aa7d6b9253ec713abfd559e"/></dir><dir name="etc"><file name="config.xml" hash="7219ef0085b511082dcbd0f2ed9896b7"/><file name="system.xml" hash="462888971106de537e8618190d352bac"/></dir><dir name="Helper"><file name="Data.php" hash="981e6afa35c5a3b2a2a93cd032dda366"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Reembolso.php" hash="094caad3d400d674dad90528eb3ef7ea"/><file name="Status.php" hash="738364aabca63cc0ab1227f372cbd1c0"/></dir><dir name="Mysql4"><dir name="Reembolso"><file name="Collection.php" hash="6be9cec7d9098472f1514bc0b3189035"/></dir><file name="Reembolso.php" hash="5e4d2cadd46fdf0e919f6402c78ed985"/></dir><file name="Quote.php" hash="49051c6e369921f1de5835b780a30da9"/><file name="Reembolso.php" hash="cca1fcd38fb94d55ec75f53646e8790c"/></dir><dir name="sql"><dir name="reembolso_setup"><file name="mysql4-install-0.1.0.php" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="mysql4-install-0.2.1.php" hash="66e352a38f890bce4c7173a1ce4c71e4"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="66e352a38f890bce4c7173a1ce4c71e4"/></dir></dir><file name="INFO-reembolso.txt" hash="d8d8daf56685ebca48267cb516abc198"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Reembolso.xml" hash="142e434873aea670fe99f6e83f35a44b"/></dir></target></contents>
22
<compatible/>
23
<dependencies/>
24
</package>