Version Notes
Plumrocket Auto Invoice
Download this release
Release Info
Developer | Plumrocket Team |
Extension | Plumrocket_Auto_Invoice |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
app/code/community/Plumrocket/AutoInvoice/Model/Observer.php
CHANGED
@@ -30,10 +30,11 @@ class Plumrocket_AutoInvoice_Model_Observer
|
|
30 |
return $this;
|
31 |
}
|
32 |
|
33 |
-
$
|
|
|
34 |
|
35 |
$collection = Mage::getModel('sales/order')->getCollection()
|
36 |
-
->addFieldToFilter('main_table.created_at', array('gt' =>
|
37 |
->addFieldToFilter('main_table.state', array('in' => array(
|
38 |
Mage_Sales_Model_Order::STATE_NEW,
|
39 |
Mage_Sales_Model_Order::STATE_PROCESSING,
|
30 |
return $this;
|
31 |
}
|
32 |
|
33 |
+
$dateModel = Mage::getModel('core/date');
|
34 |
+
$time = $dateModel->timestamp() - 60 * 60;
|
35 |
|
36 |
$collection = Mage::getModel('sales/order')->getCollection()
|
37 |
+
->addFieldToFilter('main_table.created_at', array('gt' => $dateModel->gmtDate('Y-m-d H:i:s', $time)))
|
38 |
->addFieldToFilter('main_table.state', array('in' => array(
|
39 |
Mage_Sales_Model_Order::STATE_NEW,
|
40 |
Mage_Sales_Model_Order::STATE_PROCESSING,
|
app/code/community/Plumrocket/AutoInvoice/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Plumrocket_AutoInvoice>
|
5 |
-
<version>1.0.
|
6 |
</Plumrocket_AutoInvoice>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Plumrocket_AutoInvoice>
|
5 |
+
<version>1.0.4</version>
|
6 |
</Plumrocket_AutoInvoice>
|
7 |
</modules>
|
8 |
<global>
|
app/etc/modules/Plumrocket_AutoInvoice.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Plumrocket_AutoInvoice>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
-
<version>1.0.
|
8 |
<wiki>http://wiki.plumrocket.com/wiki/Magento_Auto_Invoice_v1.x_Extension</wiki>
|
9 |
</Plumrocket_AutoInvoice>
|
10 |
</modules>
|
4 |
<Plumrocket_AutoInvoice>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
+
<version>1.0.4</version>
|
8 |
<wiki>http://wiki.plumrocket.com/wiki/Magento_Auto_Invoice_v1.x_Extension</wiki>
|
9 |
</Plumrocket_AutoInvoice>
|
10 |
</modules>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Plumrocket_Auto_Invoice</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://wiki.plumrocket.net/wiki/EULA">End-user License Agreement</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Plumrocket Auto Invoice is a convenient Magento payment processing module that was designed to generate invoice automatically. After a client confirms his order the system will send the invoice automatically thus allowing website admin to avoid manual processing of payment transactions.</description>
|
11 |
<notes>Plumrocket Auto Invoice</notes>
|
12 |
<authors><author><name>Plumrocket Team</name><user>plumrocket</user><email>support@plumrocket.com</email></author></authors>
|
13 |
-
<date>2013-12-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Plumrocket_AutoInvoice.xml" 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>Plumrocket_Auto_Invoice</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://wiki.plumrocket.net/wiki/EULA">End-user License Agreement</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Plumrocket Auto Invoice is a convenient Magento payment processing module that was designed to generate invoice automatically. After a client confirms his order the system will send the invoice automatically thus allowing website admin to avoid manual processing of payment transactions.</description>
|
11 |
<notes>Plumrocket Auto Invoice</notes>
|
12 |
<authors><author><name>Plumrocket Team</name><user>plumrocket</user><email>support@plumrocket.com</email></author></authors>
|
13 |
+
<date>2013-12-24</date>
|
14 |
+
<time>12:06:25</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Plumrocket_AutoInvoice.xml" hash="6ca2a0c0e26a723c2abafa30c14bb617"/></dir></target><target name="magecommunity"><dir name="Plumrocket"><dir name="AutoInvoice"><dir name="Block"><dir name="System"><dir name="Config"><file name="Version.php" hash="3adcf7698f60ef53547cb6259797668c"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="2442a8b87cb8d2b97f7418d0ce0a4287"/></dir><dir name="Model"><file name="Observer.php" hash="56ea505e811603c516f129451a0f7b4f"/><dir name="System"><dir name="Config"><dir name="Source"><file name="CaptureAmount.php" hash="28a27588ddd56fbbab43f09e31a9bac8"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="e45a29110a7ea4ed9e26535cca2f47a4"/><file name="config.xml" hash="6dfd364c23ed82d9d66c449f0a4046e0"/><file name="system.xml" hash="38677f6b4a4ca2ecb55c9997c871159f"/></dir></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>
|