Version Notes
- Minor Bug Fixing
Download this release
Release Info
Developer | Biztech |
Extension | magento_mobile_assistant_manager |
Version | 0.2.8 |
Comparing to | |
See all releases |
Code changes from version 0.2.7 to 0.2.8
- app/code/local/Biztech/Authentication/controllers/IndexController.php +1 -1
- app/code/local/Biztech/Mobileassistant/Helper/Data.php +2 -24
- app/code/local/Biztech/Mobileassistant/Model/System/Config/Notification.php +1 -5
- app/code/local/Biztech/Mobileassistant/controllers/IndexController.php +1 -1
- app/code/local/Biztech/Mobileassistant/etc/config.xml +1 -1
- app/code/local/Biztech/Mobileassistant/etc/system.xml +0 -9
- package.xml +5 -5
app/code/local/Biztech/Authentication/controllers/IndexController.php
CHANGED
@@ -162,7 +162,7 @@ class Biztech_Authentication_IndexController extends Mage_Core_Controller_Front_
|
|
162 |
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
|
164 |
$isPos = 0;
|
165 |
-
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_Mobileassistantpro' =>
|
166 |
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
return Mage::app()->getResponse()->setBody($result);
|
168 |
}
|
162 |
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
|
164 |
$isPos = 0;
|
165 |
+
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_Mobileassistantpro' => 0);
|
166 |
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
return Mage::app()->getResponse()->setBody($result);
|
168 |
}
|
app/code/local/Biztech/Mobileassistant/Helper/Data.php
CHANGED
@@ -54,7 +54,7 @@ class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
54 |
}
|
55 |
}
|
56 |
$isPos = 0;
|
57 |
-
$result = array('success' => $successArr, 'stores' => $storeArr, 'is_pos' => $isPos, 'is_Mobileassistantpro' =>
|
58 |
return $result;
|
59 |
}
|
60 |
|
@@ -89,29 +89,7 @@ class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
89 |
}
|
90 |
|
91 |
public function isEnable() {
|
92 |
-
|
93 |
-
$isenabled = Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled');
|
94 |
-
if ($isenabled) {
|
95 |
-
if ($websiteId) {
|
96 |
-
$websites = $this->getAllWebsites();
|
97 |
-
$key = Mage::getStoreConfig('mobileassistant/activation/key');
|
98 |
-
if ($key == null || $key == '') {
|
99 |
-
return false;
|
100 |
-
} else {
|
101 |
-
$en = Mage::getStoreConfig('mobileassistant/activation/en');
|
102 |
-
if ($isenabled && $en && in_array($websiteId, $websites)) {
|
103 |
-
return true;
|
104 |
-
} else {
|
105 |
-
return false;
|
106 |
-
}
|
107 |
-
}
|
108 |
-
} else {
|
109 |
-
$en = Mage::getStoreConfig('mobileassistant/activation/en');
|
110 |
-
if ($isenabled && $en) {
|
111 |
-
return true;
|
112 |
-
}
|
113 |
-
}
|
114 |
-
}
|
115 |
}
|
116 |
|
117 |
public function pushNotification($notification_type, $entity_id, $params = NULL) {
|
54 |
}
|
55 |
}
|
56 |
$isPos = 0;
|
57 |
+
$result = array('success' => $successArr, 'stores' => $storeArr, 'is_pos' => $isPos, 'is_Mobileassistantpro' => 0);
|
58 |
return $result;
|
59 |
}
|
60 |
|
89 |
}
|
90 |
|
91 |
public function isEnable() {
|
92 |
+
return Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
}
|
94 |
|
95 |
public function pushNotification($notification_type, $entity_id, $params = NULL) {
|
app/code/local/Biztech/Mobileassistant/Model/System/Config/Notification.php
CHANGED
@@ -15,11 +15,7 @@ class Biztech_Mobileassistant_Model_System_Config_Notification {
|
|
15 |
array(
|
16 |
'value' => 'customer_notification',
|
17 |
'label' => 'Customer Notification',
|
18 |
-
|
19 |
-
array(
|
20 |
-
'value' => 'review_notification',
|
21 |
-
'label' => 'Review Notification',
|
22 |
-
));
|
23 |
|
24 |
return $optionArray;
|
25 |
}
|
15 |
array(
|
16 |
'value' => 'customer_notification',
|
17 |
'label' => 'Customer Notification',
|
18 |
+
));
|
|
|
|
|
|
|
|
|
19 |
|
20 |
return $optionArray;
|
21 |
}
|
app/code/local/Biztech/Mobileassistant/controllers/IndexController.php
CHANGED
@@ -162,7 +162,7 @@ class Biztech_Mobileassistant_IndexController extends Mage_Core_Controller_Front
|
|
162 |
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
|
164 |
$isPos = 0;
|
165 |
-
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_Mobileassistantpro' =>
|
166 |
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
return Mage::app()->getResponse()->setBody($result);
|
168 |
}
|
162 |
$currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
|
163 |
|
164 |
$isPos = 0;
|
165 |
+
$resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_Mobileassistantpro' => 0);
|
166 |
$result = Mage::helper('core')->jsonEncode($resultArr);
|
167 |
return Mage::app()->getResponse()->setBody($result);
|
168 |
}
|
app/code/local/Biztech/Mobileassistant/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Biztech_Mobileassistant>
|
13 |
-
<version>0.2.
|
14 |
</Biztech_Mobileassistant>
|
15 |
</modules>
|
16 |
<frontend>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Biztech_Mobileassistant>
|
13 |
+
<version>0.2.8</version>
|
14 |
</Biztech_Mobileassistant>
|
15 |
</modules>
|
16 |
<frontend>
|
app/code/local/Biztech/Mobileassistant/etc/system.xml
CHANGED
@@ -92,15 +92,6 @@
|
|
92 |
<show_in_store>1</show_in_store>
|
93 |
<comment>Enter your message which will be received on the Mobile app whenever a product qty is lower than or equal to minimum qty.</comment>
|
94 |
</product_inventory_notification_msg>
|
95 |
-
<product_review_notification_msg translate="label">
|
96 |
-
<label>Product Review Notification Message</label>
|
97 |
-
<frontend_type>text</frontend_type>
|
98 |
-
<sort_order>7</sort_order>
|
99 |
-
<show_in_default>1</show_in_default>
|
100 |
-
<show_in_website>1</show_in_website>
|
101 |
-
<show_in_store>1</show_in_store>
|
102 |
-
<comment>Enter your message which will be received on the Mobile app whenever a new product review is added.</comment>
|
103 |
-
</product_review_notification_msg>
|
104 |
<barcode_for_url translate="label">
|
105 |
<label>Store Base Url QRcode</label>
|
106 |
<frontend_type>text</frontend_type>
|
92 |
<show_in_store>1</show_in_store>
|
93 |
<comment>Enter your message which will be received on the Mobile app whenever a product qty is lower than or equal to minimum qty.</comment>
|
94 |
</product_inventory_notification_msg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
<barcode_for_url translate="label">
|
96 |
<label>Store Base Url QRcode</label>
|
97 |
<frontend_type>text</frontend_type>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>magento_mobile_assistant_manager</name>
|
4 |
-
<version>0.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -25,11 +25,11 @@ To ensure smooth working of this extension you need to download this extension i
|
|
25 |
Application Download Link:
|
26 |
https://itunes.apple.com/us/app/magentomobilemanager/id695074519?mt=8&ign-mpt=uo%3D4
|
27 |
</description>
|
28 |
-
<notes>-
|
29 |
<authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
|
30 |
-
<date>2016-
|
31 |
-
<time>
|
32 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="18d9cf7b8e516db899336adfd8210621"/><file name="Biztech_Authentication.xml" hash="149998e1599f43939f13cbc059123c8f"/></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="pushcert.pem" hash="ae01f2353e11081071f5fa7e06bef9c1"/></dir></dir><dir name="."><file name="MageMobAdmin.pdf" hash=""/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mobileassistant"><dir name="system"><dir name="config"><file name="barcode.phtml" hash="94f6f78607e6d376b53b12f349d691b8"/><file name="barcode_21-7-2016.phtml" hash="4316de57ba76dc0f3d581fd149830920"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Authentication"><dir name="controllers"><file name="IndexController.php" hash="
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
35 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>magento_mobile_assistant_manager</name>
|
4 |
+
<version>0.2.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
25 |
Application Download Link:
|
26 |
https://itunes.apple.com/us/app/magentomobilemanager/id695074519?mt=8&ign-mpt=uo%3D4
|
27 |
</description>
|
28 |
+
<notes>- Minor Bug Fixing</notes>
|
29 |
<authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
|
30 |
+
<date>2016-08-06</date>
|
31 |
+
<time>07:57:24</time>
|
32 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="18d9cf7b8e516db899336adfd8210621"/><file name="Biztech_Authentication.xml" hash="149998e1599f43939f13cbc059123c8f"/></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="pushcert.pem" hash="ae01f2353e11081071f5fa7e06bef9c1"/></dir></dir><dir name="."><file name="MageMobAdmin.pdf" hash=""/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mobileassistant"><dir name="system"><dir name="config"><file name="barcode.phtml" hash="94f6f78607e6d376b53b12f349d691b8"/><file name="barcode_21-7-2016.phtml" hash="4316de57ba76dc0f3d581fd149830920"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Authentication"><dir name="controllers"><file name="IndexController.php" hash="ad82c0c1e7438e13bd7d0cd2d2451e2a"/></dir><dir name="etc"><file name="config.xml" hash="d12ebc10e7781ff82323e54ff7713dae"/></dir></dir><dir name="Mobileassistant"><dir name="Block"><dir name="Adminhtml"><file name="Enabledisable.php" hash="3b2fcf73b42be06f35b8661d14c11293"/></dir><dir name="Config"><file name="Barcodeurl.php" hash="6dc63c4a9f259cb5fb854d39c9057eaa"/><file name="Baseurl.php" hash="5ca3d2fc995b3da5e155fd55e87b1eed"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c83469e981e6aa9fe1bcc4ad7a60239c"/></dir><dir name="Model"><dir name="Mobileassistant"><file name="Api.php" hash="4e8e1f556fc8f1d9e6c2f520a3a84e52"/></dir><file name="Mobileassistant.php" hash="68e160bf752ec8c1facc514389c00849"/><dir name="Mysql4"><dir name="Mobileassistant"><file name="Collection.php" hash="e9319365535ec2c42429ea1d9dbdc097"/></dir><file name="Mobileassistant.php" hash="62dc51f43aa6dff1dc762646b71cd600"/></dir><file name="Observer.php" hash="b40ccaabbc9d2fb2312097dba1f93389"/><dir name="System"><dir name="Config"><file name="Notification.php" hash="b622f324dc7ff26737b7a699befd0f28"/><file name="Notification_30-1-2016.php" hash="e534c166867436b3ab6c5d3a9c0e5d45"/></dir></dir></dir><dir name="controllers"><file name="CustomerController.php" hash="43619f8ab81eb651a34e7fab791af613"/><file name="DashboardController.php" hash="74ab167f27cb2a2fb1e5f7a636896668"/><file name="IndexController.php" hash="6b70b8980f563190ac1d99416f0cad2d"/><file name="OrderController.php" hash="14e4ef67dc8b5cd4aa0e4a4e4235a966"/><file name="ProductController.php" hash="cbeea2ed1c12baada5b2fb2ba593e78c"/></dir><dir name="etc"><file name="api.xml" hash="7860c9fe0f121148eb2a3a498d1879b1"/><file name="config.xml" hash="3c770889914f69843bf62df41b3ff5eb"/><file name="system.xml" hash="23a051a72f852f546e20f22170d280f9"/></dir><dir name="sql"><dir name="mobileassistant_setup"><file name="mysql4-install-0.1.0.php" hash="4f06ae1c3c5362b88fae1b1951a6b02a"/><file name="mysql4-upgrade-0.1.0-0.1.4.php" hash="172e9ecba3b5b385cef1c257b2af4bfa"/><file name="mysql4-upgrade-0.1.10-0.2.0.php" hash="dcb5288e356d3c36838446bbcadf6a2e"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="bd4adba7146d89fed6c548dd46a30a81"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="88ea6198ef876da921faebb1aa067485"/><file name="mysql4-upgrade-0.1.6-0.1.10.php" hash="88ea6198ef876da921faebb1aa067485"/></dir></dir></dir></dir></target></contents>
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
35 |
</package>
|