Version Notes
-
Download this release
Release Info
Developer | Rouven Alexander Rieker |
Extension | DebitPayment |
Version | 0.5.4 |
Comparing to | |
See all releases |
Code changes from version 0.5.3 to 0.5.4
app/code/community/Mage/Debit/controllers/Adminhtml/OrderController.php
CHANGED
@@ -62,8 +62,22 @@ class Mage_Debit_Adminhtml_OrderController extends Mage_Adminhtml_Controller_Act
|
|
62 |
if (count($syncedOrders) > 0) {
|
63 |
$collection->addFieldToFilter('entity_id', array('nin' => $syncedOrders));
|
64 |
}
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
$collection->getSelect()->where('method = ?', 'debit');
|
68 |
|
69 |
foreach ($collection as $order) {
|
62 |
if (count($syncedOrders) > 0) {
|
63 |
$collection->addFieldToFilter('entity_id', array('nin' => $syncedOrders));
|
64 |
}
|
65 |
+
|
66 |
+
/* @var $resource Mage_Core_Model_Resource */
|
67 |
+
$resource = Mage::getSingleton('core/resource');
|
68 |
+
$salesFlatOrderTable = $resource->getTableName('sales_flat_order');
|
69 |
+
$salesFlatOrderPaymentTable = $resource->getTableName('sales_flat_order_payment');
|
70 |
+
|
71 |
+
$collection->getSelect()->joinLeft(
|
72 |
+
$salesFlatOrderTable,
|
73 |
+
$salesFlatOrderTable.'.entity_id = main_table.entity_id',
|
74 |
+
array('customer_id')
|
75 |
+
);
|
76 |
+
$collection->getSelect()->joinLeft(
|
77 |
+
$salesFlatOrderPaymentTable,
|
78 |
+
$salesFlatOrderPaymentTable.'.parent_id = main_table.entity_id',
|
79 |
+
array('method')
|
80 |
+
);
|
81 |
$collection->getSelect()->where('method = ?', 'debit');
|
82 |
|
83 |
foreach ($collection as $order) {
|
app/code/community/Mage/Debit/etc/config.xml
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Mage_Debit>
|
27 |
-
<version>0.5.
|
28 |
</Mage_Debit>
|
29 |
</modules>
|
30 |
<global>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Mage_Debit>
|
27 |
+
<version>0.5.4</version>
|
28 |
</Mage_Debit>
|
29 |
</modules>
|
30 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DebitPayment</name>
|
4 |
-
<version>0.5.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Gerade in Deutschland und Österreich gehört die Lastschrift (Bankeinzug) zu den populärsten Zahlungsmöglichkeiten. Mit Hilfe dieser Erweiterung können Sie Ihren Kunden die Zahlungsmöglichkeit Lastschrift anbieten.</description>
|
11 |
<notes>-</notes>
|
12 |
<authors><author><name>Rouven Alexander Rieker</name><user>therouv</user><email>rouven.rieker@itabs.de</email></author></authors>
|
13 |
-
<date>2012-10
|
14 |
-
<time>09:
|
15 |
-
<contents><target name="magecommunity"><dir><dir name="Mage"><dir name="Debit"><dir name="Block"><dir name="Account"><file name="Data.php" hash="5ec87894004a522fd8d38b961f4822dc"/></dir><dir name="Adminhtml"><dir name="Order"><file name="Grid.php" hash="48f25e84eb680a78676b947f96dd6906"/></dir><file name="Order.php" hash="f01dc6ba410fc9948bab620715ccfd68"/></dir><file name="Form.php" hash="71ec19adbf20f06c8e0ccd3b5b3ecf91"/><file name="Info.php" hash="bfd6c54e68a62287a2136a72b2f1c162"/></dir><dir name="Helper"><file name="Adminhtml.php" hash="8bacc26f386ec126d813f9cea5519085"/><file name="Data.php" hash="25bd936b7fb2ca3a4fe6dc84a49eba34"/></dir><dir name="Model"><file name="Debit.php" hash="2f3636898922bb734a329bf3029e1cda"/><dir name="Entity"><dir name="Customer"><dir name="Attribute"><dir name="Backend"><file name="Encrypted.php" hash="94b4c27e902ba0625ac5a9f87fa96f54"/></dir></dir></dir></dir><dir name="Mysql4"><dir name="Orders"><file name="Collection.php" hash="9168652992a5a5a7363b692d63b2a779"/></dir><file name="Orders.php" hash="cf2ffc55752004a300abef1eff607188"/></dir><file name="Observer.php" hash="5bbd916c7c26299aadbd6a67cfcebffe"/><file name="Orders.php" hash="2e8db83c32da4d448c385dda85fe83be"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Customer"><file name="Group.php" hash="d4532ac24b67ae24f54860c6ccfb702d"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="AccountController.php" hash="6a584c009a8562aac90d31d494e8b347"/><dir name="Adminhtml"><file name="OrderController.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DebitPayment</name>
|
4 |
+
<version>0.5.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Gerade in Deutschland und Österreich gehört die Lastschrift (Bankeinzug) zu den populärsten Zahlungsmöglichkeiten. Mit Hilfe dieser Erweiterung können Sie Ihren Kunden die Zahlungsmöglichkeit Lastschrift anbieten.</description>
|
11 |
<notes>-</notes>
|
12 |
<authors><author><name>Rouven Alexander Rieker</name><user>therouv</user><email>rouven.rieker@itabs.de</email></author></authors>
|
13 |
+
<date>2012-11-10</date>
|
14 |
+
<time>15:09:02</time>
|
15 |
+
<contents><target name="magecommunity"><dir><dir name="Mage"><dir name="Debit"><dir name="Block"><dir name="Account"><file name="Data.php" hash="5ec87894004a522fd8d38b961f4822dc"/></dir><dir name="Adminhtml"><dir name="Order"><file name="Grid.php" hash="48f25e84eb680a78676b947f96dd6906"/></dir><file name="Order.php" hash="f01dc6ba410fc9948bab620715ccfd68"/></dir><file name="Form.php" hash="71ec19adbf20f06c8e0ccd3b5b3ecf91"/><file name="Info.php" hash="bfd6c54e68a62287a2136a72b2f1c162"/></dir><dir name="Helper"><file name="Adminhtml.php" hash="8bacc26f386ec126d813f9cea5519085"/><file name="Data.php" hash="25bd936b7fb2ca3a4fe6dc84a49eba34"/></dir><dir name="Model"><file name="Debit.php" hash="2f3636898922bb734a329bf3029e1cda"/><dir name="Entity"><dir name="Customer"><dir name="Attribute"><dir name="Backend"><file name="Encrypted.php" hash="94b4c27e902ba0625ac5a9f87fa96f54"/></dir></dir></dir></dir><dir name="Mysql4"><dir name="Orders"><file name="Collection.php" hash="9168652992a5a5a7363b692d63b2a779"/></dir><file name="Orders.php" hash="cf2ffc55752004a300abef1eff607188"/></dir><file name="Observer.php" hash="5bbd916c7c26299aadbd6a67cfcebffe"/><file name="Orders.php" hash="2e8db83c32da4d448c385dda85fe83be"/><dir name="System"><dir name="Config"><dir name="Source"><dir name="Customer"><file name="Group.php" hash="d4532ac24b67ae24f54860c6ccfb702d"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="AccountController.php" hash="6a584c009a8562aac90d31d494e8b347"/><dir name="Adminhtml"><file name="OrderController.php" hash="27c9dbb28fc9e2106522870e53dc235d"/></dir><file name="AjaxController.php" hash="5beb576a11c36694549f3b06bcd216cb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="38dcc403c12a5c8bd568148946804a7c"/><file name="bankleitzahlen.csv" hash="47834eb8f31d37940cac46f288fdb6b5"/><file name="config.xml" hash="b1349c858a8dd185f99ae7be060fa62d"/><file name="system.xml" hash="e71ad7bfb5beb8cb87ba4d6349ac3ad4"/></dir><dir name="sql"><dir name="debit_setup"><file name="mysql4-install-0.4.0.php" hash="e737bff708ac736d9fa2dc617cbc2bb5"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="e737bff708ac736d9fa2dc617cbc2bb5"/><file name="mysql4-upgrade-0.4.9-0.5.0.php" hash="1312e739a3f3b3ec429599248baa0dbc"/><file name="mysql4-upgrade-0.5.0-0.5.1.php" hash="89c41e07eae8d13b99718ef2dca56241"/><file name="mysql4-upgrade-0.5.1-0.5.2.php" hash="d1db3adfc37489a3c90df875b76e1c6d"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Mage_Debit.xml" hash="4df52a50ed7f6a00007564224689413f"/></dir></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Mage_Debit.csv" hash="d28e0eb0cb5c49439cd0e5170ecf40ab"/></dir><dir name="en_US"><file name="Mage_Debit.csv" hash="2768d31e1b5dd5ba7b4847d40587c33d"/></dir></dir></target><target name="magedesign"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="debit.xml" hash="f3ec75909b0a0b9891ac5955c13fcbef"/></dir><dir name="template"><dir name="debit"><file name="debit.phtml" hash="344aff2f527fb3e9f909410635da4a82"/><file name="form.phtml" hash="af659f3607a76ff8a38ca46fe993aa14"/><file name="info.phtml" hash="d26a60e5fe93bb1035fd054d9ee6a886"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="debit.xml" hash="44790c6738874678d83c2c392b630f05"/></dir><dir name="template"><dir name="debit"><dir><dir name="account"><file name="data.phtml" hash="dc04eafc5e2a9e12bf6af0453842e2ee"/></dir></dir><file name="form.phtml" hash="5a9f4e89edeb7f71193eee3115e18940"/><file name="info.phtml" hash="a389aedc4ab07a2d8671a7cd1cbf1ae4"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="mage"><dir name="debit"><file name="blzcheck.js" hash="4ab6fd01179d171c97bca611a2425617"/></dir></dir></dir></dir></target><target name="magelib"><dir><dir name="DTA"><file name="DTA.php" hash="e6fc2837be0ec433fa759485de446fe8"/><file name="DTABase.php" hash="824185c1a0d6d53a24787fb48268d694"/><file name="DTAZV.php" hash="851b8a15747129fa21945e2d28d435e2"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|