magento_mobile_assistant_manager - Version 0.2.0

Version Notes

-Bug Fixing
-Notification Issue

Download this release

Release Info

Developer Biztech
Extension magento_mobile_assistant_manager
Version 0.2.0
Comparing to
See all releases


Code changes from version 0.1.10 to 0.2.0

MageMobAdmin.pdf ADDED
Binary file
app/code/local/Biztech/All/Model/Update.php CHANGED
@@ -34,50 +34,56 @@
34
  $feedData = array();
35
  $extensio_module = array();
36
  try{
37
- $xml = file_get_contents(self::UPDATE_NOTIFICATION_FEED_URL);
 
 
38
  $xml = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);//LIBXML_NOCDATA LIBXML_NOWARNING
39
 
40
- $interests = $this->getInterests();
41
- if(!empty($interests[0])){
42
- $isInterestedInSelfUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_INSTALLED_UPDATE, $interests);
43
- $isInterestedInAllUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_UPDATE_RELEASE, $interests);
44
- $modules = Mage::getConfig()->getNode('modules')->children();
45
- $modulesArray = (array)$modules;
46
- foreach($xml->channel->item as $keys=>$extensions) {
47
- $types[] = (string) $extensions->update_notifications->type;
48
- $extensions_name = (string)$extensions->update_notifications->extensions;
 
49
 
50
- if((string)$extensions->update_notifications->date!=""&&(string)$extensions->update_notifications->extension_title!=""&&(string)$extensions->update_notifications->extension_content!=""&&(string)$extensions->update_notifications->product_url!=""){
51
- if(!$isInterestedInAllUpgrades){
52
- if ($this->isExtensionInstalled($extensions_name)) {
53
- $feedData[] = array(
 
 
 
 
 
 
 
 
 
54
  'severity' => 4,
55
- 'date_added' => (string) $extensions->update_notifications->date,
56
  'title' => (string)$extensions->update_notifications->extension_title,
57
  'description' => (string)$extensions->update_notifications->extension_content,
58
  'url' => (string)$extensions->update_notifications->product_url,
59
  );
60
- }
61
- } else{
62
- $feedData[] = array(
63
- 'severity' => 4,
64
- 'date_added' => (string)$extensions->update_notifications->date,
65
- 'title' => (string)$extensions->update_notifications->extension_title,
66
- 'description' => (string)$extensions->update_notifications->extension_content,
67
- 'url' => (string)$extensions->update_notifications->product_url,
68
- );
69
  }
70
  }
71
- }
72
- if ($feedData) {
73
- foreach($feedData as $data){
74
- if ((array_intersect($types,$interests) && $isInterestedInSelfUpgrades)) {
75
- Mage::getModel('adminnotification/inbox')->parse(array_reverse(array($data)));
76
  }
77
- }
78
- }
79
- Mage::app()->saveCache(time(), 'biztech_all_updates_feed_lastcheck');
80
- return true;
 
 
81
  }
82
  }catch (Exception $e) {
83
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
34
  $feedData = array();
35
  $extensio_module = array();
36
  try{
37
+ $xml = false;
38
+ $limit_context = stream_context_create(array('http'=>array('timeout' => 5)));
39
+ $xml = file_get_contents(self::UPDATE_NOTIFICATION_FEED_URL,true,$limit_context);
40
  $xml = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);//LIBXML_NOCDATA LIBXML_NOWARNING
41
 
42
+ if($xml != false){
43
+ $interests = $this->getInterests();
44
+ if(!empty($interests[0])){
45
+ $isInterestedInSelfUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_INSTALLED_UPDATE, $interests);
46
+ $isInterestedInAllUpgrades = in_array(Biztech_All_Model_Source_Updates_Type::TYPE_UPDATE_RELEASE, $interests);
47
+ $modules = Mage::getConfig()->getNode('modules')->children();
48
+ $modulesArray = (array)$modules;
49
+ foreach($xml->channel->item as $keys=>$extensions) {
50
+ $types[] = (string) $extensions->update_notifications->type;
51
+ $extensions_name = (string)$extensions->update_notifications->extensions;
52
 
53
+ if((string)$extensions->update_notifications->date!=""&&(string)$extensions->update_notifications->extension_title!=""&&(string)$extensions->update_notifications->extension_content!=""&&(string)$extensions->update_notifications->product_url!=""){
54
+ if(!$isInterestedInAllUpgrades){
55
+ if ($this->isExtensionInstalled($extensions_name)) {
56
+ $feedData[] = array(
57
+ 'severity' => 4,
58
+ 'date_added' => (string) $extensions->update_notifications->date,
59
+ 'title' => (string)$extensions->update_notifications->extension_title,
60
+ 'description' => (string)$extensions->update_notifications->extension_content,
61
+ 'url' => (string)$extensions->update_notifications->product_url,
62
+ );
63
+ }
64
+ } else{
65
+ $feedData[] = array(
66
  'severity' => 4,
67
+ 'date_added' => (string)$extensions->update_notifications->date,
68
  'title' => (string)$extensions->update_notifications->extension_title,
69
  'description' => (string)$extensions->update_notifications->extension_content,
70
  'url' => (string)$extensions->update_notifications->product_url,
71
  );
72
+ }
 
 
 
 
 
 
 
 
73
  }
74
  }
75
+ if ($feedData) {
76
+ foreach($feedData as $data){
77
+ if ((array_intersect($types,$interests) && $isInterestedInSelfUpgrades)) {
78
+ Mage::getModel('adminnotification/inbox')->parse(array_reverse(array($data)));
79
+ }
80
  }
81
+ }
82
+ Mage::app()->saveCache(time(), 'biztech_all_updates_feed_lastcheck');
83
+ return true;
84
+ }
85
+ } else{
86
+ return false;
87
  }
88
  }catch (Exception $e) {
89
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
app/code/local/Biztech/Mobileassistant/Block/Config/Barcodeurl.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Biztech_Mobileassistant_Block_Config_Barcodeurl extends Mage_Adminhtml_Block_System_Config_Form_Field
3
+ {
4
+
5
+ protected function _construct()
6
+ {
7
+ parent::_construct();
8
+ $this->setTemplate('mobileassistant/system/config/barcode.phtml');
9
+ }
10
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
11
+ {
12
+ return $this->_toHtml();
13
+ }
14
+
15
+ }
app/code/local/Biztech/Mobileassistant/Helper/Data.php CHANGED
@@ -2,6 +2,64 @@
2
 
3
  class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract
4
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  public function getPrice($price,$storeId,$order_currency)
6
  {
7
  $currencyCode = $order_currency;
@@ -45,7 +103,6 @@
45
  }
46
 
47
  public function pushNotification($notification_type,$entity_id,$params=NULL){
48
-
49
  $google_api_key = 'AIzaSyAZPkT165oPcjfhUmgJnt5Lcs2OInBFJmE';
50
  $passphrase = 'push2magento';
51
  $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('notification_flag',Array('eq'=>1))->addFieldToFilter('is_logout',Array('eq'=>0));
2
 
3
  class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract
4
  {
5
+ public function create($data)
6
+ {
7
+ $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()
8
+ ->addFieldToFilter('username',Array('eq'=>$data['username']))
9
+ ->addFieldToFilter('password',Array('eq'=>$data['password']))
10
+ ->addFieldToFilter('device_token',Array('eq'=>$data['devicetoken']));
11
+ $count = count($collections);
12
+
13
+
14
+ if($count == 0){
15
+ Mage::getModel("mobileassistant/mobileassistant")
16
+ ->setUsername($data['username'])
17
+ ->setPassword($data['password'])
18
+ ->setDeviceToken($data['devicetoken'])
19
+ ->setDeviceType($data['device_type'])
20
+ ->setNotificationFlag($data['notification_flag'])
21
+ ->save();
22
+ }
23
+ if($count == 1){
24
+ foreach($collections as $user)
25
+ {
26
+ $user_id = $user->getUserId();
27
+ $flag = $user->getNotificationFlag();
28
+ }
29
+ if($flag != $data['notification_flag'] || $data['is_logout'] != 1){
30
+ try {
31
+ $connection = Mage::getSingleton('core/resource')->getConnection('core_write');
32
+ $connection->beginTransaction();
33
+ $fields = array();
34
+ $fields['notification_flag'] = $data['notification_flag'];
35
+ $fields['is_logout'] = $data['is_logout'];
36
+ $where = $connection->quoteInto('user_id =?', $user_id);
37
+ $prefix = Mage::getConfig()->getTablePrefix();
38
+ $connection->update($prefix.'mobileassistant', $fields, $where);
39
+ $connection->commit();
40
+ } catch (Exception $e){
41
+ return $e->getMessage();
42
+ }
43
+ }
44
+ }
45
+
46
+ $successArr[] = array('success_msg' => 'Login sucessfully','session_id' => $data['session_id']) ;
47
+
48
+ foreach (Mage::app()->getWebsites() as $website) {
49
+ foreach ($website->getGroups() as $group) {
50
+ $stores = $group->getStores();
51
+ foreach ($stores as $store) {
52
+ $storeArr[] = array('id' =>$store->getId(),
53
+ 'name' => $store->getName()
54
+ );
55
+ }
56
+ }
57
+ }
58
+ $isPos = 0;
59
+ $result = array('success' => $successArr,'stores' => $storeArr,'is_pos' => $isPos);
60
+ return $result;
61
+ }
62
+
63
  public function getPrice($price,$storeId,$order_currency)
64
  {
65
  $currencyCode = $order_currency;
103
  }
104
 
105
  public function pushNotification($notification_type,$entity_id,$params=NULL){
 
106
  $google_api_key = 'AIzaSyAZPkT165oPcjfhUmgJnt5Lcs2OInBFJmE';
107
  $passphrase = 'push2magento';
108
  $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('notification_flag',Array('eq'=>1))->addFieldToFilter('is_logout',Array('eq'=>0));
app/code/local/Biztech/Mobileassistant/Model/Observer.php CHANGED
@@ -4,6 +4,7 @@
4
  private static $_handleCustomerFirstOrderCounter = 1;
5
  private static $_handleCustomerFirstRegisterNotificationCounter = 1;
6
 
 
7
  /*inventory status-starts*/
8
  public function catalogInventorySave(Varien_Event_Observer $observer)
9
  {
@@ -30,10 +31,9 @@
30
  $params = array();
31
  $params['product_id'] = $item->getProductId();
32
  $params['name'] = $item->getName();
33
- $params['qty'] = $item->getProduct()->getStockItem()->getQty();
34
- $params['qty_change'] = $item->getTotalQty();
35
  $minQty = Mage::getStoreConfig('mobileassistant/mobileassistant_general/minimum_qty');
36
- if(($params['qty']-$params['qty_change']) <= $minQty){
37
  Mage::helper('mobileassistant')->pushNotification('product',$params['product_id'],$params);
38
  }
39
 
@@ -49,10 +49,9 @@
49
  $params = array();
50
  $params['product_id'] = $item->getProductId();
51
  $params['name'] = $item->getName();
52
- $params['qty'] = $item->getProduct()->getStockItem()->getQty();
53
- $params['qty_change'] = $item->getTotalQty();
54
  $minQty = Mage::getStoreConfig('mobileassistant/mobileassistant_general/minimum_qty');
55
- if(($params['qty']+$params['qty_change']) <= $minQty){
56
  Mage::helper('mobileassistant')->pushNotification('product',$params['product_id'],$params);
57
  }
58
  }
4
  private static $_handleCustomerFirstOrderCounter = 1;
5
  private static $_handleCustomerFirstRegisterNotificationCounter = 1;
6
 
7
+
8
  /*inventory status-starts*/
9
  public function catalogInventorySave(Varien_Event_Observer $observer)
10
  {
31
  $params = array();
32
  $params['product_id'] = $item->getProductId();
33
  $params['name'] = $item->getName();
34
+ $params['qty'] = $item->getProduct()->getStockItem()->getQty() - $item->getTotalQty();
 
35
  $minQty = Mage::getStoreConfig('mobileassistant/mobileassistant_general/minimum_qty');
36
+ if(($params['qty']) <= $minQty){
37
  Mage::helper('mobileassistant')->pushNotification('product',$params['product_id'],$params);
38
  }
39
 
49
  $params = array();
50
  $params['product_id'] = $item->getProductId();
51
  $params['name'] = $item->getName();
52
+ $params['qty'] = $item->getProduct()->getStockItem()->getQty() + $item->getTotalQty();
 
53
  $minQty = Mage::getStoreConfig('mobileassistant/mobileassistant_general/minimum_qty');
54
+ if(($params['qty']) <= $minQty){
55
  Mage::helper('mobileassistant')->pushNotification('product',$params['product_id'],$params);
56
  }
57
  }
app/code/local/Biztech/Mobileassistant/controllers/CustomerController.php CHANGED
@@ -6,10 +6,12 @@
6
  if(Mage::helper('mobileassistant')->isEnable()){
7
  $post_data = Mage::app()->getRequest()->getParams();
8
  $sessionId = $post_data['session'];
9
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
10
  echo $this->__("The Login has expired. Please try log in again.");
11
  return false;
12
  }
 
13
  $limit = $post_data['limit'];
14
  $offset = $post_data['offset'];
15
  $new_customers = $post_data['last_fetch_customer'];
@@ -28,7 +30,7 @@
28
  }
29
 
30
  $customers->getSelect()->limit($limit);
31
- foreach($customers as $customer){
32
  $billing_address = Mage::getModel('customer/address')->load($customer->getDefaultBilling());
33
  $shipping_address = Mage::getModel('customer/address')->load($customer->getDefaultShipping());
34
 
@@ -57,7 +59,8 @@
57
  if(Mage::helper('mobileassistant')->isEnable()){
58
  $post_data = Mage::app()->getRequest()->getParams();
59
  $sessionId = $post_data['session'];
60
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
61
  echo $this->__("The Login has expired. Please try log in again.");
62
  return false;
63
  }
@@ -65,14 +68,14 @@
65
  $customerData = Mage::getModel('customer/customer')->load($customer_id);
66
 
67
 
68
- $basic_detail = array(
69
  'entity_id' => $customerData->getEntityId(),
70
  'firstname' => $customerData->getFirstname(),
71
  'lastname' => $customerData->getLastname(),
72
  'email' => $customerData->getEmail(),
73
  );
74
 
75
- foreach ($customerData->getAddresses() as $address) {
76
  $billing_type = 0;
77
  $shipping_type = 0;
78
  $billing_country_name = null;
@@ -141,13 +144,13 @@
141
  return $orderListData;
142
  }
143
 
144
-
145
  public function getFilterCustomerListAction()
146
  {
147
  if(Mage::helper('mobileassistant')->isEnable()){
148
  $post_data = Mage::app()->getRequest()->getParams();
149
  $sessionId = $post_data['session'];
150
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
151
  echo $this->__("The Login has expired. Please try log in again.");
152
  return false;
153
  }
@@ -173,7 +176,7 @@
173
  }
174
 
175
 
176
- foreach($customers as $customer){
177
  $billing_address = Mage::getModel('customer/address')->load($customer->getDefaultBilling());
178
  $shipping_address = Mage::getModel('customer/address')->load($customer->getDefaultShipping());
179
 
6
  if(Mage::helper('mobileassistant')->isEnable()){
7
  $post_data = Mage::app()->getRequest()->getParams();
8
  $sessionId = $post_data['session'];
9
+
10
+ if (!$sessionId || $sessionId == NULL) {
11
  echo $this->__("The Login has expired. Please try log in again.");
12
  return false;
13
  }
14
+
15
  $limit = $post_data['limit'];
16
  $offset = $post_data['offset'];
17
  $new_customers = $post_data['last_fetch_customer'];
30
  }
31
 
32
  $customers->getSelect()->limit($limit);
33
+ foreach($customers as $customer){
34
  $billing_address = Mage::getModel('customer/address')->load($customer->getDefaultBilling());
35
  $shipping_address = Mage::getModel('customer/address')->load($customer->getDefaultShipping());
36
 
59
  if(Mage::helper('mobileassistant')->isEnable()){
60
  $post_data = Mage::app()->getRequest()->getParams();
61
  $sessionId = $post_data['session'];
62
+
63
+ if (!$sessionId || $sessionId == NULL) {
64
  echo $this->__("The Login has expired. Please try log in again.");
65
  return false;
66
  }
68
  $customerData = Mage::getModel('customer/customer')->load($customer_id);
69
 
70
 
71
+ $basic_detail = array(
72
  'entity_id' => $customerData->getEntityId(),
73
  'firstname' => $customerData->getFirstname(),
74
  'lastname' => $customerData->getLastname(),
75
  'email' => $customerData->getEmail(),
76
  );
77
 
78
+ foreach ($customerData->getAddresses() as $address) {
79
  $billing_type = 0;
80
  $shipping_type = 0;
81
  $billing_country_name = null;
144
  return $orderListData;
145
  }
146
 
 
147
  public function getFilterCustomerListAction()
148
  {
149
  if(Mage::helper('mobileassistant')->isEnable()){
150
  $post_data = Mage::app()->getRequest()->getParams();
151
  $sessionId = $post_data['session'];
152
+
153
+ if (!$sessionId || $sessionId == NULL) {
154
  echo $this->__("The Login has expired. Please try log in again.");
155
  return false;
156
  }
176
  }
177
 
178
 
179
+ foreach($customers as $customer){
180
  $billing_address = Mage::getModel('customer/address')->load($customer->getDefaultBilling());
181
  $shipping_address = Mage::getModel('customer/address')->load($customer->getDefaultShipping());
182
 
app/code/local/Biztech/Mobileassistant/controllers/DashboardController.php CHANGED
@@ -6,7 +6,8 @@
6
  if(Mage::helper('mobileassistant')->isEnable()){
7
  $post_data = Mage::app()->getRequest()->getParams();
8
  $sessionId = $post_data['session'];
9
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
10
  echo $this->__("The Login has expired. Please try log in again.");
11
  return false;
12
  }
@@ -169,7 +170,8 @@
169
  if(Mage::helper('mobileassistant')->isEnable()){
170
  $post_data = Mage::app()->getRequest()->getParams();
171
  $sessionId = $post_data['session'];
172
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
173
  echo $this->__("The Login has expired. Please try log in again.");
174
  return false;
175
  }
@@ -249,4 +251,406 @@
249
  $result = strtotime("{$year}-{$month}-01");
250
  return date('Y-m-d', $result);
251
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  }
6
  if(Mage::helper('mobileassistant')->isEnable()){
7
  $post_data = Mage::app()->getRequest()->getParams();
8
  $sessionId = $post_data['session'];
9
+
10
+ if (!$sessionId || $sessionId == NULL) {
11
  echo $this->__("The Login has expired. Please try log in again.");
12
  return false;
13
  }
170
  if(Mage::helper('mobileassistant')->isEnable()){
171
  $post_data = Mage::app()->getRequest()->getParams();
172
  $sessionId = $post_data['session'];
173
+
174
+ if (!$sessionId || $sessionId == NULL) {
175
  echo $this->__("The Login has expired. Please try log in again.");
176
  return false;
177
  }
251
  $result = strtotime("{$year}-{$month}-01");
252
  return date('Y-m-d', $result);
253
  }
254
+
255
+ protected function getorderetails($storeId,$type_id,$tab = null,$source = null,$limit = null)
256
+ {
257
+ $orderTotalByDate = array();
258
+ $now = Mage::getModel('core/date')->timestamp(time());
259
+ $end_date = date('Y-m-d 23:59:59', $now);
260
+ $start_date = '';
261
+
262
+ if($source == 'widget')
263
+ {
264
+ $orderCollection = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->setOrder('entity_id', 'desc');
265
+
266
+ }else{
267
+ $orderCollection = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
268
+ }
269
+
270
+
271
+
272
+ if($type_id == 7){
273
+ $start_date = date('Y-m-d 00:00:00', strtotime('-6 days'));
274
+ }elseif($type_id == 30){
275
+ $start_date = date('Y-m-d 00:00:00', strtotime('-29 days'));
276
+ }elseif($type_id == 90){
277
+ $start_date = date('Y-m-d 00:00:00', strtotime('-89 days'));
278
+ } else if ($type_id == 24){
279
+ $end_date = date("Y-m-d H:m:s");
280
+ $start_date = date("Y-m-d H:m:s", strtotime('-24 hours', time()));
281
+ $timezoneLocal = Mage::app()->getStore()->getConfig(Mage_Core_Model_Locale::XML_PATH_DEFAULT_TIMEZONE);
282
+
283
+ list ($dateStart, $dateEnd) = Mage::getResourceModel('reports/order_collection')
284
+ ->getDateRange('24h', '', '', true);
285
+
286
+ $dateStart->setTimezone($timezoneLocal);
287
+ $dateEnd->setTimezone($timezoneLocal);
288
+
289
+ $dates = array();
290
+
291
+ while($dateStart->compare($dateEnd) < 0){
292
+ $d = $dateStart->toString('yyyy-MM-dd HH:mm:ss');
293
+ $dateStart->addHour(1);
294
+ $dates[] = $d;
295
+ }
296
+
297
+ $start_date = $dates[0];
298
+ $end_date = $dates[count($dates)-1];
299
+
300
+ $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
301
+ $total_count = count($orderCollection);
302
+ }
303
+
304
+ if ($type_id!='year'){
305
+ if ($type_id=='month'){
306
+ $end_date = date("Y-m-d H:m:s");
307
+ $start_date = date('Y-m-01 H:m:s');
308
+ }
309
+
310
+ if ($type_id!=24){
311
+ $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
312
+ $total_count = count($orderCollection);
313
+ $dates = $this->getDatesFromRange($start_date, $end_date);
314
+ }
315
+ $count = 0;
316
+ foreach($dates as $date)
317
+ {
318
+ if($source == 'widget')
319
+ {
320
+ $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->setOrder('entity_id', 'desc');
321
+
322
+ }else{
323
+ $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
324
+ }
325
+
326
+
327
+ if ($type_id == 24){
328
+ $dateStart = $dates[$count];
329
+ $dateEnd = $dates[$count+1];
330
+ }else{
331
+
332
+ $dateStart = date('Y-m-d 00:00:00',strtotime($date));
333
+ $dateEnd = date('Y-m-d 23:59:59',strtotime($date));
334
+ }
335
+ $orderByDate = $orderCollectionByDate->addAttributeToFilter('created_at', array('from'=>$dateStart, 'to'=>$dateEnd));
336
+ $orderByDate->getSelect()->columns('SUM(grand_total) AS grand_total_sum');
337
+ $orderByDate->getSelect()->group(array('store_id'));
338
+ $orderdata= $orderByDate->getData();
339
+ if(count($orderByDate) == 0)
340
+ {
341
+ if ($type_id==24){
342
+ $orderTotalByDate[date("Y-m-d H:i",strtotime($date))] = 0;
343
+ }else if ($type_id=='month'){
344
+ $orderTotalByDate[date('d',strtotime($date))] = 0;
345
+ }else{
346
+ $orderTotalByDate[$date] = 0;
347
+ }
348
+ }
349
+ else{
350
+ if ($type_id==24){
351
+ $ordersByDate[date("Y-m-d H:i",strtotime($date))][] = $orderdata[0]['grand_total_sum'];
352
+ $orderTotalByDate[date("Y-m-d H:i",strtotime($date))] = array_sum($ordersByDate[date("Y-m-d H:i",strtotime($date))]);
353
+ }else if ($type_id=='month'){
354
+ $ordersByDate[date('d',strtotime($date))][] = $orderdata[0]['grand_total_sum'];
355
+ $orderTotalByDate[date('d',strtotime($date))] = array_sum($ordersByDate[date('d',strtotime($date))]);
356
+ }else{
357
+ $ordersByDate[$date][] = $orderdata[0]['grand_total_sum'];
358
+ $orderTotalByDate[$date] = array_sum($ordersByDate[$date]);
359
+ }
360
+
361
+
362
+ }
363
+
364
+ $count++;
365
+ }
366
+ }else{
367
+ $end_date = date ('Y-m-d');
368
+ $start_date = date ('Y-01-01');
369
+ $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
370
+ $total_count = count($orderCollection);
371
+ $months = $this->get_months($start_date, $end_date);
372
+ $current_year = date("Y");
373
+ foreach ($months as $month){
374
+ $first_day = $this->firstDay($month,$current_year);
375
+ $ordersByDate = array();
376
+ if ($month==date('F'))
377
+ $last_day = date ('Y-m-d');
378
+ else
379
+ $last_day = $this->lastday($month,$current_year);
380
+
381
+ $dates = $this->getDatesFromRange($first_day, $last_day);
382
+
383
+ foreach($dates as $date)
384
+ {
385
+
386
+ if($source == 'widget')
387
+ {
388
+ $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->setOrder('entity_id', 'desc');
389
+ }else{
390
+ $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
391
+ }
392
+ $dateStart = date('Y-m-d 00:00:00',strtotime($date));
393
+ $dateEnd = date('Y-m-d 23:59:59',strtotime($date));
394
+ $orderByDate = $orderCollectionByDate->addAttributeToFilter('created_at', array('from'=>$dateStart, 'to'=>$dateEnd));
395
+ $orderByDate->getSelect()->columns('SUM(grand_total) AS grand_total_sum');
396
+ $orderByDate->getSelect()->group(array('store_id'));
397
+ $orderdata= $orderByDate->getData();
398
+ $ordersByDate[] = $orderdata[0]['grand_total_sum'];
399
+ }
400
+
401
+ $orderTotalByDate[$month] = array_sum($ordersByDate);
402
+ }
403
+ }
404
+
405
+
406
+ $result = array('ordertotalbydate' => $orderTotalByDate, 'ordertotalcount' => $total_count);
407
+
408
+ $orderCollection->getSelect()->limit($limit);
409
+
410
+ if($tab == 'order')
411
+ {
412
+
413
+ foreach($orderCollection->getData() as $_order)
414
+ {
415
+ $grand_total = Mage::helper('mobileassistant')->getPrice($_order['grand_total'],$_order['store_id'],$_order['order_currency_code']);
416
+
417
+
418
+ $orderListData[] = array(
419
+ 'entity_id' => $_order['entity_id'],
420
+ 'increment_id' => $_order['increment_id'],
421
+ 'store_id' => $_order['store_id'],
422
+ 'customer_name' => $_order['customer_firstname'].' '.$_order['customer_lastname'],
423
+ 'status' => $_order['status'],
424
+ 'order_date' => Mage::helper('mobileassistant')->getActualOrderDate($_order['create_at']),
425
+ 'grand_total' => $grand_total,
426
+ 'toal_qty' => Mage::getModel('sales/order')->load($_order['entity_id'])->getTotalQtyOrdered(),
427
+ 'total_items' => $_order['total_item_count']
428
+ );
429
+ }
430
+
431
+ $result['ordercollection'] = $orderListData;
432
+ }
433
+
434
+ return $result;
435
+ }
436
+
437
+ protected function getcustomerdetails($storeId,$type_id,$limit = null,$tab = null)
438
+ {
439
+ $collection = Mage::getResourceModel('reports/customer_collection')->addCustomerName();
440
+ $storeFilter = 0;
441
+ if ($storeId) {
442
+ $collection->addAttributeToFilter('store_id', $storeId);
443
+ $storeFilter = 1;
444
+ }
445
+ $collection->addOrdersStatistics($storeFilter)->orderByCustomerRegistration();
446
+ $total = $collection->getSize();
447
+
448
+ if(isset($type_id) && $type_id != null)
449
+ {
450
+ if($type_id == 7){
451
+ $start_date = date('Y-m-d 00:00:00', strtotime('-6 days'));
452
+ }elseif($type_id == 30){
453
+ $start_date = date('Y-m-d 00:00:00', strtotime('-29 days'));
454
+ }elseif($type_id == 90){
455
+ $start_date = date('Y-m-d 00:00:00', strtotime('-89 days'));
456
+ } else if ($type_id == 24){
457
+ $end_date = date("Y-m-d H:m:s");
458
+ $start_date = date("Y-m-d H:m:s", strtotime('-24 hours', time()));
459
+ $timezoneLocal = Mage::app()->getStore()->getConfig(Mage_Core_Model_Locale::XML_PATH_DEFAULT_TIMEZONE);
460
+
461
+ list ($dateStart, $dateEnd) = Mage::getResourceModel('reports/order_collection')
462
+ ->getDateRange('24h', '', '', true);
463
+
464
+ $dateStart->setTimezone($timezoneLocal);
465
+ $dateEnd->setTimezone($timezoneLocal);
466
+
467
+ $dates = array();
468
+
469
+ while($dateStart->compare($dateEnd) < 0){
470
+ $d = $dateStart->toString('yyyy-MM-dd HH:mm:ss');
471
+ $dateStart->addHour(1);
472
+ $dates[] = $d;
473
+ }
474
+
475
+ $start_date = $dates[0];
476
+ $end_date = $dates[count($dates)-1];
477
+
478
+ $collection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
479
+ $total_count = count($collection);
480
+ }
481
+
482
+ if ($type_id!='year'){
483
+ if ($type_id=='month'){
484
+ $end_date = date("Y-m-d H:m:s");
485
+ $start_date = date('Y-m-01 H:m:s');
486
+ }
487
+
488
+ if ($type_id!=24){
489
+ $collection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
490
+ $total_count = count($collection);
491
+ $dates = $this->getDatesFromRange($start_date, $end_date);
492
+ }
493
+ }else{
494
+ $end_date = date ('Y-m-d');
495
+ $start_date = date ('Y-01-01');
496
+ $collection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
497
+ $total_count = count($collection);
498
+ }
499
+ }
500
+ if($tab == 'customer' && isset($limit)){
501
+ $collection->clear();
502
+ $collection->getSelect()->limit($limit);
503
+ }
504
+ $resultWidget = array('customercollection' => $collection,'customertotal' => $total_count);
505
+ return $resultWidget;
506
+ }
507
+
508
+ protected function getlowstockproducts($tab,$storeId,$limit)
509
+ {
510
+
511
+ $products = Mage::getModel('catalog/product')->getCollection()->addStoreFilter($storeId)->setOrder('entity_id', 'desc')
512
+ ->joinField(
513
+ 'is_in_stock',
514
+ 'cataloginventory/stock_item',
515
+ 'is_in_stock',
516
+ 'product_id=entity_id',
517
+ '{{table}}.stock_id=1',
518
+ 'left'
519
+ )->addAttributeToFilter('is_in_stock', array('eq' => 0));
520
+
521
+ $productResultArr['totalproducts'] = $products->getSize();
522
+
523
+ $products->getSelect()->limit($limit);
524
+ if($tab == 'product')
525
+ {
526
+ foreach($products as $product)
527
+ {
528
+ $product_data = Mage::getModel('catalog/product')->load($product->getId());
529
+ $status = $product_data->getStatus();
530
+ $qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
531
+ if($status == 1){$status = 'Enabled';}else{$status = 'Disabled';}
532
+ $product_list[] = array(
533
+ 'id' => $product->getId(),
534
+ 'sku' => $product_data->getSku(),
535
+ 'name' => $product_data->getName(),
536
+ 'status' => $status,
537
+ 'qty' => $qty,
538
+ 'price' => Mage::helper('mobileassistant')->getPrice($product_data->getPrice(),$storeId),
539
+ 'image' => ($product_data->getImage())?Mage::helper('catalog/image')->init($product, 'image',$product_data->getImage())->resize(300,330)->keepAspectRatio(true)->constrainOnly(true)->__toString():'N/A',
540
+ 'type' => $product->getTypeId()
541
+ );
542
+ }
543
+ }
544
+
545
+ $productResultArr['productlistdata'] = $product_list;
546
+
547
+ return $productResultArr;
548
+ }
549
+
550
+ public function getwidgetdetailsAction()
551
+ {
552
+ if(Mage::helper('mobileassistant')->isEnable()){
553
+ $post_data = Mage::app()->getRequest()->getParams();
554
+ $sessionId = $post_data['session'];
555
+ if (!$sessionId || $sessionId == NULL) {
556
+ echo $this->__("The Login has expired. Please try log in again.");
557
+ return false;
558
+ }
559
+
560
+ $storeId = $post_data['storeid'];
561
+ $type_id = $post_data['days_for_dashboard'];
562
+ $tab = $post_data['tab'];
563
+ $limit = $post_data['limit'];
564
+ $source = 'widget';
565
+
566
+ $baseCurrencyCode = (string) Mage::app()->getStore($storeId)->getBaseCurrencyCode();
567
+
568
+ /*order detail*/
569
+ $orderDetails = $this->getorderetails($storeId,$type_id,$tab,$source,$limit);
570
+ $orderTotalByDate = $orderDetails['ordertotalbydate'];
571
+ $orderGrandTotal = strip_tags(Mage::app()->getLocale()->currency($baseCurrencyCode)->toCurrency(array_sum($orderTotalByDate)));
572
+
573
+
574
+ $widgetResultArr['widget_order'] = array('ordergrandtotal' => $orderGrandTotal,'totalordercount' => $orderDetails['ordertotalcount'],'ordercollection' => $orderDetails['ordercollection']);
575
+
576
+ /*customer detail*/
577
+ $customerDetails = $this->getcustomerdetails($storeId,$type_id,$limit,$tab);
578
+ $customertotal = $customerDetails['customertotal'];
579
+
580
+ if($tab == 'customer')
581
+ {
582
+
583
+ $collection = $customerDetails['customercollection'];
584
+
585
+ foreach($collection as $_collection)
586
+ {
587
+ $newestCustomer[] = array(
588
+ 'entity_id' => $_collection->getEntityId(),
589
+ 'name' => $_collection->getName(),
590
+ 'email' => $_collection->getEmail(),
591
+ );
592
+ }
593
+ }
594
+
595
+ $widgetResultArr['widget_customer'] = array('totalcustomer' => $customertotal,'customers_detail' => $newestCustomer);
596
+
597
+ /*products detail*/
598
+ $productDetails = $this->getlowstockproducts($tab,$storeId,$limit);
599
+ $totalProduct = $productDetails['totalproducts'];
600
+ $productdata = $productDetails['productlistdata'];
601
+
602
+ $widgetResultArr['widget_product'] = array('totalproduct' => $totalProduct,'product_detail' => $productdata);
603
+
604
+ $widgetResult = Mage::helper('core')->jsonEncode($widgetResultArr);
605
+ return Mage::app()->getResponse()->setBody($widgetResult);
606
+
607
+ }else{
608
+ $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
609
+ return Mage::app()->getResponse()->setBody($isEnable);
610
+ }
611
+ }
612
+
613
+ public function sendfeedbackAction()
614
+ {
615
+ if(Mage::helper('mobileassistant')->isEnable()){
616
+ $post_data = Mage::app()->getRequest()->getParams();
617
+ $sessionId = $post_data['session'];
618
+ if (!$sessionId || $sessionId == NULL) {
619
+ echo $this->__("The Login has expired. Please try log in again.");
620
+ return false;
621
+ }
622
+
623
+ $to = "support@biztechconsultancy.com";
624
+ $subject = "Feedback For MobileAssistant";
625
+
626
+ $message = "<div>
627
+ <p>Hi there. This is just test email.</p>
628
+ <p>Below is ratings given by user: ".$post_data['nickname']."</p>
629
+ <p>Ratings: ".$post_data['rating']."</p>"." \r\n"."
630
+ <p>Comments: ".$post_data['comment']."</p>"." \r\n"."
631
+ <p>Please find application link:</p>"." \r\n"."
632
+ <a href='".Mage::getBaseUrl()."'>Click here</a>"." \r\n"."
633
+ </div>";
634
+
635
+ $header = "From:". Mage::getStoreConfig('trans_email/ident_general/email')." \r\n";
636
+ $header .= "MIME-Version: 1.0\r\n";
637
+ $header .= "Content-type: text/html\r\n";
638
+ $retval = mail($to,$subject,$message,$header);
639
+ if( $retval == true )
640
+ {
641
+ $result = array('status' => true, 'message' => 'Message sent successfully');
642
+ }
643
+ else
644
+ {
645
+ $result = array('status' => false, 'message' => 'Message could not be sent');
646
+ }
647
+
648
+ $NewestCustomerResult = Mage::helper('core')->jsonEncode($result);
649
+ return Mage::app()->getResponse()->setBody($NewestCustomerResult);
650
+ }else{
651
+ $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
652
+ return Mage::app()->getResponse()->setBody($isEnable);
653
+ }
654
+ }
655
+
656
  }
app/code/local/Biztech/Mobileassistant/controllers/IndexController.php CHANGED
@@ -5,14 +5,6 @@
5
  {
6
  if(Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')){
7
 
8
- if(class_exists("SOAPClient") == false)
9
- {
10
- $result['error'] = $this->__('It seems you have php extension: SOAP disabled in your server. Please enable.');
11
- $jsonData = Mage::helper('core')->jsonEncode($result);
12
- return Mage::app()->getResponse()->setBody($jsonData);
13
- }
14
-
15
-
16
  $isSecure = Mage::app()->getFrontController()->getRequest()->isSecure();
17
  $validate_url = false;
18
  if($isSecure)
@@ -26,27 +18,57 @@
26
  $validate_url = true;
27
  }
28
  }
 
29
  if($validate_url){
 
30
  $details = Mage::app()->getRequest()->getParams();
31
- $user = $details['userapi'];
32
- $api_key = $details['keyapi'];
33
- $deviceToken = $details['token'];
34
- $flag = $details['notification_flag'];
35
- $device_type = $details['device_type'];
36
- $url = $details['magento_url'].'api/soap?wsdl';
37
-
38
- try{
39
- $soap = new SoapClient($url);
40
- $session_id = $soap->login($user, $api_key);
41
- }
42
- catch(SoapFault $fault){
43
- $result['error'] = $fault->getMessage();
 
 
 
 
 
 
 
 
 
 
 
 
44
  $jsonData = Mage::helper('core')->jsonEncode($result);
45
  return Mage::app()->getResponse()->setBody($jsonData);
46
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  if($session_id){
48
- $data[] = array('user' => $user,'key' => $api_key,'devicetoken'=>$deviceToken,'session_id' => $session_id,'notification_flag'=> $flag,'device_type'=> $device_type,'is_logout'=> 0);
49
- $result = $soap->call($session_id,'mobileassistant.create',$data);
 
 
50
  $jsonData = Mage::helper('core')->jsonEncode($result);
51
  return Mage::app()->getResponse()->setBody($jsonData);
52
  }
@@ -68,7 +90,7 @@
68
 
69
  if(Mage::getConfig()->getModuleConfig('Biztech_Mobileassistant')->is('active', 'true') && Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled'))
70
  {
71
-
72
  $isSecure = Mage::app()->getFrontController()->getRequest()->isSecure();
73
  $validate_url = false;
74
  if($isSecure)
@@ -160,6 +182,7 @@
160
 
161
  public function logoutAction()
162
  {
 
163
  $post_data = Mage::app()->getRequest()->getParams();
164
  $user = $post_data['userapi'];
165
  $deviceToken = $post_data['token'];
5
  {
6
  if(Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')){
7
 
 
 
 
 
 
 
 
 
8
  $isSecure = Mage::app()->getFrontController()->getRequest()->isSecure();
9
  $validate_url = false;
10
  if($isSecure)
18
  $validate_url = true;
19
  }
20
  }
21
+
22
  if($validate_url){
23
+
24
  $details = Mage::app()->getRequest()->getParams();
25
+
26
+ $username = $details['userapi'];
27
+ $password = $details['keyapi'];
28
+ $deviceToken = $details['token'];
29
+ $flag = $details['notification_flag'];
30
+ $device_type = $details['device_type'];
31
+
32
+ Mage::register('isSecureArea', true);
33
+
34
+ $config = Mage::getStoreConfigFlag('admin/security/use_case_sensitive_login');
35
+ Mage::getSingleton('core/session', array('name' => 'adminhtml'));
36
+ $user = Mage::getModel('admin/user')->loadByUsername($username);
37
+
38
+ $sensitive = ($config) ? $username == $user->getUsername() : true;
39
+
40
+ if ($sensitive && $user->getId() && Mage::helper('core')->validateHash($password, $user->getPassword())) {
41
+ if ($user->getIsActive() != '1') {
42
+ $result['error'] = Mage::helper('adminhtml')->__('This account is inactive.');
43
+ }
44
+ if (!$user->hasAssigned2Role($user->getId())) {
45
+ $result['error'] = Mage::helper('adminhtml')->__('Access denied.');
46
+ }
47
+
48
+ }else{
49
+ $result['error'] = $this->__('Invalid User Name or Password.');
50
  $jsonData = Mage::helper('core')->jsonEncode($result);
51
  return Mage::app()->getResponse()->setBody($jsonData);
52
  }
53
+ if (Mage::getSingleton('adminhtml/url')->useSecretKey()) {
54
+ Mage::getSingleton('adminhtml/url')->renewSecretUrls();
55
+ }
56
+ $session = Mage::getSingleton('admin/session');
57
+
58
+ $session->setIsFirstVisit(true);
59
+ $session->setUser($user);
60
+ $session->setAcl(Mage::getResourceModel('admin/acl')->loadAcl());
61
+ $session_id = $user->getId().'_'.md5($username);
62
+
63
+ Mage::dispatchEvent('admin_session_user_login_success',array('user'=>$user));
64
+
65
+ Mage::unregister('isSecureArea');
66
+
67
  if($session_id){
68
+ $data = array('username' => $username,'password' => $user->getPassword(),'devicetoken'=>$deviceToken,'session_id' => $session_id,'notification_flag'=> $flag,'device_type'=> $device_type,'is_logout'=> 0);
69
+ $result = Mage::helper('mobileassistant')->create($data);
70
+
71
+
72
  $jsonData = Mage::helper('core')->jsonEncode($result);
73
  return Mage::app()->getResponse()->setBody($jsonData);
74
  }
90
 
91
  if(Mage::getConfig()->getModuleConfig('Biztech_Mobileassistant')->is('active', 'true') && Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled'))
92
  {
93
+
94
  $isSecure = Mage::app()->getFrontController()->getRequest()->isSecure();
95
  $validate_url = false;
96
  if($isSecure)
182
 
183
  public function logoutAction()
184
  {
185
+
186
  $post_data = Mage::app()->getRequest()->getParams();
187
  $user = $post_data['userapi'];
188
  $deviceToken = $post_data['token'];
app/code/local/Biztech/Mobileassistant/controllers/OrderController.php CHANGED
@@ -6,7 +6,8 @@
6
  if(Mage::helper('mobileassistant')->isEnable()){
7
  $post_data = Mage::app()->getRequest()->getParams();
8
  $sessionId = $post_data['session'];
9
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
10
  echo $this->__("The Login has expired. Please try log in again.");
11
  return false;
12
  }
@@ -69,7 +70,7 @@
69
  $storeId = $post_data['storeid'];
70
  $sessionId = $post_data['session'];
71
 
72
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
73
  echo $this->__("The Login has expired. Please try log in again.");
74
  return false;
75
  }
@@ -136,7 +137,8 @@
136
  $post_data = Mage::app()->getRequest()->getParams();
137
  $sessionId = $post_data['session'];
138
  $storeId = $post_data['storeid'];
139
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
140
  echo $this->__("The Login has expired. Please try log in again.");
141
  return false;
142
  }
6
  if(Mage::helper('mobileassistant')->isEnable()){
7
  $post_data = Mage::app()->getRequest()->getParams();
8
  $sessionId = $post_data['session'];
9
+
10
+ if (!$sessionId || $sessionId == NULL) {
11
  echo $this->__("The Login has expired. Please try log in again.");
12
  return false;
13
  }
70
  $storeId = $post_data['storeid'];
71
  $sessionId = $post_data['session'];
72
 
73
+ if (!$sessionId || $sessionId == NULL) {
74
  echo $this->__("The Login has expired. Please try log in again.");
75
  return false;
76
  }
137
  $post_data = Mage::app()->getRequest()->getParams();
138
  $sessionId = $post_data['session'];
139
  $storeId = $post_data['storeid'];
140
+
141
+ if (!$sessionId || $sessionId == NULL) {
142
  echo $this->__("The Login has expired. Please try log in again.");
143
  return false;
144
  }
app/code/local/Biztech/Mobileassistant/controllers/ProductController.php CHANGED
@@ -7,10 +7,12 @@
7
 
8
  $post_data = Mage::app()->getRequest()->getParams();
9
  $sessionId = $post_data['session'];
10
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
11
  echo $this->__("The Login has expired. Please try log in again.");
12
  return false;
13
  }
 
14
  $storeId = $post_data['storeid'];
15
  $limit = $post_data['limit'];
16
  $offset = $post_data['offset'];
@@ -25,9 +27,9 @@
25
 
26
 
27
  if($is_refresh == 1){
28
- $last_fetch_product = $post_data['last_fetch_product'];
29
- $min_fetch_product = $post_data['min_fetch_product'];
30
- $last_updated = $post_data['last_updated'];
31
  $products->getSelect()->where("(entity_id BETWEEN '".$min_fetch_product."'AND '".$last_fetch_product ."' AND updated_at > '".$last_updated."') OR entity_id >'".$last_fetch_product."'");
32
  }
33
 
@@ -39,7 +41,7 @@
39
  $status = $product_data->getStatus();
40
  $qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
41
  if($status == 1){$status = 'Enabled';}else{$status = 'Disabled';}
42
- if($qty == 0 || $product_data->getIsInStock() == 0){$qty = 'Out of Stock';}
43
  $product_list[] = array(
44
  'id' => $product->getId(),
45
  'sku' => $product_data->getSku(),
@@ -66,9 +68,9 @@
66
  if(Mage::helper('mobileassistant')->isEnable()){
67
  $post_data = Mage::app()->getRequest()->getParams();
68
  $sessionId = $post_data['session'];
69
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
70
- echo $this->__("The Login has expired. Please try log in again.");
71
- return false;
72
  }
73
  try{
74
  $storeId = $post_data['storeid'];
@@ -92,8 +94,8 @@
92
 
93
 
94
  $pro_status = $product_data->getStatus();
95
- $qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
96
-
97
  $_images = $product_data->getMediaGalleryImages();
98
  if($_images){
99
  foreach($_images as $_image){
@@ -129,19 +131,24 @@
129
  'price' => Mage::helper('mobileassistant')->getPrice($associated_product->getPrice(),$storeId),
130
  );
131
  }
 
 
 
 
132
  $product_details[] = array(
133
  'id' => $product_data->getId(),
134
  'sku' => $product_data->getSku(),
135
  'name' => $product_data->getName(),
136
  'status' => $pro_status,
137
- 'qty' => $qty,
138
  'price' => Mage::helper('mobileassistant')->getPrice($product_data->getPrice(),$storeId),
139
  'desc' => $product_data->getDescription(),
140
  'type' => $product_data->getTypeId(),
141
  'special_price' => Mage::helper('mobileassistant')->getPrice($product_data->getSpecialPrice(),$storeId),
142
  'image' => ($product_data->getImage())?Mage::helper('catalog/image')->init($product_data, 'image',$product_data->getImage())->resize(300,330)->keepAspectRatio(true)->constrainOnly(true)->__toString():'N/A',
143
  'associated_skus' => $associated_products_details,
144
- 'all_images' => $images
 
145
  );
146
 
147
  $productResultArr = array('productdata' => $product_details , 'associated_products_list' =>$associated_products_list);
@@ -165,7 +172,8 @@
165
  if(Mage::helper('mobileassistant')->isEnable()){
166
  $post_data = Mage::app()->getRequest()->getParams();
167
  $sessionId = $post_data['session'];
168
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
169
  echo $this->__("The Login has expired. Please try log in again.");
170
  return false;
171
  }
@@ -215,7 +223,7 @@
215
  $status = $product_data->getStatus();
216
  $qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
217
  if($status == 1){$status = 'Enabled';}else{$status = 'Disabled';}
218
- if($qty == 0 || $product_data->getIsInStock() == 0){$qty = 'Out of Stock';}
219
  $product_list[] = array(
220
  'id' => $product->getId(),
221
  'sku' => $product_data->getSku(),
@@ -249,7 +257,8 @@
249
  if(Mage::helper('mobileassistant')->isEnable()){
250
  $post_data = Mage::app()->getRequest()->getParams();
251
  $sessionId = $post_data['session'];
252
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
 
253
  echo $this->__("The Login has expired. Please try log in again.");
254
  return false;
255
  }
7
 
8
  $post_data = Mage::app()->getRequest()->getParams();
9
  $sessionId = $post_data['session'];
10
+
11
+ if (!$sessionId || $sessionId == NULL) {
12
  echo $this->__("The Login has expired. Please try log in again.");
13
  return false;
14
  }
15
+
16
  $storeId = $post_data['storeid'];
17
  $limit = $post_data['limit'];
18
  $offset = $post_data['offset'];
27
 
28
 
29
  if($is_refresh == 1){
30
+ $last_fetch_product = $post_data['last_fetch_product'];
31
+ $min_fetch_product = $post_data['min_fetch_product'];
32
+ $last_updated = $post_data['last_updated'];
33
  $products->getSelect()->where("(entity_id BETWEEN '".$min_fetch_product."'AND '".$last_fetch_product ."' AND updated_at > '".$last_updated."') OR entity_id >'".$last_fetch_product."'");
34
  }
35
 
41
  $status = $product_data->getStatus();
42
  $qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
43
  if($status == 1){$status = 'Enabled';}else{$status = 'Disabled';}
44
+ if($qty < 0 || $product_data->getIsInStock() == 0){$qty = 'Out of Stock';}
45
  $product_list[] = array(
46
  'id' => $product->getId(),
47
  'sku' => $product_data->getSku(),
68
  if(Mage::helper('mobileassistant')->isEnable()){
69
  $post_data = Mage::app()->getRequest()->getParams();
70
  $sessionId = $post_data['session'];
71
+
72
+ if (!$sessionId || $sessionId == NULL) {
73
+
74
  }
75
  try{
76
  $storeId = $post_data['storeid'];
94
 
95
 
96
  $pro_status = $product_data->getStatus();
97
+ $pro_qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
98
+ if($pro_qty < 0 || $product_data->getIsInStock() == 0){$pro_qty = 'Out of Stock';}
99
  $_images = $product_data->getMediaGalleryImages();
100
  if($_images){
101
  foreach($_images as $_image){
131
  'price' => Mage::helper('mobileassistant')->getPrice($associated_product->getPrice(),$storeId),
132
  );
133
  }
134
+
135
+
136
+
137
+
138
  $product_details[] = array(
139
  'id' => $product_data->getId(),
140
  'sku' => $product_data->getSku(),
141
  'name' => $product_data->getName(),
142
  'status' => $pro_status,
143
+ 'qty' => $pro_qty,
144
  'price' => Mage::helper('mobileassistant')->getPrice($product_data->getPrice(),$storeId),
145
  'desc' => $product_data->getDescription(),
146
  'type' => $product_data->getTypeId(),
147
  'special_price' => Mage::helper('mobileassistant')->getPrice($product_data->getSpecialPrice(),$storeId),
148
  'image' => ($product_data->getImage())?Mage::helper('catalog/image')->init($product_data, 'image',$product_data->getImage())->resize(300,330)->keepAspectRatio(true)->constrainOnly(true)->__toString():'N/A',
149
  'associated_skus' => $associated_products_details,
150
+ 'all_images' => $images,
151
+
152
  );
153
 
154
  $productResultArr = array('productdata' => $product_details , 'associated_products_list' =>$associated_products_list);
172
  if(Mage::helper('mobileassistant')->isEnable()){
173
  $post_data = Mage::app()->getRequest()->getParams();
174
  $sessionId = $post_data['session'];
175
+
176
+ if (!$sessionId || $sessionId == NULL) {
177
  echo $this->__("The Login has expired. Please try log in again.");
178
  return false;
179
  }
223
  $status = $product_data->getStatus();
224
  $qty = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product_data)->getQty();
225
  if($status == 1){$status = 'Enabled';}else{$status = 'Disabled';}
226
+ if($qty < 0 || $product_data->getIsInStock() == 0){$qty = 'Out of Stock';}
227
  $product_list[] = array(
228
  'id' => $product->getId(),
229
  'sku' => $product_data->getSku(),
257
  if(Mage::helper('mobileassistant')->isEnable()){
258
  $post_data = Mage::app()->getRequest()->getParams();
259
  $sessionId = $post_data['session'];
260
+
261
+ if (!$sessionId || $sessionId == NULL) {
262
  echo $this->__("The Login has expired. Please try log in again.");
263
  return false;
264
  }
app/code/local/Biztech/Mobileassistant/etc/config.xml CHANGED
@@ -10,7 +10,7 @@
10
  <config>
11
  <modules>
12
  <Biztech_Mobileassistant>
13
- <version>0.1.10</version>
14
  </Biztech_Mobileassistant>
15
  </modules>
16
  <frontend>
@@ -167,7 +167,7 @@
167
  </mobileassistant_stockupdate>
168
  </observers>
169
  </sales_model_service_quote_submit_before>
170
-
171
  <sales_model_service_quote_submit_failure>
172
  <observers>
173
  <mobileassistant_stockupdate>
10
  <config>
11
  <modules>
12
  <Biztech_Mobileassistant>
13
+ <version>0.2.0</version>
14
  </Biztech_Mobileassistant>
15
  </modules>
16
  <frontend>
167
  </mobileassistant_stockupdate>
168
  </observers>
169
  </sales_model_service_quote_submit_before>
170
+
171
  <sales_model_service_quote_submit_failure>
172
  <observers>
173
  <mobileassistant_stockupdate>
app/code/local/Biztech/Mobileassistant/etc/system.xml CHANGED
@@ -70,8 +70,18 @@
70
  <show_in_default>1</show_in_default>
71
  <show_in_website>1</show_in_website>
72
  <show_in_store>1</show_in_store>
73
- <comment>Enter your message which will be received on the Mobile app whenever a product qty is lower than minimum qty.</comment>
74
  </product_inventory_notification_msg>
 
 
 
 
 
 
 
 
 
 
75
  </fields>
76
  </mobileassistant_general>
77
  </groups>
70
  <show_in_default>1</show_in_default>
71
  <show_in_website>1</show_in_website>
72
  <show_in_store>1</show_in_store>
73
+ <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>
74
  </product_inventory_notification_msg>
75
+ <barcode_for_url translate="label">
76
+ <label>Store Base Url QRcode</label>
77
+ <frontend_type>text</frontend_type>
78
+ <frontend_model>mobileassistant/config_barcodeurl</frontend_model>
79
+ <sort_order>7</sort_order>
80
+ <show_in_default>1</show_in_default>
81
+ <show_in_website>1</show_in_website>
82
+ <show_in_store>1</show_in_store>
83
+ <comment>Displays QR code for store base url.</comment>
84
+ </barcode_for_url>
85
  </fields>
86
  </mobileassistant_general>
87
  </groups>
app/code/local/Biztech/Mobileassistant/sql/mobileassistant_setup/mysql4-upgrade-0.1.10-0.2.0.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->run("
8
+
9
+ ALTER TABLE `{$this->getTable('mobileassistant')}` ADD `password` VARCHAR( 255 ) NOT NULL DEFAULT '';
10
+
11
+ ");
12
+
13
+ $installer->endSetup();
app/code/local/Biztech/Mobileassistant/sql/mobileassistant_setup/mysql4-upgrade-0.1.5-0.1.6.php CHANGED
@@ -4,5 +4,4 @@
4
 
5
  $installer->startSetup();
6
 
7
-
8
  $installer->endSetup();
4
 
5
  $installer->startSetup();
6
 
 
7
  $installer->endSetup();
app/code/local/Biztech/Mobileassistant/sql/mobileassistant_setup/mysql4-upgrade-0.1.6-0.1.10.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->endSetup();
app/design/adminhtml/default/default/template/mobileassistant/system/config/barcode.phtml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
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; ?>" />
lib/mobileassistant/pushcert.pem CHANGED
@@ -1,25 +1,25 @@
1
  Bag Attributes
2
  friendlyName: Apple Production IOS Push Services: com.biztech.magentoMobileManager
3
- localKeyID: 4B 0C D6 48 EA 0C AA FB 86 C2 3B 84 90 27 E1 D7 01 33 0F C8
4
- subject=/UID=com.biztech.magentoMobileManager/CN=Apple Production IOS Push Services: com.biztech.magentoMobileManager/OU=94B9E2W92T/C=IN
5
  issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
6
  -----BEGIN CERTIFICATE-----
7
- MIIFpDCCBIygAw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s67r2R1nFUlSjtzCC
23
  AQ8GA1UdIASCAQYwggECMIH/BgkqhkiG92NkBQEwgfEwgcMGCCsGAQUFBwICMIG2
24
  DIGzUmVsaWFuY2Ugb24gdGhpcyBjZXJ0aWZpY2F0ZSBieSBhbnkgcGFydHkgYXNz
25
  dW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3RhbmRhcmQg
@@ -28,36 +28,36 @@ YW5kIGNlcnRpZmljYXRpb24gcHJhY3RpY2Ugc3RhdGVtZW50cy4wKQYIKwYBBQUH
28
  AgEWHWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2EvME0GA1UdHwRGMEQwQqBA
29
  oD6GPGh0dHA6Ly9kZXZlbG9wZXIuYXBwbGUuY29tL2NlcnRpZmljYXRpb25hdXRo
30
  b3JpdHkvd3dkcmNhLmNybDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUH
31
- AwIwEAYKKoZIhvdjZAYDAgQCBQAwDQYJKoZIhvcNAQEFBQADggEBADD/6ctjMDMQ
32
- 3WCsvKYBIZlcd5fvuuPsK+J7QeE6NTFwRE+K/cgsuDmcXBcWSA5+j8B/lpy5eerJ
33
- U7R+SnsqGxYulVMhcqaa47ctfvctfSqdsQ6JFliVFRPnxceTz9DeuJwC1owWZ8Rk
34
- rC33LogM7z7wSU9KOxmRKestVEDMIieZyNcOTPqkOMXUg70oPPFDdaV3V+oN3iBi
35
- SuKySD9onFdgQ11Aatbwf6uEX2ijhG1VnfAEJ/7BnULEY25FowPgvUyFj/9cusko
36
- /wcrReGsbiYHsRDa9D8d3OaSeCAeYgl0azZ96ejE/NZfXN1jqM2eQAMK5qdZCj1R
37
- NuAlS9wEReY=
38
  -----END CERTIFICATE-----
39
  Bag Attributes
40
  friendlyName: Apple Production IOS Push Services: com.biztech.magentoMobileManager
41
- localKeyID: 4B 0C D6 48 EA 0C AA FB 86 C2 3B 84 90 27 E1 D7 01 33 0F C8
42
- subject=/UID=com.biztech.magentoMobileManager/CN=Apple Production IOS Push Services: com.biztech.magentoMobileManager/OU=94B9E2W92T/C=IN
43
  issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
44
  -----BEGIN CERTIFICATE-----
45
- MIIFpDCCBIygAwIBAgIIVkC9X94CuccwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
46
  BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
47
  ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
48
  aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
49
- HhcNMTQxMjA0MTA0NTAwWhcNMTUxMjA0MTA0NTAwWjCBozEwMC4GCgmSJomT8ixk
50
  AQEMIGNvbS5iaXp0ZWNoLm1hZ2VudG9Nb2JpbGVNYW5hZ2VyMU0wSwYDVQQDDERB
51
  cHBsZSBQcm9kdWN0aW9uIElPUyBQdXNoIFNlcnZpY2VzOiBjb20uYml6dGVjaC5t
52
  YWdlbnRvTW9iaWxlTWFuYWdlcjETMBEGA1UECwwKOTRCOUUyVzkyVDELMAkGA1UE
53
- BhMCSU4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCc8CiS9jIG+upM
54
- re6z85zbKllCkjnEpTagJHamrpKwe/rEZjqWeQ3/9uDJVv2ht2u/lziuff7aOQqQ
55
- 9WM5tqbH7IdkGYXmpzgKfCxuVxyLQ5RrAcg/YLs8vwrB2ptlKjVh3Qs9GnsRDVGt
56
- OfjhYZ6hpCbi2/JM+fjhXsRzEqby7mAmo+c4op8egtTaZhw2/tT01aOBupbua6VN
57
- 4nLG2cZChUKcb5obzPWxVm5k3ehSGRPV9gWk4T+FdEHBL7ne1zR1O7Tt4wSkkfad
58
- cYBaG4V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azZ96ejE/NZfXN1jqM2eQAMK5qdZCj1R
75
- NuAlS9wEReY=
76
  -----END CERTIFICATE-----
77
  Bag Attributes
78
- friendlyName: MMMDst
79
- localKeyID: 4B 0C D6 48 EA 0C AA FB 86 C2 3B 84 90 27 E1 D7 01 33 0F C8
80
  Key Attributes: <No Attributes>
81
  -----BEGIN RSA PRIVATE KEY-----
82
- MIIEpAIBAAKCAQEAnPAokvYyBvrqTK3us/Oc2ypZQpI5xKU2oCR2pq6SsHv6xGY6
83
- lnkN//bgyVb9obdrv5c4rn3+2jkKkPVjObamx+yHZBmF5qc4Cnwsblcci0OUawHI
84
- P2C7PL8KwdqbZSo1Yd0LPRp7EQ1RrTn44WGeoaQm4tvyTPn44V7EcxKm8u5gJqPn
85
- OKKfHoLU2mYcNv7U9NWjgbqW7mulTeJyxtnGQoVCnG+aG8z1sVZuZN3oUhkT1fYF
86
- pOE/hXRBwS+53tc0dTu07eMEpJH2nXGAWhuFVQbGEFH3gpTjB223UYTj0dNneoCZ
87
- fSEcO3ZpSQHkAjdk6Ho/INrYzFIHp9z23QUYHwIDAQABAoIBAQCCXCL34DUyAx64
88
- TwomxEcY7hZy68+8fpffcip0zjHfEzz8AwbLkwaEBeg2lmHcAOYpoU1d9B7L2fHi
89
- 81JW0Fe9XcYg6eqF64TrgLXPeeCl9Z7FPBfAPXOKRA6FdDb8U5FAF0KMoQB066Fa
90
- yPrpDBOepSH/8z9TnZiUbAm2pFm1E+vvi/XSZuYx9wgef2UYuFmgDaNtq6PSD/mN
91
- YCX7L43hDFpDZXPQ02l5BpOOMwAaVh1HR8Fdb2JRjlhvDuf97ibdWHSsex5Wvms2
92
- HfPtTuFtfTV6o9X+7pzmPIg9H1ItHbZxLfNfgvjpdVHi1Um982qGEnZupXPcFyC/
93
- Qk0wu34BAoGBAM9PTBslj1n/NHhRqJFasYuwJNwQw6v3PJDDCwptq2MjpSts8AQ/
94
- lBsZtt8AzXwaA84sN4b+MDxGkgdRZwlrEiIZ0hATVB6MOTvUaVxl8AEN0CWJhLcw
95
- UU9lfX60KeWLSHw0FPircdXSLXQ15DI/D0FU58DhG/86tyy4KVqz4gWBAoGBAMHM
96
- N5PztwfL3emdQWLoIHgFB73vlOY3o3/jC3V//T1zMRwzHudYdXzeEWXamF+XTN43
97
- 2gyF3SIz/691eikNFU2+bKJ9FyETYvGiRHvlVY3x6iiEWaiONbbXdON7ABYAuBDp
98
- FNgHtNwXybLe68mntP0rBPrwF+yRxQFfoL22rC2fAoGAcAxuGCYe6wey9m08bQPV
99
- /qg/4+nzuJiy1ZN1/jb0cWsstOH2gHVUuakWXEX0ymTNNbxUbtQogguqleX7iO2k
100
- KWZHUYUA7Fnh/WJ7aAN4yzkKDZ/caZ7l88HpKHh8RKMZlHgZ9aXEq0skYjFWm4nV
101
- 1vvrHycMmNDFfJg1Ud70BQECgYBUL1cxURyAKYJDukkuIvH/0QeU7Z88Bo1iv4k5
102
- yJiEeiaqPla9XoLi9ECQg03PsJT2r0JsUDZIZlg6qwifDozjkcX1K+vBNX+0wa2I
103
- OI5as+zpHt0nyGby/1NKgiL+a9+JkQa59VcOiNLYfdflaJHJrEdkjqmF3ai7uQPF
104
- hbXztwKBgQCIQo5tlpgCeZm15C+BJtjz/G98sAFF1YSl82ZMp1uv1fFUqdZoVbkO
105
- rvXlLLjMpoG6i27jIgfuCpTb91UWqTdBpnSf9w9SEeOl4Y+07hpjuwDJP3ZL0Ute
106
- lSizjx1cSfpNL9ZiF6g2u0NXHxpV3z3+HWDUOIX+SA+SarjzATT/qw==
107
  -----END RSA PRIVATE KEY-----
108
  Bag Attributes
109
- friendlyName: MMMDst
110
- localKeyID: 4B 0C D6 48 EA 0C AA FB 86 C2 3B 84 90 27 E1 D7 01 33 0F C8
111
  Key Attributes: <No Attributes>
112
  -----BEGIN RSA PRIVATE KEY-----
113
- MIIEpAIBAAKCAQEAnPAokvYyBvrqTK3us/Oc2ypZQpI5xKU2oCR2pq6SsHv6xGY6
114
- lnkN//bgyVb9obdrv5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/4+nzuJiy1ZN1/jb0cWsstOH2gHVUuakWXEX0ymTNNbxUbtQogguqleX7iO2k
131
- KWZHUYUA7Fnh/WJ7aAN4yzkKDZ/caZ7l88HpKHh8RKMZlHgZ9aXEq0skYjFWm4nV
132
- 1vvrHycMmNDFfJg1Ud70BQECgYBUL1cxURyAKYJDukkuIvH/0QeU7Z88Bo1iv4k5
133
- yJiEeiaqPla9XoLi9ECQg03PsJT2r0JsUDZIZlg6qwifDozjkcX1K+vBNX+0wa2I
134
- OI5as+zpHt0nyGby/1NKgiL+a9+JkQa59VcOiNLYfdflaJHJrEdkjqmF3ai7uQPF
135
- hbXztwKBgQCIQo5tlpgCeZm15C+BJtjz/G98sAFF1YSl82ZMp1uv1fFUqdZoVbkO
136
- rvXlLLjMpoG6i27jIgfuCpTb91UWqTdBpnSf9w9SEeOl4Y+07hpjuwDJP3ZL0Ute
137
- lSizjx1cSfpNL9ZiF6g2u0NXHxpV3z3+HWDUOIX+SA+SarjzATT/qw==
138
  -----END RSA PRIVATE KEY-----
1
  Bag Attributes
2
  friendlyName: Apple Production IOS Push Services: com.biztech.magentoMobileManager
3
+ localKeyID: B0 1D C8 1B DC B7 B6 22 62 D3 B9 76 7D 0C 29 8F D8 D7 CB B3
4
+ subject=/UID=com.biztech.magentoMobileManager/CN=Apple Production IOS Push Services: com.biztech.magentoMobileManager/OU=94B9E2W92T/C=US
5
  issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
6
  -----BEGIN CERTIFICATE-----
7
+ MIIFpDCCBIygAwIBAgIIF3vPXTnAGBYwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
8
  BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
9
  ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
10
  aWRlIERldmVsb3BlciBSZWxh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bmRhcmQg
28
  AgEWHWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2EvME0GA1UdHwRGMEQwQqBA
29
  oD6GPGh0dHA6Ly9kZXZlbG9wZXIuYXBwbGUuY29tL2NlcnRpZmljYXRpb25hdXRo
30
  b3JpdHkvd3dkcmNhLmNybDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUH
31
+ AwIwEAYKKoZIhvdjZAYDAgQCBQAwDQYJKoZIhvcNAQEFBQADggEBAC5ZXQUqdQxS
32
+ tL/LEwLtbjFmExfV36zQnW5b8KwfFwiRYGuHBkIsijyPLD+uCsGg6Iehlxykjo7e
33
+ 0627YehknKYLYCFxgtKH/kq/njBWPxbNNMzR0GO00WTQvdH2NThQpe2jvVLlQij+
34
+ UuqrofVhDSIgsxXP///zQg7TlyviurQOMJXIbtNa3108ia/rBqAOals5xu7cGcni
35
+ c0Golt+hgc0y5534+vSfbZHClsgfYRAWbRpDNY699wwX39KhWwnyPlgteTJm3Hhb
36
+ aVDq8PPxpcPz5qCuH0Yimq+YzVbQuRIeYyVal/mu5fOJTp0Ig/BDfgyft3OWyVfK
37
+ q5ggM9LvNhU=
38
  -----END CERTIFICATE-----
39
  Bag Attributes
40
  friendlyName: Apple Production IOS Push Services: com.biztech.magentoMobileManager
41
+ localKeyID: B0 1D C8 1B DC B7 B6 22 62 D3 B9 76 7D 0C 29 8F D8 D7 CB B3
42
+ subject=/UID=com.biztech.magentoMobileManager/CN=Apple Production IOS Push Services: com.biztech.magentoMobileManager/OU=94B9E2W92T/C=US
43
  issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
44
  -----BEGIN CERTIFICATE-----
45
+ MIIFpDCCBIygAwIBAgIIF3vPXTnAGBYwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
46
  BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3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XJ0aWZpY2F0ZSBieSBhbnkgcGFydHkgYXNz
63
  dW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3RhbmRhcmQg
66
  AgEWHWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2EvME0GA1UdHwRGMEQwQqBA
67
  oD6GPGh0dHA6Ly9kZXZlbG9wZXIuYXBwbGUuY29tL2NlcnRpZmljYXRpb25hdXRo
68
  b3JpdHkvd3dkcmNhLmNybDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUH
69
+ AwIwEAYKKoZIhvdjZAYDAgQCBQAwDQYJKoZIhvcNAQEFBQADggEBAC5ZXQUqdQxS
70
+ tL/LEwLtbjFmExfV36zQnW5b8KwfFwiRYGuHBkIsijyPLD+uCsGg6Iehlxykjo7e
71
+ 0627YehknKYLYCFxgtKH/kq/njBWPxbNNMzR0GO00WTQvdH2NThQpe2jvVLlQij+
72
+ UuqrofVhDSIgsxXP///zQg7TlyviurQOMJXIbtNa3108ia/rBqAOals5xu7cGcni
73
+ c0Golt+hgc0y5534+vSfbZHClsgfYRAWbRpDNY699wwX39KhWwnyPlgteTJm3Hhb
74
+ aVDq8PPxpcPz5qCuH0Yimq+YzVbQuRIeYyVal/mu5fOJTp0Ig/BDfgyft3OWyVfK
75
+ q5ggM9LvNhU=
76
  -----END CERTIFICATE-----
77
  Bag Attributes
78
+ friendlyName: MMMDist
79
+ localKeyID: B0 1D C8 1B DC B7 B6 22 62 D3 B9 76 7D 0C 29 8F D8 D7 CB B3
80
  Key Attributes: <No Attributes>
81
  -----BEGIN RSA PRIVATE KEY-----
82
+ MIIEowIBAAKCAQEApaF/xL1hK3dH50vTQNclJXiPeWsgPy/YWyhqx53ORZOX/CWZ
83
+ ziNSDop06YcvDjUOn4FapQKnKDcuBh5PTO4MpsRfeSNFVOrv6MwUGnkd0bHBwgKx
84
+ dR99jO4Gv20O0zLIWJU5jHOMoaHFc79v5kpWaENfL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R9U+xmCbVe+764BfyGSfiC/Wpp5wRx5FaO8a+sRQITA5FoCs
101
+ gyVHMkrZ9xhhusETf4EzNaECgYA/3lk89uRoDNDmffGqlmmnSYf5vtxYk/GY1RRs
102
+ RE93zu1TYfXLqdi9OhCfXU0M0LI/NG6RYaQ4taepFCBLBRv09srTNbj1aC6xDNMd
103
+ si/2mA+3OiOouNXCvHDaYYGcPLTyfr6gI8wqg0ORPTZBi8NIy/DATV+4yu1yJgIp
104
+ TrZIwQKBgCq6XzgImLITbTnmA2Xf6UDb2zbJYcPhxJ6tJnjbClb7x6Jx7Y5ihl0q
105
+ qPVLWvuY/E9PCveoiLGzuRcoEVPny8dH6Jk8QnJUVOE3SbEhelCYgoAqvioAXrxr
106
+ AUv88bvTsdlut0QloIL2Nx3RjIHVpkQttpEoi/j0B7BU7PFeVfWu
107
  -----END RSA PRIVATE KEY-----
108
  Bag Attributes
109
+ friendlyName: MMMDist
110
+ localKeyID: B0 1D C8 1B DC B7 B6 22 62 D3 B9 76 7D 0C 29 8F D8 D7 CB B3
111
  Key Attributes: <No Attributes>
112
  -----BEGIN RSA PRIVATE KEY-----
113
+ MIIEowIBAAKCAQEApaF/xL1hK3dH50vTQNclJXiPeWsgPy/YWyhqx53ORZOX/CWZ
114
+ ziNSDop06YcvDjUOn4FapQKnKDcuBh5PTO4MpsRfeSNFVOrv6MwUGnkd0bHBwgKx
115
+ dR99jO4Gv20O0zLIWJU5jHOMoaHFc79v5kpWaENfLVzlbnI8CETzQISCG/AhEvTS
116
+ QW+M6IiaARch5kLq7/DDZqgSpUsqB5vCyZCdSqz1oP11SgeAFhBIxUpYf3ZK1/pI
117
+ v+0CUcaS3lM0iUzENNi2b9TsBlQVBJdfakCvKPynqPQwi+VDgXB+Yq0Q8tt1daoX
118
+ rpYGMxlcfI4KetNxVcSGqYFrKcO8ywYEeIGbJwIDAQABAoIBACquSzZvdrK0shqw
119
+ N2fmCPR29MHdERo3QhF7gMifqZ/UQL4BEnlEMMj+dNIY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TnmA2Xf6UDb2zbJYcPhxJ6tJnjbClb7x6Jx7Y5ihl0q
136
+ qPVLWvuY/E9PCveoiLGzuRcoEVPny8dH6Jk8QnJUVOE3SbEhelCYgoAqvioAXrxr
137
+ AUv88bvTsdlut0QloIL2Nx3RjIHVpkQttpEoi/j0B7BU7PFeVfWu
138
  -----END RSA PRIVATE KEY-----
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>magento_mobile_assistant_manager</name>
4
- <version>0.1.10</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,12 @@ 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>-Bug Fixing for Product Stock Alerts</notes>
 
29
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
30
- <date>2015-06-08</date>
31
- <time>06:20:01</time>
32
- <contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="18d9cf7b8e516db899336adfd8210621"/><file name="Biztech_All.xml" hash="f4c3b9c029e56da8f09d7d71336c00f7"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Mobileassistant"><dir name="Helper"><file name="Data.php" hash="c4c160896ad9aa366a5d3e3b58cb9417"/></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="d02c2c14c3da1a87d01138ea9b101375"/></dir><dir name="controllers"><file name="CustomerController.php" hash="35ba5c85e9b6042846fd919316fe09db"/><file name="DashboardController.php" hash="9b4976bf56373d7a82cf1c2d45b5563b"/><file name="IndexController.php" hash="270697d98f4aedf6012a5714536f814f"/><file name="OrderController.php" hash="cf76a6f679380eca13ce48b4ac855fee"/><file name="ProductController.php" hash="4dab0e0cb4f5dddf2cdeaab94e4f3b1e"/></dir><dir name="etc"><file name="api.xml" hash="7860c9fe0f121148eb2a3a498d1879b1"/><file name="config.xml" hash="95b5428ffccac5384aa0e86c2deebbdd"/><file name="system.xml" hash="ae22361f905daf8c8b39863afb9bab19"/></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.4-0.1.5.php" hash="bd4adba7146d89fed6c548dd46a30a81"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="172e9ecba3b5b385cef1c257b2af4bfa"/></dir></dir></dir><dir name="All"><dir name="Helper"><file name="Data.php" hash="e856726fd089e7f73ca7de450b696419"/></dir><dir name="Model"><file name="All.php" hash="a9aeeb9c6d7be9cf20414f405efc878d"/><dir name="Mysql4"><dir name="All"><file name="Collection.php" hash="a1909236183d126f38e628b85bb57e81"/></dir><file name="All.php" hash="f02542393eb26eadfb9b92d901d2ac12"/></dir><dir name="Source"><dir name="Updates"><file name="Type.php" hash="fa695bf4764c2d93c7436ed54bde89ba"/></dir></dir><file name="Status.php" hash="30a6f0da7d9d45e1082da532d5f8dabc"/><file name="Update.php" hash="83ceddbab4d621545b9c7c4bccdec7c0"/></dir><dir name="etc"><file name="config.xml" hash="27e403cedb861da03753d28527d9c664"/><file name="system.xml" hash="17262087dc933d934e09ac04cafb4c51"/></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="pushcert.pem" hash="37a517e3bdd6ee2e4c61af6699f7f21b"/></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.2.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>-Bug Fixing&#xD;
29
+ -Notification Issue</notes>
30
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
31
+ <date>2015-10-17</date>
32
+ <time>05:43:05</time>
33
+ <contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="18d9cf7b8e516db899336adfd8210621"/><file name="Biztech_All.xml" hash="f4c3b9c029e56da8f09d7d71336c00f7"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Mobileassistant"><dir name="Block"><dir name="Config"><file name="Barcodeurl.php" hash="6dc63c4a9f259cb5fb854d39c9057eaa"/></dir></dir><dir name="Helper"><file name="Data.php" hash="48ab9efe6677c3066a245864174c4f4a"/></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="5962e33fc0b1048151144465958cdcbd"/></dir><dir name="controllers"><file name="CustomerController.php" hash="57e11df64364ddd5a949adc02d50766c"/><file name="DashboardController.php" hash="b340abbf5c343884894a4a240cbd45a2"/><file name="IndexController.php" hash="67599a94a41762b9624069f63d8dace0"/><file name="OrderController.php" hash="2dd03a85169cefdb9fec3f119207c0fc"/><file name="ProductController.php" hash="29c118568b393023f9c1e72fe8f60490"/></dir><dir name="etc"><file name="api.xml" hash="7860c9fe0f121148eb2a3a498d1879b1"/><file name="config.xml" hash="d63cdebbf7bd97e2c30f20f120f12be2"/><file name="system.xml" hash="0f75afd9196108912b700c6d07f44b68"/></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 name="All"><dir name="Helper"><file name="Data.php" hash="e856726fd089e7f73ca7de450b696419"/></dir><dir name="Model"><file name="All.php" hash="a9aeeb9c6d7be9cf20414f405efc878d"/><dir name="Mysql4"><dir name="All"><file name="Collection.php" hash="a1909236183d126f38e628b85bb57e81"/></dir><file name="All.php" hash="f02542393eb26eadfb9b92d901d2ac12"/></dir><dir name="Source"><dir name="Updates"><file name="Type.php" hash="fa695bf4764c2d93c7436ed54bde89ba"/></dir></dir><file name="Status.php" hash="30a6f0da7d9d45e1082da532d5f8dabc"/><file name="Update.php" hash="8c4c167baf8775736e6861bfceb8e09f"/></dir><dir name="etc"><file name="config.xml" hash="27e403cedb861da03753d28527d9c664"/><file name="system.xml" hash="17262087dc933d934e09ac04cafb4c51"/></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="pushcert.pem" hash="8199227be504f504a5dcc516025962f6"/></dir></dir><dir name="."><file name="MageMobAdmin.pdf" hash="a8f3d6830b1fc710be0c73de5f278bc2"/></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="1d24add024ce2297841ef826e345cad0"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
34
  <compatible/>
35
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
36
  </package>