Version Notes
* minor bugfixes
Download this release
Release Info
Developer | AW_Core_Team |
Extension | AW_Onpulse |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
app/code/local/AW/Onpulse/Helper/Data.php
CHANGED
@@ -16,7 +16,7 @@ class AW_Onpulse_Helper_Data extends Mage_Core_Helper_Abstract
|
|
16 |
private $_countries = array();
|
17 |
|
18 |
public function escapeHtml($data,$allowedTags = NULL) {
|
19 |
-
if(
|
20 |
$data = htmlspecialchars($data);
|
21 |
} else {
|
22 |
$data = parent::escapeHtml($data);
|
@@ -85,7 +85,7 @@ class AW_Onpulse_Helper_Data extends Mage_Core_Helper_Abstract
|
|
85 |
|
86 |
private function _getCustomersRecentOrders($customer)
|
87 |
{
|
88 |
-
if(
|
89 |
$orderCollection=Mage::getModel('awonpulse/aggregator_components_order')->getCollectionForOldMegento();
|
90 |
} else {
|
91 |
/** @var $orderCollection Mage_Sales_Model_Resource_Order_Collection */
|
16 |
private $_countries = array();
|
17 |
|
18 |
public function escapeHtml($data,$allowedTags = NULL) {
|
19 |
+
if(version_compare(Mage::getVersion(),'1.4.1','<')) {
|
20 |
$data = htmlspecialchars($data);
|
21 |
} else {
|
22 |
$data = parent::escapeHtml($data);
|
85 |
|
86 |
private function _getCustomersRecentOrders($customer)
|
87 |
{
|
88 |
+
if(version_compare(Mage::getVersion(),'1.4.1','<')) {
|
89 |
$orderCollection=Mage::getModel('awonpulse/aggregator_components_order')->getCollectionForOldMegento();
|
90 |
} else {
|
91 |
/** @var $orderCollection Mage_Sales_Model_Resource_Order_Collection */
|
app/code/local/AW/Onpulse/Model/Aggregator/Components/Order.php
CHANGED
@@ -24,7 +24,7 @@ class AW_Onpulse_Model_Aggregator_Components_Order extends AW_Onpulse_Model_Aggr
|
|
24 |
|
25 |
public function pushData($event = null){
|
26 |
|
27 |
-
if(
|
28 |
$orderCollection=$this->getCollectionForOldMegento();
|
29 |
} else {
|
30 |
$orderCollection = Mage::getModel('sales/order')->getCollection()
|
24 |
|
25 |
public function pushData($event = null){
|
26 |
|
27 |
+
if(version_compare(Mage::getVersion(),'1.4.1','<')) {
|
28 |
$orderCollection=$this->getCollectionForOldMegento();
|
29 |
} else {
|
30 |
$orderCollection = Mage::getModel('sales/order')->getCollection()
|
app/code/local/AW/Onpulse/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<AW_Onpulse>
|
5 |
-
<version>1.0.
|
6 |
</AW_Onpulse>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<AW_Onpulse>
|
5 |
+
<version>1.0.9</version>
|
6 |
</AW_Onpulse>
|
7 |
</modules>
|
8 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AW_Onpulse</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://onpulse.info/TOS.pdf">EULA</license>
|
7 |
<channel>community</channel>
|
@@ -9,13 +9,11 @@
|
|
9 |
<summary>Mobile administration for Magento</summary>
|
10 |
<description>OnPulse provides you with an access to your sales statistics, the latest orders, and the clients list through any iOS or Android powered mobile device.
|
11 |
</description>
|
12 |
-
<notes
|
13 |
-
+ Ability to select order statuses are displayed in the statistics.
|
14 |
-
minor bugfixes</notes>
|
15 |
<authors><author><name>AW_Core_Team</name><user>aheadworks</user><email>no-reply@aheadworks.com</email></author></authors>
|
16 |
-
<date>2013-
|
17 |
-
<time>
|
18 |
-
<contents><target name="magelocal"><dir name="AW"><dir name="Onpulse"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><dir name="Onpulse"><file name="Settings.php" hash="6ba04d380ea7140b42c54f00a0acc452"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="
|
19 |
<compatible/>
|
20 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AW_Onpulse</name>
|
4 |
+
<version>1.0.9</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://onpulse.info/TOS.pdf">EULA</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>Mobile administration for Magento</summary>
|
10 |
<description>OnPulse provides you with an access to your sales statistics, the latest orders, and the clients list through any iOS or Android powered mobile device.
|
11 |
</description>
|
12 |
+
<notes>* minor bugfixes</notes>
|
|
|
|
|
13 |
<authors><author><name>AW_Core_Team</name><user>aheadworks</user><email>no-reply@aheadworks.com</email></author></authors>
|
14 |
+
<date>2013-06-24</date>
|
15 |
+
<time>13:22:20</time>
|
16 |
+
<contents><target name="magelocal"><dir name="AW"><dir name="Onpulse"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><dir name="Onpulse"><file name="Settings.php" hash="6ba04d380ea7140b42c54f00a0acc452"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0b5f4e0df9460bf7c9d7cf88dddf318b"/><file name="Data.php.orig" hash="fb2ab95d3268d3d8a689143dff7ffdb8"/></dir><dir name="Model"><dir name="Aggregator"><file name="Component.php" hash="721719d0df46da388b229c10d137864b"/><dir name="Components"><file name="Customer.php" hash="52df2d3be2d6196ee957b2e2c0d92cb2"/><file name="Order.php" hash="a9a23d8f678a68f1b245b97126cc3116"/><file name="Statistics.php" hash="9407dc4f00533766fc930beb2c7675d7"/></dir></dir><file name="Aggregator.php" hash="fcb4342d583403a99ca7bc245115854f"/><file name="Credentials.php" hash="56d886028ae6548937a9025d34e6e921"/></dir><dir name="etc"><file name="config.xml" hash="138ebf649f2363efb80a6c480ed33042"/><file name="system.xml" hash="11fa0896cc56063c5c572d992622e224"/></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="aw_onpulse"><file name="settings.phtml" hash="10c6eea6457de53e501360b25eb50f1d"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="AW_Onpulse.xml" hash="de39a5ffebb31ee697fbaf56bb1bfb8a"/></dir></dir><dir name="locale"><dir name="en_US"><file name="AW_Onpulse.csv" hash="23f7bee483404129d0f811a2f53cf38d"/></dir></dir></dir><dir><dir name="app"><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="aw_onpulse.xml" hash="5036d3b89b9a204c9420f40f3983d987"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|