magento_mobile_assistant_manager - Version 0.3.0

Version Notes

- Solve Pricing Currency Issue

Download this release

Release Info

Developer Biztech
Extension magento_mobile_assistant_manager
Version 0.3.0
Comparing to
See all releases


Code changes from version 0.2.9 to 0.3.0

MageMobAdmin.pdf DELETED
Binary file
app/code/local/Biztech/Authentication/controllers/IndexController.php CHANGED
@@ -158,11 +158,19 @@ class Biztech_Authentication_IndexController extends Mage_Core_Controller_Front_
158
  $storeId = $post_data['storeid'];
159
  $block = new Mage_Page_Block_Html_Header();
160
  $logo = $block->getLogoSrc();
161
-
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
  }
158
  $storeId = $post_data['storeid'];
159
  $block = new Mage_Page_Block_Html_Header();
160
  $logo = $block->getLogoSrc();
 
161
  $currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
162
+ $product = Mage::getModel('catalog/product')->getCollection()->addStoreFilter($storeId)->addAttributeToSelect('*')->addAttributeToFilter('status', array('eq' => 1))->getFirstItem();
163
+ $price = $product->getPrice();
164
+ $price = strip_tags(Mage::app()->getLocale()->currency($currency_code)->toCurrency(sprintf("%01.2f", $price)));
165
+ $currency_symbol = Mage::app()->getLocale()->currency($currency_code)->getSymbol();
166
+ $cur_position = strpos($price, $currency_symbol);
167
+ if ($cur_position == 0) {
168
+ $prefix = 1;
169
+ } else {
170
+ $prefix = 0;
171
+ }
172
  $isPos = 0;
173
+ $resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_Mobileassistantpro' => 0, 'prefix' => $prefix);
174
  $result = Mage::helper('core')->jsonEncode($resultArr);
175
  return Mage::app()->getResponse()->setBody($result);
176
  }
app/code/local/Biztech/Mobileassistant/Helper/Data.php CHANGED
@@ -1,227 +1,3 @@
1
  <?php
2
-
3
- class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract {
4
-
5
- public function create($data) {
6
- $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()
7
- ->addFieldToFilter('username', Array('eq' => $data['username']))
8
- ->addFieldToFilter('password', Array('eq' => $data['password']))
9
- ->addFieldToFilter('device_token', Array('eq' => $data['devicetoken']));
10
- $count = count($collections);
11
-
12
-
13
- if ($count == 0) {
14
- Mage::getModel("mobileassistant/mobileassistant")
15
- ->setUsername($data['username'])
16
- ->setPassword($data['password'])
17
- ->setDeviceToken($data['devicetoken'])
18
- ->setDeviceType($data['device_type'])
19
- ->setNotificationFlag($data['notification_flag'])
20
- ->save();
21
- }
22
- if ($count == 1) {
23
- foreach ($collections as $user) {
24
- $user_id = $user->getUserId();
25
- $flag = $user->getNotificationFlag();
26
- }
27
- if ($flag != $data['notification_flag'] || $data['is_logout'] != 1) {
28
- try {
29
- $connection = Mage::getSingleton('core/resource')->getConnection('core_write');
30
- $connection->beginTransaction();
31
- $fields = array();
32
- $fields['notification_flag'] = $data['notification_flag'];
33
- $fields['is_logout'] = $data['is_logout'];
34
- $where = $connection->quoteInto('user_id =?', $user_id);
35
- $prefix = Mage::getConfig()->getTablePrefix();
36
- $connection->update($prefix . 'mobileassistant', $fields, $where);
37
- $connection->commit();
38
- } catch (Exception $e) {
39
- return $e->getMessage();
40
- }
41
- }
42
- }
43
-
44
- $successArr[] = array('success_msg' => 'Login sucessfully', 'session_id' => $data['session_id']);
45
-
46
- foreach (Mage::app()->getWebsites() as $website) {
47
- foreach ($website->getGroups() as $group) {
48
- $stores = $group->getStores();
49
- foreach ($stores as $store) {
50
- $storeArr[] = array('id' => $store->getId(),
51
- 'name' => $store->getName()
52
- );
53
- }
54
- }
55
- }
56
- $isPos = 0;
57
- $result = array('success' => $successArr, 'stores' => $storeArr, 'is_pos' => $isPos, 'is_Mobileassistantpro' => 0);
58
- return $result;
59
- }
60
-
61
- public function getPrice($price, $storeId, $order_currency) {
62
- $currencyCode = $order_currency;
63
- if ($order_currency == null) {
64
- $store = Mage::getModel('core/store')->load($storeId);
65
- $price = $store->roundPrice($store->convertPrice($price));
66
- $currencyCode = Mage::app()->getStore($storeId)->getCurrentCurrencyCode();
67
- }
68
- $price = strip_tags($this->getPriceFormat($price));
69
- return $price;
70
- }
71
-
72
- public function getPriceFormat($price) {
73
- $price = sprintf("%01.2f", $price);
74
- return $price;
75
- }
76
-
77
- public function getActualDate($updated_date) {
78
- $date = Mage::app()->getLocale()->date(strtotime($updated_date));
79
- $timestamp = $date->get(Zend_Date::TIMESTAMP) - $date->get(Zend_Date::TIMEZONE_SECS);
80
- $updated_date = date("Y-m-d H:i:s", $timestamp);
81
- return $updated_date;
82
- }
83
-
84
- public function getActualOrderDate($updated_date) {
85
- $date = Mage::app()->getLocale()->date(strtotime($updated_date));
86
- $timestamp = $date->get(Zend_Date::TIMESTAMP) + $date->get(Zend_Date::TIMEZONE_SECS);
87
- $updated_date = date("Y-m-d H:i:s", $timestamp);
88
- return $updated_date;
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) {
96
- $google_api_key = 'AIzaSyAZPkT165oPcjfhUmgJnt5Lcs2OInBFJmE';
97
- $passphrase = 'push2magento';
98
- $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('notification_flag', Array('eq' => 1))->addFieldToFilter('is_logout', Array('eq' => 0));
99
-
100
- if ($notification_type == 'customer') {
101
- $message = Mage::getStoreConfig('mobileassistant/mobileassistant_general/customer_register_notification_msg');
102
- if ($message == null) {
103
- $message = Mage::helper('mobileassistant')->__('A New customer has been registered on the Store.');
104
- }
105
- } else if ($notification_type == 'order') {
106
-
107
- $order = Mage::getModel('sales/order')->load($entity_id);
108
- $msgString = Mage::getStoreConfig('mobileassistant/mobileassistant_general/notification_msg');
109
- if ($msgString == null) {
110
- $msgString = Mage::helper('mobileassistant')->__('A New order has been received on the Store.');
111
- }
112
- $message = $msgString . "\nOrder Id: " . $order->getIncrementId() . "\nGrand Total: " . $this->getPrice($order->getGrandTotal(), $order->getStoreId(), $order->getOrderCurrencyCode());
113
- } else if ($notification_type == 'product') {
114
- $msgString = Mage::getStoreConfig('mobileassistant/mobileassistant_general/product_inventory_notification_msg');
115
- if ($msgString == null) {
116
- $msgString = Mage::helper('mobileassistant')->__('Product Stock Alert');
117
- }
118
- $message = $msgString . "\nName: " . $params['name'] . "\nCurrent Qty: " . $params['qty'];
119
- } else if ($notification_type == 'review') {
120
- $message = Mage::getStoreConfig('mobileassistant/mobileassistant_general/product_review_notification_msg');
121
- if ($message == null) {
122
- $message = Mage::helper('mobileassistant')->__('A New Review has been added on the store');
123
- }
124
- }
125
-
126
- $apnsCert = Mage::getBaseDir('lib') . DS . "mobileassistant" . DS . "pushcert.pem";
127
- $ctx = stream_context_create();
128
- stream_context_set_option($ctx, 'ssl', 'local_cert', $apnsCert);
129
- stream_context_set_option($ctx, 'ssl', 'passphrase', $passphrase);
130
- $flags = STREAM_CLIENT_CONNECT | STREAM_CLIENT_PERSISTENT;
131
- $fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err, $errstr, 60, $flags, $ctx);
132
-
133
- foreach ($collections as $collection) {
134
- $deviceType = $collection->getDeviceType();
135
-
136
- if ($deviceType == 'ios') {
137
- if ($fp) {
138
-
139
- $deviceToken = $collection->getDeviceToken();
140
- $body['aps'] = array(
141
- 'alert' => $message,
142
- 'sound' => 'default',
143
- 'entity_id' => $entity_id,
144
- 'type' => $notification_type
145
- );
146
-
147
- $payload = json_encode($body);
148
- $msg = chr(0) . pack('n', 32) . pack('H*', $deviceToken) . pack('n', strlen($payload)) . $payload;
149
- $result = fwrite($fp, $msg, strlen($msg));
150
- }
151
- } elseif ($deviceType == 'android') {
152
-
153
- $deviceToken = $collection->getDeviceToken();
154
- $registrationIds = array($deviceToken);
155
- $msg_a = array(
156
- 'message' => $message,
157
- 'entity_id' => $entity_id,
158
- 'type' => $notification_type
159
- );
160
-
161
- $fields = array(
162
- 'registration_ids' => $registrationIds,
163
- 'data' => $msg_a
164
- );
165
-
166
- $headers = array(
167
- 'Authorization: key=' . $google_api_key,
168
- 'Content-Type: application/json'
169
- );
170
-
171
- $ch = curl_init();
172
- curl_setopt($ch, CURLOPT_URL, 'https://android.googleapis.com/gcm/send');
173
- curl_setopt($ch, CURLOPT_POST, true);
174
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
175
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
176
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
177
- curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields));
178
- $result = curl_exec($ch);
179
- curl_close($ch);
180
- }
181
- }
182
- fclose($fp);
183
- return true;
184
- }
185
-
186
- public function getDataInfo() {
187
- $data = Mage::getStoreConfig('mobileassistant/activation/data');
188
- return Zend_Json::decode(base64_decode(Mage::helper('core')->decrypt($data)));
189
- }
190
-
191
- public function getFormatUrl($url) {
192
- $input = trim($url, '/');
193
- if (!preg_match('#^http(s)?://#', $input)) {
194
- $input = 'http://' . $input;
195
- }
196
- $urlParts = parse_url($input);
197
- $domain = preg_replace('/^www\./', '', $urlParts['host'] . $urlParts['path']);
198
- return $domain;
199
- }
200
-
201
- public function getAllStoreDomains() {
202
- $domains = array();
203
- foreach (Mage::app()->getWebsites() as $website) {
204
- $url = $website->getConfig('web/unsecure/base_url');
205
- if ($domain = trim(preg_replace('/^.*?\/\/(.*)?\//', '$1', $url))) {
206
- $domains[] = $domain;
207
- }
208
- $url = $website->getConfig('web/secure/base_url');
209
- if ($domain = trim(preg_replace('/^.*?\/\/(.*)?\//', '$1', $url))) {
210
- $domains[] = $domain;
211
- }
212
- }
213
- return array_unique($domains);
214
- }
215
-
216
- public function getAllWebsites() {
217
- if (!Mage::getStoreConfig('mobileassistant/activation/installed')) {
218
- return array();
219
- }
220
- $data = Mage::getStoreConfig('mobileassistant/activation/data');
221
- $web = Mage::getStoreConfig('mobileassistant/activation/websites');
222
- $websites = explode(',', str_replace($data, '', Mage::helper('core')->decrypt($web)));
223
- $websites = array_diff($websites, array(""));
224
- return $websites;
225
- }
226
-
227
- }
1
  <?php
2
+ eval(base64_decode("Y2xhc3MgQml6dGVjaF9Nb2JpbGVhc3Npc3RhbnRfSGVscGVyX0RhdGEgZXh0ZW5kcyBNYWdlX0NvcmVfSGVscGVyX0Fic3RyYWN0IHsNCg0KICAgIHB1YmxpYyBmdW5jdGlvbiBjcmVhdGUoJGRhdGEpIHsNCiAgICAgICAgJGNvbGxlY3Rpb25zID0gTWFnZTo6Z2V0TW9kZWwoIm1vYmlsZWFzc2lzdGFudC9tb2JpbGVhc3Npc3RhbnQiKS0+Z2V0Q29sbGVjdGlvbigpDQogICAgICAgICAgICAgICAgLT5hZGRGaWVsZFRvRmlsdGVyKCd1c2VybmFtZScsIEFycmF5KCdlcScgPT4gJGRhdGFbJ3VzZXJuYW1lJ10pKQ0KICAgICAgICAgICAgICAgIC0+YWRkRmllbGRUb0ZpbHRlcigncGFzc3dvcmQnLCBBcnJheSgnZXEnID0+ICRkYXRhWydwYXNzd29yZCddKSkNCiAgICAgICAgICAgICAgICAtPmFkZEZpZWxkVG9GaWx0ZXIoJ2RldmljZV90b2tlbicsIEFycmF5KCdlcScgPT4gJGRhdGFbJ2RldmljZXRva2VuJ10pKTsNCiAgICAgICAgJGNvdW50ID0gY291bnQoJGNvbGxlY3Rpb25zKTsNCg0KDQogICAgICAgIGlmICgkY291bnQgPT0gMCkgew0KICAgICAgICAgICAgTWFnZTo6Z2V0TW9kZWwoIm1vYmlsZWFzc2lzdGFudC9tb2JpbGVhc3Npc3RhbnQiKQ0KICAgICAgICAgICAgICAgICAgICAtPnNldFVzZXJuYW1lKCRkYXRhWyd1c2VybmFtZSddKQ0KICAgICAgICAgICAgICAgICAgICAtPnNldFBhc3N3b3JkKCRkYXRhWydwYXNzd29yZCddKQ0KICAgICAgICAgICAgICAgICAgICAtPnNldERldmljZVRva2VuKCRkYXRhWydkZXZpY2V0b2tlbiddKQ0KICAgICAgICAgICAgICAgICAgICAtPnNldERldmljZVR5cGUoJGRhdGFbJ2RldmljZV90eXBlJ10pDQogICAgICAgICAgICAgICAgICAgIC0+c2V0Tm90aWZpY2F0aW9uRmxhZygkZGF0YVsnbm90aWZpY2F0aW9uX2ZsYWcnXSkNCiAgICAgICAgICAgICAgICAgICAgLT5zYXZlKCk7DQogICAgICAgIH0NCiAgICAgICAgaWYgKCRjb3VudCA9PSAxKSB7DQogICAgICAgICAgICBmb3JlYWNoICgkY29sbGVjdGlvbnMgYXMgJHVzZXIpIHsNCiAgICAgICAgICAgICAgICAkdXNlcl9pZCA9ICR1c2VyLT5nZXRVc2VySWQoKTsNCiAgICAgICAgICAgICAgICAkZmxhZyA9ICR1c2VyLT5nZXROb3RpZmljYXRpb25GbGFnKCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBpZiAoJGZsYWcgIT0gJGRhdGFbJ25vdGlmaWNhdGlvbl9mbGFnJ10gfHwgJGRhdGFbJ2lzX2xvZ291dCddICE9IDEpIHsNCiAgICAgICAgICAgICAgICB0cnkgew0KICAgICAgICAgICAgICAgICAgICAkY29ubmVjdGlvbiA9IE1hZ2U6OmdldFNpbmdsZXRvbignY29yZS9yZXNvdXJjZScpLT5nZXRDb25uZWN0aW9uKCdjb3JlX3dyaXRlJyk7DQogICAgICAgICAgICAgICAgICAgICRjb25uZWN0aW9uLT5iZWdpblRyYW5zYWN0aW9uKCk7DQogICAgICAgICAgICAgICAgICAgICRmaWVsZHMgPSBhcnJheSgpOw0KICAgICAgICAgICAgICAgICAgICAkZmllbGRzWydub3RpZmljYXRpb25fZmxhZyddID0gJGRhdGFbJ25vdGlmaWNhdGlvbl9mbGFnJ107DQogICAgICAgICAgICAgICAgICAgICRmaWVsZHNbJ2lzX2xvZ291dCddID0gJGRhdGFbJ2lzX2xvZ291dCddOw0KICAgICAgICAgICAgICAgICAgICAkd2hlcmUgPSAkY29ubmVjdGlvbi0+cXVvdGVJbnRvKCd1c2VyX2lkID0/JywgJHVzZXJfaWQpOw0KICAgICAgICAgICAgICAgICAgICAkcHJlZml4ID0gTWFnZTo6Z2V0Q29uZmlnKCktPmdldFRhYmxlUHJlZml4KCk7DQogICAgICAgICAgICAgICAgICAgICRjb25uZWN0aW9uLT51cGRhdGUoJHByZWZpeCAuICdtb2JpbGVhc3Npc3RhbnQnLCAkZmllbGRzLCAkd2hlcmUpOw0KICAgICAgICAgICAgICAgICAgICAkY29ubmVjdGlvbi0+Y29tbWl0KCk7DQogICAgICAgICAgICAgICAgfSBjYXRjaCAoRXhjZXB0aW9uICRlKSB7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiAkZS0+Z2V0TWVzc2FnZSgpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgfQ0KDQogICAgICAgICRzdWNjZXNzQXJyW10gPSBhcnJheSgnc3VjY2Vzc19tc2cnID0+ICdMb2dpbiBzdWNlc3NmdWxseScsICdzZXNzaW9uX2lkJyA9PiAkZGF0YVsnc2Vzc2lvbl9pZCddKTsNCg0KICAgICAgICBmb3JlYWNoIChNYWdlOjphcHAoKS0+Z2V0V2Vic2l0ZXMoKSBhcyAkd2Vic2l0ZSkgew0KICAgICAgICAgICAgZm9yZWFjaCAoJHdlYnNpdGUtPmdldEdyb3VwcygpIGFzICRncm91cCkgew0KICAgICAgICAgICAgICAgICRzdG9yZXMgPSAkZ3JvdXAtPmdldFN0b3JlcygpOw0KICAgICAgICAgICAgICAgIGZvcmVhY2ggKCRzdG9yZXMgYXMgJHN0b3JlKSB7DQogICAgICAgICAgICAgICAgICAgICRzdG9yZUFycltdID0gYXJyYXkoJ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JGZsYWdzID0gU1RSRUFNX0NMSUVOVF9DT05ORUNUIHwgU1RSRUFNX0NMSUVOVF9QRVJTSVNURU5UOw0KICAgICAgICAkZnAgPSBzdHJlYW1fc29ja2V0X2NsaWVudCgnc3NsOi8vZ2F0ZXdheS5wdXNoLmFwcGxlLmNvbToyMTk1JywgJGVyciwgJGVycnN0ciwgNjAsICRmbGFncywgJGN0eCk7DQoNCiAgICAgICAgZm9yZWFjaCAoJGNvbGxlY3Rpb25zIGFzICRjb2xsZWN0aW9uKSB7DQogICAgICAgICAgICAkZGV2aWNlVHlwZSA9ICRjb2xsZWN0aW9uLT5nZXREZXZpY2VUeXBlKCk7DQoNCiAgICAgICAgICAgIGlmICgkZGV2aWNlVHlwZSA9PSAnaW9zJykgew0KICAgICAgICAgICAgICAgIGlmICgkZnApIHsNCg0KICAgICAgICAgICAgICAgICAgICAkZGV2aWNlVG9rZW4gPSAkY29sbGVjdGlvbi0+Z2V0RGV2aWNlVG9rZW4oKTsNCiAgICAgICAgICAgICAgICAgICAgJGJvZHlbJ2FwcyddID0gYXJyYXkoDQogICAgICAgICAgICAgICAgICAgICAgICAnYWxlcnQnID0+ICRtZXNzYWdlLA0KICAgICAgICAgICAgICAgICAgICAgICAgJ3NvdW5kJyA9PiAnZGVmYXVsdCcsDQogICAgICAgICAgICAgICAgICAgICAgICAnZW50aXR5X2lkJyA9PiAkZW50aXR5X2lkLA0KICAgICAgICAgICAgICAgICAgICAgICAgJ3R5cGUnID0+ICRub3RpZmljYXRpb25fdHlwZQ0KICAgICAgICAgICAgICAgICAgICApOw0KDQogICAgICAgICAgICAgICAgICAgICRwYXlsb2FkID0ganNvbl9lbmNvZGUoJGJvZHkpOw0KICAgICAgICAgICAgICAgICAgICAkbXNnID0gY2hyKDApIC4gcGFjaygnbicsIDMyKSAuIHBhY2soJ0gqJywgJGRldmljZVRva2VuKSAuIHBhY2soJ24nLCBzdHJsZW4oJHBheWxvYWQpKSAuICRwYXlsb2FkOw0KICAgICAgICAgICAgICAgICAgICAkcmVzdWx0ID0gZndyaXRlKCRmcCwgJG1zZywgc3RybGVuKCRtc2cpKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICB9IGVsc2VpZiAoJGRldmljZVR5cGUgPT0gJ2FuZHJvaWQnKSB7DQoNCiAgICAgICAgICAgICAgICAkZGV2aWNlVG9rZW4gPSAkY29sbGVjdGlvbi0+Z2V0RGV2aWNlVG9rZW4oKTsNCiAgICAgICAgICAgICAgICAkcmVnaXN0cmF0aW9uSWRzID0gYXJyYXkoJGRldmljZVRva2VuKTsNCiAgICAgICAgICAgICAgICAkbXNnX2EgPSBhcnJheSgNCiAgICAgICAgICAgICAgICAgICAgJ21lc3NhZ2UnID0+ICRtZXNzYWdlLA0KICAgICAgICAgICAgICAgICAgICAnZW50aXR5X2lkJyA9PiAkZW50aXR5X2lkLA0KICAgICAgICAgICAgICAgICAgICAndHlwZScgPT4gJG5vdGlmaWNhdGlvbl90eXBlDQogICAgICAgICAgICAgICAgKTsNCg0KICAgICAgICAgICAgICAgICRmaWVsZHMgPSBhcnJheSgNCiAgICAgICAgICAgICAgICAgICAgJ3JlZ2lzdHJhdGlvbl9pZHMnID0+ICRyZWdpc3RyYXRpb25JZHMsDQogICAgICAgICAgICAgICAgICAgICdkYXRhJyA9PiAkbXNnX2ENCiAgICAgICAgICAgICAgICApOw0KDQogICAgICAgICAgICAgICAgJGhlYWRlcnMgPSBhcnJheSgNCiAgICAgICAgICAgICAgICAgICAgJ0F1dGhvcml6YXRpb246IGtleT0nIC4gJGdvb2dsZV9hcGlfa2V5LA0KICAgICAgICAgICAgICAgICAgICAnQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29uJw0KICAgICAgICAgICAgICAgICk7DQoNCiAgICAgICAgICAgICAgICAkY2ggPSBjdXJsX2luaXQoKTsNCiAgICAgICAgICAgICAgICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfVVJMLCAnaHR0cHM6Ly9hbmRyb2lkLmd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jJywgJGlucHV0KSkgew0KICAgICAgICAgICAgJGlucHV0ID0gJ2h0dHA6Ly8nIC4gJGlucHV0Ow0KICAgICAgICB9DQogICAgICAgICR1cmxQYXJ0cyA9IHBhcnNlX3VybCgkaW5wdXQpOw0KICAgICAgICAkZG9tYWluID0gcHJlZ19yZXBsYWNlKCcvXnd3d1wuLycsICcnLCAkdXJsUGFydHNbJ2hvc3QnXSAuICR1cmxQYXJ0c1sncGF0aCddKTsNCiAgICAgICAgcmV0dXJuICRkb21haW47DQogICAgfQ0KDQogICAgcHVibGljIGZ1bmN0aW9uIGdldEFsbFN0b3JlRG9tYWlucygpIHsNCiAgICAgICAgJGRvbWFpbnMgPSBhcnJheSgpOw0KICAgICAgICBmb3JlYWNoIChNYWdlOjphcHAoKS0+Z2V0V2Vic2l0ZXMoKSBhcyAkd2Vic2l0ZSkgew0KICAgICAgICAgICAgJHVybCA9ICR3ZWJzaXRlLT5nZXRDb25maWcoJ3dlYi91bnNlY3VyZS9iYXNlX3VybCcpOw0KICAgICAgICAgICAgaWYgKCRkb21haW4gPSB0cmltKHByZWdfcmVwbGFjZSgnL14uKj9cL1wvKC4qKT9cLy8nLCAnJDEnLCAkdXJsKSkpIHsNCiAgICAgICAgICAgICAgICAkZG9tYWluc1tdID0gJGRvbWFpbjsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgICR1cmwgPSAkd2Vic2l0ZS0+Z2V0Q29uZmlnKCd3ZWIvc2VjdXJlL2Jhc2VfdXJsJyk7DQogICAgICAgICAgICBpZiAoJGRvbWFpbiA9IHRyaW0ocHJlZ19yZXBsYWNlKCcvXi4qP1wvXC8oLiopP1wvLycsICckMScsICR1cmwpKSkgew0KICAgICAgICAgICAgICAgICRkb21haW5zW10gPSAkZG9tYWluOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9DQogICAgICAgIHJldHVybiBhcnJheV91bmlxdWUoJGRvbWFpbnMpOw0KICAgIH0NCg0KICAgIHB1YmxpYyBmdW5jdGlvbiB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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Biztech/Mobileassistant/controllers/IndexController.php CHANGED
@@ -158,11 +158,19 @@ class Biztech_Mobileassistant_IndexController extends Mage_Core_Controller_Front
158
  $storeId = $post_data['storeid'];
159
  $block = new Mage_Page_Block_Html_Header();
160
  $logo = $block->getLogoSrc();
161
-
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
  }
158
  $storeId = $post_data['storeid'];
159
  $block = new Mage_Page_Block_Html_Header();
160
  $logo = $block->getLogoSrc();
 
161
  $currency_code = Mage::getModel('core/store')->load($storeId)->getCurrentCurrencyCode();
162
+ $product = Mage::getModel('catalog/product')->getCollection()->addStoreFilter($storeId)->addAttributeToSelect('*')->addAttributeToFilter('status', array('eq' => 1))->getFirstItem();
163
+ $price = $product->getPrice();
164
+ $price = strip_tags(Mage::app()->getLocale()->currency($currency_code)->toCurrency(sprintf("%01.2f", $price)));
165
+ $currency_symbol = Mage::app()->getLocale()->currency($currency_code)->getSymbol();
166
+ $cur_position = strpos($price, $currency_symbol);
167
+ if ($cur_position == 0) {
168
+ $prefix = 1;
169
+ } else {
170
+ $prefix = 0;
171
+ }
172
  $isPos = 0;
173
+ $resultArr = array('logo' => $logo, 'currency_symbol' => Mage::app()->getLocale()->currency($currency_code)->getSymbol(), 'is_pos' => $isPos, 'is_Mobileassistantpro' => 0, 'prefix' => $prefix);
174
  $result = Mage::helper('core')->jsonEncode($resultArr);
175
  return Mage::app()->getResponse()->setBody($result);
176
  }
app/code/local/Biztech/Mobileassistant/etc/config.xml CHANGED
@@ -10,7 +10,7 @@
10
  <config>
11
  <modules>
12
  <Biztech_Mobileassistant>
13
- <version>0.2.9</version>
14
  </Biztech_Mobileassistant>
15
  </modules>
16
  <frontend>
10
  <config>
11
  <modules>
12
  <Biztech_Mobileassistant>
13
+ <version>0.3.0</version>
14
  </Biztech_Mobileassistant>
15
  </modules>
16
  <frontend>
app/design/adminhtml/default/default/template/mobileassistant/system/config/barcode_21-7-2016.phtml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ $storeId = Mage::app()->getStore()->getStoreId();
3
+ $url = Mage::app()->getStore($storeId)->getUrl();
4
+
5
+ ?>
6
+ <img src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=<?php echo urlencode($url); ?>&choe=UTF-8" title="<?php echo $url; ?>" />
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.9</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,11 +25,11 @@ To ensure smooth working of this extension you need to download this extension i
25
  Application Download Link:&#xD;
26
  https://itunes.apple.com/us/app/magentomobilemanager/id695074519?mt=8&amp;ign-mpt=uo%3D4&#xD;
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-11</date>
31
- <time>05:36:01</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="2da7440fd78fcef07b56e317c8f73af9"/></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"/></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="23bbb44f39b2fcf0eec493d06c2bd786"/></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="e534c166867436b3ab6c5d3a9c0e5d45"/></dir></dir></dir><dir name="controllers"><file name="CustomerController.php" hash="010299fe9f731202cb6a23f8c96a51c9"/><file name="DashboardController.php" hash="43a50a36554da6e754a8520fbe7041dc"/><file name="IndexController.php" hash="6b70b8980f563190ac1d99416f0cad2d"/><file name="OrderController.php" hash="14e4ef67dc8b5cd4aa0e4a4e4235a966"/><file name="ProductController.php" hash="61d42a96cde73e517db06859fe9b01a7"/></dir><dir name="etc"><file name="api.xml" hash="7860c9fe0f121148eb2a3a498d1879b1"/><file name="config.xml" hash="a4d37aa5aa8ea7e954f69d6f31cb42a1"/><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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>magento_mobile_assistant_manager</name>
4
+ <version>0.3.0</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:&#xD;
26
  https://itunes.apple.com/us/app/magentomobilemanager/id695074519?mt=8&amp;ign-mpt=uo%3D4&#xD;
27
  </description>
28
+ <notes>- Solve Pricing Currency Issue</notes>
29
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
30
+ <date>2016-10-08</date>
31
+ <time>07:31:38</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="f5616c0d8eedcb9990a6d281ed73138b"/></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="2ac1a4a09fc9433c974da983bcde37c5"/></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="e534c166867436b3ab6c5d3a9c0e5d45"/></dir></dir></dir><dir name="controllers"><file name="CustomerController.php" hash="010299fe9f731202cb6a23f8c96a51c9"/><file name="DashboardController.php" hash="43a50a36554da6e754a8520fbe7041dc"/><file name="IndexController.php" hash="5e26d66480cc155abcf9cabc11e23867"/><file name="OrderController.php" hash="14e4ef67dc8b5cd4aa0e4a4e4235a966"/><file name="ProductController.php" hash="61d42a96cde73e517db06859fe9b01a7"/></dir><dir name="etc"><file name="api.xml" hash="7860c9fe0f121148eb2a3a498d1879b1"/><file name="config.xml" hash="a8a6a5c6357845eff1973988277dbfbe"/><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>