mobile_assistant_connector - Version 1.3.3

Version Notes

Fixed:
- order creation via admin in 1.9.2.2
- minor changes
- reduced size of QR for app

Download this release

Release Info

Developer eMagicOne
Extension mobile_assistant_connector
Version 1.3.3
Comparing to
See all releases


Code changes from version 1.3.2 to 1.3.3

app/code/community/Emagicone/Mobassistantconnector/Helper/Data.php CHANGED
@@ -144,7 +144,7 @@ class Emagicone_Mobassistantconnector_Helper_Data extends Mage_Core_Helper_Abstr
144
  }
145
 
146
  Mage::getModel('core/config')->saveConfig('mobassistantconnectorinfosec/access/google_ids', serialize($deviceIdActions));
147
- Mage::app()->init();
148
 
149
  return $deviceIdActions;
150
  }
@@ -161,7 +161,9 @@ class Emagicone_Mobassistantconnector_Helper_Data extends Mage_Core_Helper_Abstr
161
 
162
  $allowedCurrencies = Mage::getModel('directory/currency')->getConfigAllowCurrencies();
163
  $rates = Mage::getModel('directory/currency')->getCurrencyRates($baseCurrencyCode, array_values($allowedCurrencies));
164
- $price = $price * $rates[$convert_to];
 
 
165
 
166
  $iso_code = $convert_to;
167
  } catch(Exception $e) {
144
  }
145
 
146
  Mage::getModel('core/config')->saveConfig('mobassistantconnectorinfosec/access/google_ids', serialize($deviceIdActions));
147
+ Mage::app()->init('');
148
 
149
  return $deviceIdActions;
150
  }
161
 
162
  $allowedCurrencies = Mage::getModel('directory/currency')->getConfigAllowCurrencies();
163
  $rates = Mage::getModel('directory/currency')->getCurrencyRates($baseCurrencyCode, array_values($allowedCurrencies));
164
+ if (!empty($rates[$convert_to])) {
165
+ $price = $price * $rates[$convert_to];
166
+ }
167
 
168
  $iso_code = $convert_to;
169
  } catch(Exception $e) {
app/code/community/Emagicone/Mobassistantconnector/controllers/IndexController.php CHANGED
@@ -28,7 +28,7 @@ class Emagicone_Mobassistantconnector_IndexController extends Mage_Core_Controll
28
  private $hash_only;
29
  private $session_key;
30
  const GSM_URL = 'https://android.googleapis.com/gcm/send';
31
- const MB_VERSION = '95';
32
 
33
  public function indexAction()
34
  {
28
  private $hash_only;
29
  private $session_key;
30
  const GSM_URL = 'https://android.googleapis.com/gcm/send';
31
+ const MB_VERSION = '96';
32
 
33
  public function indexAction()
34
  {
app/code/community/Emagicone/Mobassistantconnector/etc/config.xml CHANGED
@@ -15,7 +15,7 @@
15
 
16
  <modules>
17
  <Emagicone_Mobassistantconnector>
18
- <version>1.3.2</version>
19
  </Emagicone_Mobassistantconnector>
20
  </modules>
21
  <frontend>
15
 
16
  <modules>
17
  <Emagicone_Mobassistantconnector>
18
+ <version>1.3.3</version>
19
  </Emagicone_Mobassistantconnector>
20
  </modules>
21
  <frontend>
app/design/adminhtml/default/default/template/mobassistantconnector/connect_qrcode.phtml CHANGED
@@ -4,5 +4,5 @@ $url = 'https://goo.gl/B20FrE';
4
 
5
  ?>
6
  <div id="qr_app">
7
- <a href="https://goo.gl/B20FrE" onmouseover='this.style.background_color="white"' target="_blank"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAIAAAD2HxkiAAAABmJLR0QA/wD/AP+gvaeTAAAFH0lEQVR4nO3dQY4bNxQA0SjI/a+sLB0kNoG0KdbnzHtbY9xSSwUuvsh+vd/vP4DOn/ULgO9OhBATIcRECDERQkyEEBMhxEQIMRFCTIQQEyHERAgxEUJMhBATIcRECDERQkyEEBMhxEQIMRFCTIQQEyHERAgxEUJMhBATIcRECDERQkyEEBMhxEQIMRFCTIQQEyHERAixvw5f7/V6Hb7iRu/3+1f/tHhfV//VM1/1U/4QKyHERAgxEUJMhBATIcRECDERQkyEEDs9rF84PyT9qWeD5mdT8u0vY76rP+UPsRJCTIQQEyHERAgxEUJMhBATIcRECLFBw/qF7aPV+XvJn73C7ZvuF77qPTzPSggxEUJMhBATIcRECDERQkyEEBMhxO4Y1vNPJyfyHGAlhJgIISZCiIkQYiKEmAghJkKIiRBihvUft32P/Em3bE6/mpUQYiKEmAghJkKIiRBiIoSYCCEmQojdMayfPzI+OZHffjee7cc/+TK+NishxEQIMRFCTIQQEyHERAgxEUJMhBA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CEmQoiJEGIihJgIISZCiIkQYiKEmAghJkKIiRBiIoSYCCEmQoiJEGIihJgIISZCiIkQYiKEmAghJkKIiRBiIoSYCCEmQoiJEGIihJgIISZCiIkQYiKEmAghJkKIiRBiIoTY329QcGLo+WURAAAAAElFTkSuQmCC" title="QR Code for Application" /></a>
8
  </div>
4
 
5
  ?>
6
  <div id="qr_app">
7
+ <a href="https://goo.gl/B20FrE" onmouseover='this.style.background_color="white"' target="_blank"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAABmJLR0QA/wD/AP+gvaeTAAAC4ElEQVR4nO3dzU4DMQwAYRbx/q9cDhwaoUaNZTubgfmOqF2KRsHa316Px+NDZJ93fwBlmRDPhHgmxDMhngnxTIhnQjwT4pkQz4R4JsQzIZ4J8UyIZ0I8E+KZEM+EeCbEMyGeCfFMiGdCvK/CbV3XVbi1H+OVyuP2O34+0/13JbkK8UyIZ0K8ylk4yvyvn82e2TxbeW+Vjr8ryVWIZ0I8E+J1zcLRygyo2j+bbWdlH3Hn5ynkKsQzIZ4J8XbMwrtE5x+UqxDPhHgmxKPOwpX9v6ptHs5ViGdCPBPi7ZiFVTMmOv9Wfm/mmppDZqerEM+EeCbE65qFHcchV2ZVZrZFP8MhXIV4JsQzIV7lLOzeT+rYfnS+HshViGdCPBPi3Xl/Yeaaz6rzhZlrSqPXkXbsp364Cv8AE+KZEG/3/YXjPIjOnsz5v5nM/Ived9G0f+kqxDMhngnxrg0HAKvOsXXcFxF9Ts3svTdyFeKZEM+EeKfcU5HZj4xup2P+3TgvXYV4JsQzId7u84VVxxWjxz87ztutbH/DjHQV4pkQz4R4XcdIN5wne/t7R9F9vqrrgGafzVmoJxPimRBv9zHSjmtNV95bNf8yzwf32hm9ZkI8E+J1HSPNzJiVbc7eG515VfNv9vqR+4V6zYR4JsQ7/TrSqv22057N7SzUkwnxTIi3YxZW6T4HWXXvYPc1O7+4CvFMiGdCPNL32nd/P/DKe6OfYcM+qKsQz4R4JsQjfa999PV3fR/v5l1tVyGeCfFMiEf6Xvvu90avqRltPi46chXimRDPhHinPHdmRWauZF4fvQZn5eeeL9STCfFMiEeahVW677X3/kLFmBDPhHik77UfdTybu4PPI9V7JsQzIV7lPRXd15FGn1P6T2awqxDPhHgmxCPdX6iXXIV4JsQzIZ4J8UyIZ0I8E+KZEM+EeCbEMyGeCfFMiGdCPBPimRDPhHgmxDMhngnxTIhnQjwT4pkQ7xsK5W82Bs0v9gAAAABJRU5ErkJggg==" title="QR Code for Application" /></a>
8
  </div>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mobile_assistant_connector</name>
4
- <version>1.3.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GNU</license>
7
  <channel>community</channel>
@@ -9,20 +9,13 @@
9
  <summary>Mobile Assistant Connector</summary>
10
  <description>Mobile Assistant Connector</description>
11
  <notes>Fixed:&#xD;
12
- - saving push messages configuration&#xD;
13
- - internal changes&#xD;
14
- &#xD;
15
- Added:&#xD;
16
- - List of product images (Product details)&#xD;
17
- - QR-code to get app from Google Play (in module settings)&#xD;
18
- - Formatting of average sums (Dashboard)&#xD;
19
- - Sorting results with more parameters (new versions of app)&#xD;
20
- - Ordered products grouped by "Product ID"&#xD;
21
- - Stock and availability statuses of product</notes>
22
  <authors><author><name>eMagicOne</name><user>mobile</user><email>mobile@emagicone.com</email></author></authors>
23
- <date>2016-02-29</date>
24
- <time>16:23:02</time>
25
- <contents><target name="magecommunity"><dir name="Emagicone"><dir name="Mobassistantconnector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Qrcode.php" hash="70dea8e46b446b780f11cd4ee6b198aa"/><file name="Qrconfig.php" hash="dbc08b9915140181ec59f9c625abef75"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Access.php" hash="c6f4c96ca225bbc72cb829c59f7808f1"/><file name="Data.php" hash="66f81043e54919ecf4991970fd3e6ff8"/></dir><dir name="Model"><file name="Defpassword.php" hash="921e5344ba325ddf1aaba6aeb2202696"/><file name="Failed.php" hash="7da654c3cf1e9a3f5a55da7f36192117"/><file name="Login.php" hash="bedbce507924854910524fbabe1c4948"/><file name="Observer.php" hash="d927259cc475e250006a5f0f742a3edc"/><file name="Order.php" hash="f3d5529e0504ea0265cb661e03f41109"/><file name="Password.php" hash="66e2050ecc7b56deb654b5476ac1746c"/><dir name="Resource"><dir name="Failed"><file name="Collection.php" hash="18980688d80660f6a663a2c4dce20f54"/></dir><file name="Failed.php" hash="a69ca1239d3400097fabc415ee02751b"/><dir name="Sessions"><file name="Collection.php" hash="397e9a6f637472b59abe42bca09ea616"/></dir><file name="Sessions.php" hash="4d9f6cdd340fd95549d287c6107285ac"/></dir><file name="Sessions.php" hash="e3a32e26446e4cd27032c99dde8d4cfa"/></dir><dir name="controllers"><file name="IndexController.php" hash="7dedaba05f3fabcf11a1627cdb4608e7"/><dir name="adminhtml"><file name="IndexController.php" hash="e8fc499b74daeef9dbf856e813cbefb8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="333ed888c7f8a1e067821b6547e34340"/><file name="config.xml" hash="5bf33174acdbabc10d4b509ae7b090cc"/><file name="system.xml" hash="97fbc5425f62367d796080d5e84ae20c"/></dir><dir name="sql"><dir name="emagicone_mobassistantconnector_setup"><file name="install-1.2.1.php" hash="2394c0bf43b7c8f15fa83d957ed15ffd"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Emagicone_Mobassistantconnector.xml" hash="7bb654478173d96ad294000fc9625820"/></dir></target><target name="magelocale"><dir><dir name="en_GB"><file name="Emagicone_Mobassistantconnector.csv" hash="eaf733f81ff47627c4389d487c93709f"/></dir><dir name="en_US"><file name="Emagicone_Mobassistantconnector.csv" hash="510d79a25c0bfb7a096aab57d8c5b458"/></dir><dir name="es_ES"><file name="Emagicone_Mobassistantconnector.csv" hash="acc37c432dd8b4134844291931b70fbf"/></dir><dir name="fr_FR"><file name="Emagicone_Mobassistantconnector.csv" hash="76c48723a6bbd59534781fd3c7f6d86e"/></dir><dir name="ru_RU"><file name="Emagicone_Mobassistantconnector.csv" hash="2346397cbe029dcc724717b953a3f38c"/></dir><dir name="uk_UA"><file name="Emagicone_Mobassistantconnector.csv" hash="cad0e0c3ec7603e6b886d815357d1766"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mobassistantconnector.xml" hash="b5c4d423be8de0c5d73d64783dcb9a3c"/></dir><dir name="template"><dir name="mobassistantconnector"><file name="connect_qrcode.phtml" hash="d376f0352bcb78007ef7c7f83a89c9a8"/><file name="jsinit.phtml" hash="0a462da90a18be15dd5b3305c02605b5"/></dir></dir></dir></dir></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min>1.0</min><max>3.0</max></extension><extension><name>json</name><min>1.0</min><max>3.0</max></extension><extension><name>date</name><min>1.0</min><max>3.0</max></extension></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>mobile_assistant_connector</name>
4
+ <version>1.3.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GNU</license>
7
  <channel>community</channel>
9
  <summary>Mobile Assistant Connector</summary>
10
  <description>Mobile Assistant Connector</description>
11
  <notes>Fixed:&#xD;
12
+ - order creation via admin in 1.9.2.2&#xD;
13
+ - minor changes&#xD;
14
+ - reduced size of QR for app</notes>
 
 
 
 
 
 
 
15
  <authors><author><name>eMagicOne</name><user>mobile</user><email>mobile@emagicone.com</email></author></authors>
16
+ <date>2016-03-18</date>
17
+ <time>13:01:40</time>
18
+ <contents><target name="magecommunity"><dir name="Emagicone"><dir name="Mobassistantconnector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Qrcode.php" hash="70dea8e46b446b780f11cd4ee6b198aa"/><file name="Qrconfig.php" hash="dbc08b9915140181ec59f9c625abef75"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Access.php" hash="c6f4c96ca225bbc72cb829c59f7808f1"/><file name="Data.php" hash="f17fda0c656e38c4b239a3be875b7ab3"/></dir><dir name="Model"><file name="Defpassword.php" hash="921e5344ba325ddf1aaba6aeb2202696"/><file name="Failed.php" hash="7da654c3cf1e9a3f5a55da7f36192117"/><file name="Login.php" hash="bedbce507924854910524fbabe1c4948"/><file name="Observer.php" hash="d927259cc475e250006a5f0f742a3edc"/><file name="Order.php" hash="f3d5529e0504ea0265cb661e03f41109"/><file name="Password.php" hash="66e2050ecc7b56deb654b5476ac1746c"/><dir name="Resource"><dir name="Failed"><file name="Collection.php" hash="18980688d80660f6a663a2c4dce20f54"/></dir><file name="Failed.php" hash="a69ca1239d3400097fabc415ee02751b"/><dir name="Sessions"><file name="Collection.php" hash="397e9a6f637472b59abe42bca09ea616"/></dir><file name="Sessions.php" hash="4d9f6cdd340fd95549d287c6107285ac"/></dir><file name="Sessions.php" hash="e3a32e26446e4cd27032c99dde8d4cfa"/></dir><dir name="controllers"><file name="IndexController.php" hash="5bdb83f04dbb7e96a917a68bdca724bf"/><dir name="adminhtml"><file name="IndexController.php" hash="e8fc499b74daeef9dbf856e813cbefb8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="333ed888c7f8a1e067821b6547e34340"/><file name="config.xml" hash="1a4da789021931325fd678d559e879ba"/><file name="system.xml" hash="97fbc5425f62367d796080d5e84ae20c"/></dir><dir name="sql"><dir name="emagicone_mobassistantconnector_setup"><file name="install-1.2.1.php" hash="2394c0bf43b7c8f15fa83d957ed15ffd"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Emagicone_Mobassistantconnector.xml" hash="7bb654478173d96ad294000fc9625820"/></dir></target><target name="magelocale"><dir><dir name="en_GB"><file name="Emagicone_Mobassistantconnector.csv" hash="eaf733f81ff47627c4389d487c93709f"/></dir><dir name="en_US"><file name="Emagicone_Mobassistantconnector.csv" hash="510d79a25c0bfb7a096aab57d8c5b458"/></dir><dir name="es_ES"><file name="Emagicone_Mobassistantconnector.csv" hash="acc37c432dd8b4134844291931b70fbf"/></dir><dir name="fr_FR"><file name="Emagicone_Mobassistantconnector.csv" hash="76c48723a6bbd59534781fd3c7f6d86e"/></dir><dir name="ru_RU"><file name="Emagicone_Mobassistantconnector.csv" hash="2346397cbe029dcc724717b953a3f38c"/></dir><dir name="uk_UA"><file name="Emagicone_Mobassistantconnector.csv" hash="cad0e0c3ec7603e6b886d815357d1766"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mobassistantconnector.xml" hash="b5c4d423be8de0c5d73d64783dcb9a3c"/></dir><dir name="template"><dir name="mobassistantconnector"><file name="connect_qrcode.phtml" hash="0a7663b0e688bb0da172e256b79edac2"/><file name="jsinit.phtml" hash="0a462da90a18be15dd5b3305c02605b5"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min>1.0</min><max>3.0</max></extension><extension><name>json</name><min>1.0</min><max>3.0</max></extension><extension><name>date</name><min>1.0</min><max>3.0</max></extension></required></dependencies>
21
  </package>