magento_mobile_assistant_manager - Version 0.1.4

Version Notes

-Enhancements : Create customer notification,sales order graph enhancement

Download this release

Release Info

Developer Biztech
Extension magento_mobile_assistant_manager
Version 0.1.4
Comparing to
See all releases


Code changes from version 0.1.3 to 0.1.4

app/code/local/Biztech/Mobileassistant/Helper/Data.php CHANGED
@@ -1,16 +1,56 @@
1
  <?php
2
 
3
- class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract
4
- {
5
-
6
  public function getPriceFormat($price)
7
  {
8
  $price = sprintf("%01.2f", $price);
9
  return $price;
10
  }
11
-
12
  public function isEnable()
13
  {
14
  return Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled');
15
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
1
  <?php
2
 
3
+ class Biztech_Mobileassistant_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+
6
  public function getPriceFormat($price)
7
  {
8
  $price = sprintf("%01.2f", $price);
9
  return $price;
10
  }
11
+
12
  public function isEnable()
13
  {
14
  return Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled');
15
  }
16
+
17
+ public function pushNotification($notification_type,$entity_id){
18
+ $passphrase = 'push2magento';
19
+ $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('notification_flag',Array('eq'=>1));
20
+
21
+ if ($notification_type=='customer'){
22
+ $message = Mage::getStoreConfig('mobileassistant/mobileassistant_general/customer_register_notification_msg');
23
+ if($message == null){
24
+ $message = Mage::helper('mobileassistant')->__('A New customer has been registered on the Store.');
25
+ }
26
+ }else{
27
+ $message = Mage::getStoreConfig('mobileassistant/mobileassistant_general/notification_msg');
28
+ if($message == null){
29
+ $message = Mage::helper('mobileassistant')->__('A New order has been received on the Store.');
30
+ }
31
+ }
32
+
33
+ $apnsCert = Mage::getBaseDir('lib'). DS. "mobileassistant".DS."magentoPushDst.pem";
34
+ $ctx = stream_context_create();
35
+ stream_context_set_option($ctx, 'ssl', 'local_cert', $apnsCert);
36
+ stream_context_set_option($ctx, 'ssl', 'passphrase', $passphrase);
37
+ $flags = STREAM_CLIENT_CONNECT | STREAM_CLIENT_PERSISTENT;
38
+ $fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err,$errstr, 60, $flags, $ctx);
39
+ if ($fp){
40
+ foreach($collections as $collection){
41
+ $deviceToken = $collection->getDeviceToken();
42
+ $body['aps'] = array(
43
+ 'alert' => $message,
44
+ 'sound' => 'default',
45
+ 'entity_id'=>$entity_id,
46
+ 'type' => $notification_type
47
+ );
48
+ $payload = json_encode($body);
49
+ $msg = chr(0) . pack('n', 32) . pack('H*', $deviceToken) . pack('n', strlen($payload)) . $payload;
50
+ $result = fwrite($fp, $msg, strlen($msg));
51
+ }
52
+ fclose($fp);
53
+ }
54
+ return true;
55
+ }
56
  }
app/code/local/Biztech/Mobileassistant/Model/Observer.php CHANGED
@@ -2,45 +2,47 @@
2
  class Biztech_Mobileassistant_Model_Observer
3
  {
4
  private static $_handleCustomerFirstOrderCounter = 1;
 
5
  public function sales_order_save_after(Varien_Event_Observer $observer)
6
  {
7
- if (Mage::app()->getRequest()->getControllerName()=='onepage'){
8
  if(Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')){
9
  if (self::$_handleCustomerFirstOrderCounter > 1) {
10
  return $this;
11
  }
12
  self::$_handleCustomerFirstOrderCounter++;
13
- $collections = Mage::getModel("mobileassistant/mobileassistant")->getCollection()->addFieldToFilter('notification_flag',Array('eq'=>1));
14
- $passphrase = 'magento123';
15
- $message = Mage::getStoreConfig('mobileassistant/mobileassistant_general/notification_msg');
16
- if($message == null){
17
- $message = Mage::helper('mobileassistant')->__('A New order has been received on the Store.');
18
- }
19
- $apnsCert = Mage::getBaseDir('lib'). DS. "mobileassistant/ck.pem";
20
- $ctx = stream_context_create();
21
- stream_context_set_option($ctx, 'ssl', 'local_cert', $apnsCert);
22
- stream_context_set_option($ctx, 'ssl', 'passphrase', $passphrase);
23
- $flags = STREAM_CLIENT_CONNECT | STREAM_CLIENT_PERSISTENT;
24
-
25
- $fp = stream_socket_client('ssl://gateway.push.apple.com:2195', $err,$errstr, 60, $flags, $ctx);
26
 
 
 
 
27
 
28
-
29
- if ($fp){
30
- foreach($collections as $collection){
31
- $deviceToken = $collection->getDeviceToken();
32
- $body['aps'] = array(
33
- 'alert' => $message,
34
- 'sound' => 'default'
35
- );
36
- $payload = json_encode($body);
37
- $msg = chr(0) . pack('n', 32) . pack('H*', $deviceToken) . pack('n', strlen($payload)) . $payload;
38
- $result = fwrite($fp, $msg, strlen($msg));
39
- }
40
- fclose($fp);
41
  }
42
- return true;
43
  }
44
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  }
46
  }
2
  class Biztech_Mobileassistant_Model_Observer
3
  {
4
  private static $_handleCustomerFirstOrderCounter = 1;
5
+ private static $_handleCustomerFirstRegisterNotificationCounter = 1;
6
  public function sales_order_save_after(Varien_Event_Observer $observer)
7
  {
 
8
  if(Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')){
9
  if (self::$_handleCustomerFirstOrderCounter > 1) {
10
  return $this;
11
  }
12
  self::$_handleCustomerFirstOrderCounter++;
13
+ $result = Mage::helper('mobileassistant')->pushNotification('order',$observer->getEvent()->getOrder()->getId());
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ $quoteId = $observer->getEvent()->getOrder()->getData('quote_id');
16
+ $quote = Mage::getModel('sales/quote')->load($quoteId);
17
+ $method = $quote->getCheckoutMethod(true);
18
 
19
+ if ($method=='register'){
20
+ Mage::dispatchEvent('customer_register_checkout',
21
+ array(
22
+ 'customer' => $observer->getEvent()->getOrder()->getCustomer()
23
+ )
24
+ );
 
 
 
 
 
 
 
25
  }
 
26
  }
27
+ }
28
+
29
+ public function customerRegisterNotification(Varien_Event_Observer $observer){
30
+ if(Mage::getStoreConfig('mobileassistant/mobileassistant_general/enabled')){
31
+ $customer = $observer->getEvent()->getCustomer();
32
+ if ($customer){
33
+ $customer_id = $customer->getId();
34
+ }
35
+ if ($customer_id){
36
+ $result = Mage::helper('mobileassistant')->pushNotification('customer',$customer_id);
37
+ }
38
+ }
39
+ }
40
+
41
+ public function customerRegisterNotificationCheckout(Varien_Event_Observer $observer){
42
+ $customer = $observer->getEvent()->getCustomer();
43
+ if ($customer){
44
+ $customer_id = $customer->getId();
45
+ $result = Mage::helper('mobileassistant')->pushNotification('customer',$customer_id);
46
+ }
47
  }
48
  }
app/code/local/Biztech/Mobileassistant/controllers/CustomerController.php CHANGED
@@ -1,180 +1,191 @@
1
- <?php
2
- class Biztech_Mobileassistant_CustomerController extends Mage_Core_Controller_Front_Action
3
- {
4
- public function getCustomerListAction()
5
- {
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'];
16
- $customers = Mage::getModel('customer/customer')->getCollection()->addAttributeToSelect('*')->setOrder('entity_id', 'desc');
17
-
18
- if($offset != null){
19
- $customers->addAttributeToFilter('entity_id', array('lt' => $offset));
20
- }
21
- if($new_customers != null){
22
- $customers->addAttributeToFilter('entity_id', array('gt' => $new_customers));
23
- }
24
- $customers->getSelect()->limit($limit);
25
- foreach($customers as $customer){
26
- $website_name = Mage::app()->getWebsite($customer->getWebsiteId())->getName();
27
- $customer_list[] = array(
28
- 'entity_id' => $customer->getEntityId(),
29
- 'customer_name' => $customer->getFirstname()." ".$customer->getLastname(),
30
- 'email_id' => $customer->getEmail(),
31
- 'website_name' => $website_name
32
- );
33
- }
34
- $customerListResultArr = array('customerlistdata' => $customer_list);
35
- $customerListResult = Mage::helper('core')->jsonEncode($customerListResultArr);
36
- return Mage::app()->getResponse()->setBody($customerListResult);
37
- }else{
38
- $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
39
- return Mage::app()->getResponse()->setBody($isEnable);
40
- }
41
- }
42
-
43
- public function getCustomerDetailAction()
44
- {
45
- if(Mage::helper('mobileassistant')->isEnable()){
46
- $post_data = Mage::app()->getRequest()->getParams();
47
- $sessionId = $post_data['session'];
48
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
49
- echo $this->__("The Login has expired. Please try log in again.");
50
- return false;
51
- }
52
- $customer_id = $post_data['customer_id'];
53
- $customerData = Mage::getModel('customer/customer')->load($customer_id);
54
-
55
-
56
- $basic_detail = array(
57
- 'entity_id' => $customerData->getEntityId(),
58
- 'name' => $customerData->getFirstname()." ".$customerData->getLastname(),
59
- 'email' => $customerData->getEmail(),
60
- );
61
-
62
- $billing_address = Mage::getModel('customer/address')->load($customerData->getDefaultBilling());
63
- $shipping_address = Mage::getModel('customer/address')->load($customerData->getDefaultShipping());
64
-
65
- $billing_country_name = null;
66
- $shipping_country_name = null;
67
-
68
- if($billing_address->getCountryId()){
69
- $billing_country_name = Mage::getModel('directory/country')->loadByCode($billing_address->getCountryId())->getName();
70
- }
71
- if($shipping_address->getCountryId()){
72
- $shipping_country_name = Mage::getModel('directory/country')->loadByCode($shipping_address->getCountryId())->getName();
73
- }
74
-
75
- $billing_address_detail = array(
76
- 'name' => $billing_address->getFirstname()." ".$billing_address->getLastname(),
77
- 'street' => $billing_address->getData('street'),
78
- 'city' => $billing_address->getCity(),
79
- 'region' => $billing_address->getRegion(),
80
- 'postcode' => $billing_address->getPostcode(),
81
- 'country' => $billing_country_name,
82
- 'telephone' => $billing_address->getTelephone()
83
- );
84
-
85
- $shipping_address_detail = array(
86
- 'name' => $shipping_address->getFirstname()." ".$shipping_address->getLastname(),
87
- 'street' => $shipping_address->getData('street'),
88
- 'city' => $shipping_address->getCity(),
89
- 'region' => $shipping_address->getRegion(),
90
- 'postcode' => $shipping_address->getPostcode(),
91
- 'country' => $shipping_country_name,
92
- 'telephone' => $shipping_address->getTelephone()
93
- );
94
-
95
- $customer_detail = array(
96
- 'basic_details' => $basic_detail,
97
- 'billing_address' => $billing_address_detail,
98
- 'shipping_address' => $shipping_address_detail
99
- );
100
- $order_detail = $this->_getCustomerOrderList($customer_id);
101
-
102
- $customerDetailResultArr = array('customerDetails' => $customer_detail,'customerOrderDetail' =>$order_detail);
103
- $customerDetailResult = Mage::helper('core')->jsonEncode($customerDetailResultArr);
104
- return Mage::app()->getResponse()->setBody($customerDetailResult);
105
- }else{
106
- $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
107
- return Mage::app()->getResponse()->setBody($isEnable);
108
- }
109
- }
110
-
111
- protected function _getCustomerOrderList($customer_id)
112
- {
113
- $orderCollection = Mage::getResourceModel('sales/order_grid_collection')->addFieldToFilter('customer_id',Array('eq'=>$customer_id))->setOrder('entity_id', 'desc');
114
- $limit = 5;
115
- $orderCollection->getSelect()->limit($limit);
116
-
117
- foreach($orderCollection as $order){
118
-
119
- $orderListData[] = array(
120
- 'entity_id' => $order->getEntityId(),
121
- 'increment_id' => $order->getIncrementId(),
122
- 'store_id' => $order->getStoreId(),
123
- 'customer_name' => $order->getBillingName(),
124
- 'status' => $order->getStatus(),
125
- 'order_date' => date('Y-m-d H:i:s', strtotime($order->getCreatedAt())),
126
- 'grand_total' => strip_tags(Mage::helper('core')->currency(Mage::helper('mobileassistant')->getPriceFormat($order->getGrandTotal()))),
127
- 'toal_qty' => Mage::getModel('sales/order')->load($order->getEntityId())->getTotalQtyOrdered()
128
- );
129
- }
130
- return $orderListData;
131
- }
132
-
133
-
134
- public function getFilterCustomerListAction()
135
- {
136
- if(Mage::helper('mobileassistant')->isEnable()){
137
- $post_data = Mage::app()->getRequest()->getParams();
138
- $sessionId = $post_data['session'];
139
- if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
140
- echo $this->__("The Login has expired. Please try log in again.");
141
- return false;
142
- }
143
- $search = $post_data['search_content'];
144
- $customers = Mage::getModel('customer/customer')->getCollection()->addAttributeToSelect('*')->setOrder('entity_id', 'desc');
145
-
146
- if($search != null)
147
- {
148
- $customers->addAttributeToFilter(array(
149
- array(
150
- 'attribute' => 'firstname',
151
- 'like' => '%'.$search.'%'
152
- ),
153
- array(
154
- 'attribute' => 'lastname',
155
- 'like' => '%'.$search.'%'
156
- ),
157
- array(
158
- 'attribute' => 'email',
159
- 'like' => '%'.$search.'%'
160
- )
161
- ));
162
- }
163
-
164
-
165
- foreach($customers as $customer){
166
- $customer_list[] = array(
167
- 'entity_id' => $customer->getEntityId(),
168
- 'customer_name' => $customer->getFirstname()." ".$customer->getLastname(),
169
- 'email_id' => $customer->getEmail()
170
- );
171
- }
172
- $customerListResultArr = array('customerlistdata' => $customer_list);
173
- $customerListResult = Mage::helper('core')->jsonEncode($customerListResultArr);
174
- return Mage::app()->getResponse()->setBody($customerListResult);
175
- }else{
176
- $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
177
- return Mage::app()->getResponse()->setBody($isEnable);
178
- }
179
- }
 
 
 
 
 
 
 
 
 
 
 
180
  }
1
+ <?php
2
+ class Biztech_Mobileassistant_CustomerController extends Mage_Core_Controller_Front_Action
3
+ {
4
+ public function getCustomerListAction()
5
+ {
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'];
16
+ $is_refresh = $post_data['is_refresh'];
17
+
18
+ $customers = Mage::getModel('customer/customer')->getCollection()->addAttributeToSelect('*')->setOrder('entity_id', 'desc');
19
+
20
+ if($offset != null){
21
+ $customers->addAttributeToFilter('entity_id', array('lt' => $offset));
22
+ }
23
+
24
+
25
+ if($is_refresh == 1){
26
+ $last_fetch_customer = $post_data['last_fetch_customer'];
27
+ $min_fetch_customer = $post_data['min_fetch_customer'];
28
+ $last_updated = $post_data['last_updated'];
29
+
30
+ $customers->getSelect()->where("(entity_id BETWEEN '".$min_fetch_customer."'AND '".$last_fetch_customer ."' AND updated_at > '".$last_updated."') OR entity_id >'".$last_fetch_customer."'");
31
+ }
32
+
33
+
34
+ $customers->getSelect()->limit($limit);
35
+ foreach($customers as $customer){
36
+ $website_name = Mage::app()->getWebsite($customer->getWebsiteId())->getName();
37
+ $customer_list[] = array(
38
+ 'entity_id' => $customer->getEntityId(),
39
+ 'customer_name' => $customer->getFirstname()." ".$customer->getLastname(),
40
+ 'email_id' => $customer->getEmail(),
41
+ 'website_name' => $website_name
42
+ );
43
+ }
44
+ $updated_time = date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));
45
+ $customerListResultArr = array('customerlistdata' => $customer_list,'updated_time' =>$updated_time);
46
+ $customerListResult = Mage::helper('core')->jsonEncode($customerListResultArr);
47
+ return Mage::app()->getResponse()->setBody($customerListResult);
48
+ }else{
49
+ $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
50
+ return Mage::app()->getResponse()->setBody($isEnable);
51
+ }
52
+ }
53
+
54
+ public function getCustomerDetailAction()
55
+ {
56
+ if(Mage::helper('mobileassistant')->isEnable()){
57
+ $post_data = Mage::app()->getRequest()->getParams();
58
+ $sessionId = $post_data['session'];
59
+ if (!Mage::getSingleton('api/session')->isLoggedIn($sessionId)) {
60
+ echo $this->__("The Login has expired. Please try log in again.");
61
+ return false;
62
+ }
63
+ $customer_id = $post_data['customer_id'];
64
+ $customerData = Mage::getModel('customer/customer')->load($customer_id);
65
+
66
+
67
+ $basic_detail = array(
68
+ 'entity_id' => $customerData->getEntityId(),
69
+ 'name' => $customerData->getFirstname()." ".$customerData->getLastname(),
70
+ 'email' => $customerData->getEmail(),
71
+ );
72
+
73
+ $billing_address = Mage::getModel('customer/address')->load($customerData->getDefaultBilling());
74
+ $shipping_address = Mage::getModel('customer/address')->load($customerData->getDefaultShipping());
75
+
76
+ $billing_country_name = null;
77
+ $shipping_country_name = null;
78
+
79
+ if($billing_address->getCountryId()){
80
+ $billing_country_name = Mage::getModel('directory/country')->loadByCode($billing_address->getCountryId())->getName();
81
+ }
82
+ if($shipping_address->getCountryId()){
83
+ $shipping_country_name = Mage::getModel('directory/country')->loadByCode($shipping_address->getCountryId())->getName();
84
+ }
85
+
86
+ $billing_address_detail = array(
87
+ 'name' => $billing_address->getFirstname()." ".$billing_address->getLastname(),
88
+ 'street' => $billing_address->getData('street'),
89
+ 'city' => $billing_address->getCity(),
90
+ 'region' => $billing_address->getRegion(),
91
+ 'postcode' => $billing_address->getPostcode(),
92
+ 'country' => $billing_country_name,
93
+ 'telephone' => $billing_address->getTelephone()
94
+ );
95
+
96
+ $shipping_address_detail = array(
97
+ 'name' => $shipping_address->getFirstname()." ".$shipping_address->getLastname(),
98
+ 'street' => $shipping_address->getData('street'),
99
+ 'city' => $shipping_address->getCity(),
100
+ 'region' => $shipping_address->getRegion(),
101
+ 'postcode' => $shipping_address->getPostcode(),
102
+ 'country' => $shipping_country_name,
103
+ 'telephone' => $shipping_address->getTelephone()
104
+ );
105
+
106
+ $customer_detail = array(
107
+ 'basic_details' => $basic_detail,
108
+ 'billing_address' => $billing_address_detail,
109
+ 'shipping_address' => $shipping_address_detail
110
+ );
111
+ $order_detail = $this->_getCustomerOrderList($customer_id);
112
+
113
+ $customerDetailResultArr = array('customerDetails' => $customer_detail,'customerOrderDetail' =>$order_detail);
114
+ $customerDetailResult = Mage::helper('core')->jsonEncode($customerDetailResultArr);
115
+ return Mage::app()->getResponse()->setBody($customerDetailResult);
116
+ }else{
117
+ $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
118
+ return Mage::app()->getResponse()->setBody($isEnable);
119
+ }
120
+ }
121
+
122
+ protected function _getCustomerOrderList($customer_id)
123
+ {
124
+ $orderCollection = Mage::getResourceModel('sales/order_grid_collection')->addFieldToFilter('customer_id',Array('eq'=>$customer_id))->setOrder('entity_id', 'desc');
125
+ $limit = 5;
126
+ $orderCollection->getSelect()->limit($limit);
127
+
128
+ foreach($orderCollection as $order){
129
+
130
+ $orderListData[] = array(
131
+ 'entity_id' => $order->getEntityId(),
132
+ 'increment_id' => $order->getIncrementId(),
133
+ 'store_id' => $order->getStoreId(),
134
+ 'customer_name' => $order->getBillingName(),
135
+ 'status' => $order->getStatus(),
136
+ 'order_date' => date('Y-m-d H:i:s', strtotime($order->getCreatedAt())),
137
+ 'grand_total' => strip_tags(Mage::helper('core')->currency(Mage::helper('mobileassistant')->getPriceFormat($order->getGrandTotal()))),
138
+ 'toal_qty' => Mage::getModel('sales/order')->load($order->getEntityId())->getTotalQtyOrdered()
139
+ );
140
+ }
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
+ }
154
+ $search = $post_data['search_content'];
155
+ $customers = Mage::getModel('customer/customer')->getCollection()->addAttributeToSelect('*')->setOrder('entity_id', 'desc');
156
+
157
+ if($search != null)
158
+ {
159
+ $customers->addAttributeToFilter(array(
160
+ array(
161
+ 'attribute' => 'firstname',
162
+ 'like' => '%'.$search.'%'
163
+ ),
164
+ array(
165
+ 'attribute' => 'lastname',
166
+ 'like' => '%'.$search.'%'
167
+ ),
168
+ array(
169
+ 'attribute' => 'email',
170
+ 'like' => '%'.$search.'%'
171
+ )
172
+ ));
173
+ }
174
+
175
+
176
+ foreach($customers as $customer){
177
+ $customer_list[] = array(
178
+ 'entity_id' => $customer->getEntityId(),
179
+ 'customer_name' => $customer->getFirstname()." ".$customer->getLastname(),
180
+ 'email_id' => $customer->getEmail()
181
+ );
182
+ }
183
+ $customerListResultArr = array('customerlistdata' => $customer_list);
184
+ $customerListResult = Mage::helper('core')->jsonEncode($customerListResultArr);
185
+ return Mage::app()->getResponse()->setBody($customerListResult);
186
+ }else{
187
+ $isEnable = Mage::helper('core')->jsonEncode(array('enable' => false));
188
+ return Mage::app()->getResponse()->setBody($isEnable);
189
+ }
190
+ }
191
  }
app/code/local/Biztech/Mobileassistant/controllers/DashboardController.php CHANGED
@@ -13,8 +13,10 @@
13
 
14
  $storeId = $post_data['storeid'];
15
  $type_id = $post_data['days_for_dashboard'];
 
16
  $now = Mage::getModel('core/date')->timestamp(time());
17
  $end_date = date('Y-m-d 23:59:59', $now);
 
18
  $orderCollection = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
19
  if($type_id == 7){
20
  $start_date = date('Y-m-d 00:00:00', strtotime('-6 days'));
@@ -22,25 +24,117 @@
22
  $start_date = date('Y-m-d 00:00:00', strtotime('-29 days'));
23
  }elseif($type_id == 90){
24
  $start_date = date('Y-m-d 00:00:00', strtotime('-89 days'));
25
- }
26
- $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
27
- $total_count = count($orderCollection);
28
- $dates = $this->getDatesFromRange($start_date, $end_date);
29
- foreach($dates as $date)
30
- {
31
- $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
32
- $dateStart = date('Y-m-d 00:00:00',strtotime($date));
33
- $dateEnd = date('Y-m-d 23:59:59',strtotime($date));
34
- $orderByDate = $orderCollectionByDate->addAttributeToFilter('created_at', array('from'=>$dateStart, 'to'=>$dateEnd));
35
- if(count($orderByDate) == 0)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  {
37
- $orderTotalByDate[$date] = 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  }
39
- else{
40
- foreach($orderByDate as $order){
41
- $ordersByDate[$date][] = $order->getGrandTotal();
42
- $orderTotalByDate[$date] = array_sum($ordersByDate[$date]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  }
 
 
44
  }
45
  }
46
 
@@ -66,4 +160,51 @@
66
  }
67
  return $dates;
68
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  }
13
 
14
  $storeId = $post_data['storeid'];
15
  $type_id = $post_data['days_for_dashboard'];
16
+
17
  $now = Mage::getModel('core/date')->timestamp(time());
18
  $end_date = date('Y-m-d 23:59:59', $now);
19
+ $start_date = '';
20
  $orderCollection = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
21
  if($type_id == 7){
22
  $start_date = date('Y-m-d 00:00:00', strtotime('-6 days'));
24
  $start_date = date('Y-m-d 00:00:00', strtotime('-29 days'));
25
  }elseif($type_id == 90){
26
  $start_date = date('Y-m-d 00:00:00', strtotime('-89 days'));
27
+ } else if ($type_id == 24){
28
+ $end_date = date("Y-m-d H:m:s");
29
+ $start_date = date("Y-m-d H:m:s", strtotime('-24 hours', time()));
30
+ $timezoneLocal = Mage::app()->getStore()->getConfig(Mage_Core_Model_Locale::XML_PATH_DEFAULT_TIMEZONE);
31
+
32
+ list ($dateStart, $dateEnd) = Mage::getResourceModel('reports/order_collection')
33
+ ->getDateRange('24h', '', '', true);
34
+
35
+ $dateStart->setTimezone($timezoneLocal);
36
+ $dateEnd->setTimezone($timezoneLocal);
37
+
38
+ $dates = array();
39
+
40
+ while($dateStart->compare($dateEnd) < 0){
41
+ $d = $dateStart->toString('yyyy-MM-dd HH:mm:ss');
42
+ $dateStart->addHour(1);
43
+ $dates[] = $d;
44
+ }
45
+
46
+ $start_date = $dates[0];
47
+ $end_date = $dates[count($dates)-1];
48
+
49
+ $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
50
+ $total_count = count($orderCollection);
51
+ }
52
+
53
+ if ($type_id!='year'){
54
+ if ($type_id=='month'){
55
+ $end_date = date("Y-m-d H:m:s");
56
+ $start_date = date('Y-m-01 H:m:s');
57
+ }
58
+
59
+ if ($type_id!=24){
60
+ $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
61
+ $total_count = count($orderCollection);
62
+ $dates = $this->getDatesFromRange($start_date, $end_date);
63
+ }
64
+ $count = 0;
65
+ foreach($dates as $date)
66
  {
67
+ $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
68
+
69
+ if ($type_id==24){
70
+ $dateStart = $dates[$count];
71
+ $dateEnd = $dates[$count+1];
72
+ }else{
73
+
74
+ $dateStart = date('Y-m-d 00:00:00',strtotime($date));
75
+ $dateEnd = date('Y-m-d 23:59:59',strtotime($date));
76
+ }
77
+ $orderByDate = $orderCollectionByDate->addAttributeToFilter('created_at', array('from'=>$dateStart, 'to'=>$dateEnd));
78
+ $orderByDate->getSelect()->columns('SUM(grand_total) AS grand_total_sum');
79
+ $orderByDate->getSelect()->group(array('store_id'));
80
+ $orderdata= $orderByDate->getData();
81
+ if(count($orderByDate) == 0)
82
+ {
83
+ if ($type_id==24){
84
+ $orderTotalByDate[date("Y-m-d H:i",strtotime($date))] = 0;
85
+ }else if ($type_id=='month'){
86
+ $orderTotalByDate[date('d',strtotime($date))] = 0;
87
+ }else{
88
+ $orderTotalByDate[$date] = 0;
89
+ }
90
+ }
91
+ else{
92
+ if ($type_id==24){
93
+ $ordersByDate[date("Y-m-d H:i",strtotime($date))][] = $orderdata[0]['grand_total_sum'];
94
+ $orderTotalByDate[date("Y-m-d H:i",strtotime($date))] = array_sum($ordersByDate[date("Y-m-d H:i",strtotime($date))]);
95
+ }else if ($type_id=='month'){
96
+ $ordersByDate[date('d',strtotime($date))][] = $orderdata[0]['grand_total_sum'];
97
+ $orderTotalByDate[date('d',strtotime($date))] = array_sum($ordersByDate[date('d',strtotime($date))]);
98
+ }else{
99
+ $ordersByDate[$date][] = $orderdata[0]['grand_total_sum'];
100
+ $orderTotalByDate[$date] = array_sum($ordersByDate[$date]);
101
+ }
102
+
103
+
104
+ }
105
+
106
+ $count++;
107
  }
108
+ }else{
109
+ $end_date = date ('Y-m-d');
110
+ $start_date = date ('Y-01-01');
111
+ $orderCollection->addAttributeToFilter('created_at', array('from'=>$start_date, 'to'=>$end_date));
112
+ $total_count = count($orderCollection);
113
+ $months = $this->get_months($start_date, $end_date);
114
+ $current_year = date("Y");
115
+ foreach ($months as $month){
116
+ $first_day = $this->firstDay($month,$current_year);
117
+ $ordersByDate = array();
118
+ if ($month==date('F'))
119
+ $last_day = date ('Y-m-d');
120
+ else
121
+ $last_day = $this->lastday($month,$current_year);
122
+
123
+ $dates = $this->getDatesFromRange($first_day, $last_day);
124
+
125
+ foreach($dates as $date)
126
+ {
127
+ $orderCollectionByDate = Mage::getModel('sales/order')->getCollection()->addFieldToFilter('store_id',Array('eq'=>$storeId))->addFieldToFilter('status',Array('eq'=>'complete'))->setOrder('entity_id', 'desc');
128
+ $dateStart = date('Y-m-d 00:00:00',strtotime($date));
129
+ $dateEnd = date('Y-m-d 23:59:59',strtotime($date));
130
+ $orderByDate = $orderCollectionByDate->addAttributeToFilter('created_at', array('from'=>$dateStart, 'to'=>$dateEnd));
131
+ $orderByDate->getSelect()->columns('SUM(grand_total) AS grand_total_sum');
132
+ $orderByDate->getSelect()->group(array('store_id'));
133
+ $orderdata= $orderByDate->getData();
134
+ $ordersByDate[] = $orderdata[0]['grand_total_sum'];
135
  }
136
+
137
+ $orderTotalByDate[$month] = array_sum($ordersByDate);
138
  }
139
  }
140
 
160
  }
161
  return $dates;
162
  }
163
+
164
+ function get_months($date1, $date2) {
165
+ $time1 = strtotime($date1);
166
+ $time2 = strtotime($date2);
167
+ $my = date('mY', $time2);
168
+ $months = array();
169
+ $f = '';
170
+
171
+ while($time1 < $time2) {
172
+ $time1 = strtotime((date('Y-m-d', $time1).' +15days'));
173
+
174
+ if(date('m', $time1) != $f) {
175
+ $f = date('m', $time1);
176
+
177
+ if(date('mY', $time1) != $my && ($time1 < $time2))
178
+ $months[] = date('m', $time1);
179
+ }
180
+
181
+ }
182
+
183
+ $months[] = date('m', $time2);
184
+ return $months;
185
+ }
186
+
187
+ function lastday($month = '', $year = '') {
188
+ if (empty($month)) {
189
+ $month = date('m');
190
+ }
191
+ if (empty($year)) {
192
+ $year = date('Y');
193
+ }
194
+ $result = strtotime("{$year}-{$month}-01");
195
+ $result = strtotime('-1 day', strtotime('+1 month', $result));
196
+ return date('Y-m-d', $result);
197
+ }
198
+
199
+ function firstDay($month = '', $year = '')
200
+ {
201
+ if (empty($month)) {
202
+ $month = date('m');
203
+ }
204
+ if (empty($year)) {
205
+ $year = date('Y');
206
+ }
207
+ $result = strtotime("{$year}-{$month}-01");
208
+ return date('Y-m-d', $result);
209
+ }
210
  }
app/code/local/Biztech/Mobileassistant/controllers/ProductController.php CHANGED
@@ -15,13 +15,21 @@
15
  $limit = $post_data['limit'];
16
  $offset = $post_data['offset'];
17
  $new_products = $post_data['last_fetch_product'];
 
 
18
  $products = Mage::getModel('catalog/product')->getCollection()->addStoreFilter($storeId)->setOrder('entity_id', 'desc');
19
  if($offset != null){
20
  $products->addAttributeToFilter('entity_id', array('lt' => $offset));
21
  }
22
- if($new_products != null){
23
- $products->addAttributeToFilter('entity_id', array('gt' => $new_products));
 
 
 
 
 
24
  }
 
25
  $products->getSelect()->limit($limit);
26
 
27
  foreach($products as $product)
@@ -41,8 +49,8 @@
41
  'type' => $product->getTypeId()
42
  );
43
  }
44
-
45
- $productResultArr = array('productlistdata' => $product_list);
46
  $productListResult = Mage::helper('core')->jsonEncode($productResultArr);
47
  return Mage::app()->getResponse()->setBody($productListResult);
48
  }else{
15
  $limit = $post_data['limit'];
16
  $offset = $post_data['offset'];
17
  $new_products = $post_data['last_fetch_product'];
18
+ $is_refresh = $post_data['is_refresh'];
19
+
20
  $products = Mage::getModel('catalog/product')->getCollection()->addStoreFilter($storeId)->setOrder('entity_id', 'desc');
21
  if($offset != null){
22
  $products->addAttributeToFilter('entity_id', array('lt' => $offset));
23
  }
24
+
25
+
26
+ if($is_refresh == 1){
27
+ $last_fetch_product = $post_data['last_fetch_product'];
28
+ $min_fetch_product = $post_data['min_fetch_product'];
29
+ $last_updated = $post_data['last_updated'];
30
+ $products->getSelect()->where("(entity_id BETWEEN '".$min_fetch_product."'AND '".$last_fetch_product ."' AND updated_at > '".$last_updated."') OR entity_id >'".$last_fetch_product."'");
31
  }
32
+
33
  $products->getSelect()->limit($limit);
34
 
35
  foreach($products as $product)
49
  'type' => $product->getTypeId()
50
  );
51
  }
52
+ $updated_time = date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));
53
+ $productResultArr = array('productlistdata' => $product_list,'updated_time' =>$updated_time);
54
  $productListResult = Mage::helper('core')->jsonEncode($productResultArr);
55
  return Mage::app()->getResponse()->setBody($productListResult);
56
  }else{
app/code/local/Biztech/Mobileassistant/etc/config.xml CHANGED
@@ -1,136 +1,152 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @category Biztech
5
- * @package Biztech_Mobileassistant
6
- * @author ModuleCreator
7
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
- */
9
- -->
10
- <config>
11
- <modules>
12
- <Biztech_Mobileassistant>
13
- <version>0.1.3</version>
14
- </Biztech_Mobileassistant>
15
- </modules>
16
- <frontend>
17
- <routers>
18
- <mobileassistant>
19
- <use>standard</use>
20
- <args>
21
- <module>Biztech_Mobileassistant</module>
22
- <frontName>mobileassistant</frontName>
23
- </args>
24
- </mobileassistant>
25
- </routers>
26
- <layout>
27
- <updates>
28
- <mobileassistant>
29
- <file>mobileassistant.xml</file>
30
- </mobileassistant>
31
- </updates>
32
- </layout>
33
- </frontend>
34
- <admin>
35
- <routers>
36
- <mobileassistant>
37
- <use>admin</use>
38
- <args>
39
- <module>Biztech_Mobileassistant</module>
40
- <frontName>mobileassistant</frontName>
41
- </args>
42
- </mobileassistant>
43
- </routers>
44
- </admin>
45
- <adminhtml>
46
- <acl>
47
- <resources>
48
- <all>
49
- <title>Allow Everything</title>
50
- </all>
51
- <admin>
52
- <children>
53
- <Biztech_Mobileassistant>
54
- <title>Mobileassistant Module</title>
55
- <sort_order>10</sort_order>
56
- </Biztech_Mobileassistant>
57
- <system>
58
- <children>
59
- <config>
60
- <children>
61
- <mobileassistant>
62
- <title>Mobileassistant</title>
63
- </mobileassistant>
64
- </children>
65
- </config>
66
- </children>
67
- </system>
68
- </children>
69
- </admin>
70
- </resources>
71
- </acl>
72
- <layout>
73
- <updates>
74
- <mobileassistant>
75
- <file>mobileassistant.xml</file>
76
- </mobileassistant>
77
- </updates>
78
- </layout>
79
- </adminhtml>
80
- <global>
81
- <models>
82
- <mobileassistant>
83
- <class>Biztech_Mobileassistant_Model</class>
84
- <resourceModel>mobileassistant_mysql4</resourceModel>
85
- </mobileassistant>
86
- <mobileassistant_mysql4>
87
- <class>Biztech_Mobileassistant_Model_Mysql4</class>
88
- <entities>
89
- <mobileassistant>
90
- <table>mobileassistant</table>
91
- </mobileassistant>
92
- </entities>
93
- </mobileassistant_mysql4>
94
- </models>
95
- <resources>
96
- <mobileassistant_setup>
97
- <setup>
98
- <module>Biztech_Mobileassistant</module>
99
- </setup>
100
- <connection>
101
- <use>core_setup</use>
102
- </connection>
103
- </mobileassistant_setup>
104
- <mobileassistant_write>
105
- <connection>
106
- <use>core_write</use>
107
- </connection>
108
- </mobileassistant_write>
109
- <mobileassistant_read>
110
- <connection>
111
- <use>core_read</use>
112
- </connection>
113
- </mobileassistant_read>
114
- </resources>
115
- <blocks>
116
- <mobileassistant>
117
- <class>Biztech_Mobileassistant_Block</class>
118
- </mobileassistant>
119
- </blocks>
120
- <helpers>
121
- <mobileassistant>
122
- <class>Biztech_Mobileassistant_Helper</class>
123
- </mobileassistant>
124
- </helpers>
125
- <events>
126
- <sales_order_save_after>
127
- <observers>
128
- <mobileassistant>
129
- <class>mobileassistant/observer</class>
130
- <method>sales_order_save_after</method>
131
- </mobileassistant>
132
- </observers>
133
- </sales_order_save_after>
134
- </events>
135
- </global>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Biztech
5
+ * @package Biztech_Mobileassistant
6
+ * @author ModuleCreator
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ -->
10
+ <config>
11
+ <modules>
12
+ <Biztech_Mobileassistant>
13
+ <version>0.1.4</version>
14
+ </Biztech_Mobileassistant>
15
+ </modules>
16
+ <frontend>
17
+ <routers>
18
+ <mobileassistant>
19
+ <use>standard</use>
20
+ <args>
21
+ <module>Biztech_Mobileassistant</module>
22
+ <frontName>mobileassistant</frontName>
23
+ </args>
24
+ </mobileassistant>
25
+ </routers>
26
+ <layout>
27
+ <updates>
28
+ <mobileassistant>
29
+ <file>mobileassistant.xml</file>
30
+ </mobileassistant>
31
+ </updates>
32
+ </layout>
33
+ </frontend>
34
+ <admin>
35
+ <routers>
36
+ <mobileassistant>
37
+ <use>admin</use>
38
+ <args>
39
+ <module>Biztech_Mobileassistant</module>
40
+ <frontName>mobileassistant</frontName>
41
+ </args>
42
+ </mobileassistant>
43
+ </routers>
44
+ </admin>
45
+ <adminhtml>
46
+ <acl>
47
+ <resources>
48
+ <all>
49
+ <title>Allow Everything</title>
50
+ </all>
51
+ <admin>
52
+ <children>
53
+ <Biztech_Mobileassistant>
54
+ <title>Mobileassistant Module</title>
55
+ <sort_order>10</sort_order>
56
+ </Biztech_Mobileassistant>
57
+ <system>
58
+ <children>
59
+ <config>
60
+ <children>
61
+ <mobileassistant>
62
+ <title>Mobileassistant</title>
63
+ </mobileassistant>
64
+ </children>
65
+ </config>
66
+ </children>
67
+ </system>
68
+ </children>
69
+ </admin>
70
+ </resources>
71
+ </acl>
72
+ <layout>
73
+ <updates>
74
+ <mobileassistant>
75
+ <file>mobileassistant.xml</file>
76
+ </mobileassistant>
77
+ </updates>
78
+ </layout>
79
+ </adminhtml>
80
+ <global>
81
+ <models>
82
+ <mobileassistant>
83
+ <class>Biztech_Mobileassistant_Model</class>
84
+ <resourceModel>mobileassistant_mysql4</resourceModel>
85
+ </mobileassistant>
86
+ <mobileassistant_mysql4>
87
+ <class>Biztech_Mobileassistant_Model_Mysql4</class>
88
+ <entities>
89
+ <mobileassistant>
90
+ <table>mobileassistant</table>
91
+ </mobileassistant>
92
+ </entities>
93
+ </mobileassistant_mysql4>
94
+ </models>
95
+ <resources>
96
+ <mobileassistant_setup>
97
+ <setup>
98
+ <module>Biztech_Mobileassistant</module>
99
+ </setup>
100
+ <connection>
101
+ <use>core_setup</use>
102
+ </connection>
103
+ </mobileassistant_setup>
104
+ <mobileassistant_write>
105
+ <connection>
106
+ <use>core_write</use>
107
+ </connection>
108
+ </mobileassistant_write>
109
+ <mobileassistant_read>
110
+ <connection>
111
+ <use>core_read</use>
112
+ </connection>
113
+ </mobileassistant_read>
114
+ </resources>
115
+ <blocks>
116
+ <mobileassistant>
117
+ <class>Biztech_Mobileassistant_Block</class>
118
+ </mobileassistant>
119
+ </blocks>
120
+ <helpers>
121
+ <mobileassistant>
122
+ <class>Biztech_Mobileassistant_Helper</class>
123
+ </mobileassistant>
124
+ </helpers>
125
+ <events>
126
+ <sales_order_save_after>
127
+ <observers>
128
+ <mobileassistant>
129
+ <class>mobileassistant/observer</class>
130
+ <method>sales_order_save_after</method>
131
+ </mobileassistant>
132
+ </observers>
133
+ </sales_order_save_after>
134
+ <customer_register_success>
135
+ <observers>
136
+ <mobileassistant_customer_notification_checkout>
137
+ <class>mobileassistant/observer</class>
138
+ <method>customerRegisterNotification</method>
139
+ </mobileassistant_customer_notification_checkout>
140
+ </observers>
141
+ </customer_register_success>
142
+ <customer_register_checkout>
143
+ <observers>
144
+ <customer_register_checkout>
145
+ <class>mobileassistant/observer</class>
146
+ <method>customerRegisterNotificationCheckout</method>
147
+ </customer_register_checkout>
148
+ </observers>
149
+ </customer_register_checkout>
150
+ </events>
151
+ </global>
152
  </config>
app/code/local/Biztech/Mobileassistant/etc/system.xml CHANGED
@@ -43,7 +43,15 @@
43
  <show_in_store>1</show_in_store>
44
  <comment>Enter your message which will be received on the Mobile app whenever a New Order is received.</comment>
45
  </notification_msg>
46
-
 
 
 
 
 
 
 
 
47
  </fields>
48
  </mobileassistant_general>
49
  </groups>
43
  <show_in_store>1</show_in_store>
44
  <comment>Enter your message which will be received on the Mobile app whenever a New Order is received.</comment>
45
  </notification_msg>
46
+ <customer_register_notification_msg translate="label">
47
+ <label>New Customer Register Notification Message</label>
48
+ <frontend_type>text</frontend_type>
49
+ <sort_order>3</sort_order>
50
+ <show_in_default>1</show_in_default>
51
+ <show_in_website>1</show_in_website>
52
+ <show_in_store>1</show_in_store>
53
+ <comment>Enter your message which will be received on the Mobile app whenever a New Customer is registered.</comment>
54
+ </customer_register_notification_msg>
55
  </fields>
56
  </mobileassistant_general>
57
  </groups>
lib/mobileassistant/ck.pem DELETED
@@ -1,67 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIFpDCCBIygAwIBAgIIFAXOpSJLa9YwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
3
- BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
4
- ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
5
- aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
6
- HhcNMTMxMDMwMDgwODMwWhcNMTQxMDMwMDgwODMwWjCBozEwMC4GCgmSJomT8ixk
7
- AQEMIGNvbS5iaXp0ZWNoLm1hZ2VudG9Nb2JpbGVNYW5hZ2VyMU0wSwYDVQQDDERB
8
- cHBsZSBQcm9kdWN0aW9uIElPUyBQdXNoIFNlcnZpY2VzOiBjb20uYml6dGVjaC5t
9
- YWdlbnRvTW9iaWxlTWFuYWdlcjETMBEGA1UECwwKOTRCOUUyVzkyVDELMAkGA1UE
10
- BhMCSU4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDP8rVrm1F3TFHt
11
- FoBpVIqkrjcxd8Mp48tPDlos81WjcIpC4EJKgAiuaUuO4VG8EJrJexoibdcGZGDZ
12
- UA4elRyQuA+6oaq8GEPzylmCcNCufxO9ViJBpDsHLc3qR/dFgAwhV15gBF7s79TX
13
- +wZWcEIbchvPJwC3v/qNezfnOA4v5KXBWyN21/RzyUjyoRnZkgnEi81gK0H9/VVv
14
- gwJaKeEkUJIY88zWxjRzEC/lBUveKGtWm2z1qmvcxxU/7/D++6dCiZw5mXG2g+Vy
15
- DCpPm63o5A5Ch19aSU76KThiUw/sI6X0eKRo9xN0MX3WBtSF6MRk3D9oy/6npF2I
16
- 9aFRF31jAgMBAAGjggHlMIIB4TAdBgNVHQ4EFgQU8ZMSrvwBd4teAMnLRIt7GgGm
17
- D9AwCQYDVR0TBAIwADAfBgNVHSMEGDAWgBSIJxcJqbYYYIvs67r2R1nFUlSjtzCC
18
- AQ8GA1UdIASCAQYwggECMIH/BgkqhkiG92NkBQEwgfEwgcMGCCsGAQUFBwICMIG2
19
- DIGzUmVsaWFuY2Ugb24gdGhpcyBjZXJ0aWZpY2F0ZSBieSBhbnkgcGFydHkgYXNz
20
- dW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3RhbmRhcmQg
21
- dGVybXMgYW5kIGNvbmRpdGlvbnMgb2YgdXNlLCBjZXJ0aWZpY2F0ZSBwb2xpY3kg
22
- YW5kIGNlcnRpZmljYXRpb24gcHJhY3RpY2Ugc3RhdGVtZW50cy4wKQYIKwYBBQUH
23
- AgEWHWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2EvME0GA1UdHwRGMEQwQqBA
24
- oD6GPGh0dHA6Ly9kZXZlbG9wZXIuYXBwbGUuY29tL2NlcnRpZmljYXRpb25hdXRo
25
- b3JpdHkvd3dkcmNhLmNybDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUH
26
- AwIwEAYKKoZIhvdjZAYDAgQCBQAwDQYJKoZIhvcNAQEFBQADggEBAB92+EI7oZQF
27
- J2dEN2mT/TIxoNXc9YDxid9DJt7sUExaopD9r6yeixwOiww22bbzcd4OYPcdUxF6
28
- 50HVSW6kB3GfUvMO0+M8e1sn0iZx9rk++slf6ziSuIBml26EYUCMrEBSroDRcqAk
29
- nl/9cLmMKduZFwEvch79dVzZQRDLnOWVjSxVERh42aCGWmp1q3gwDZfN+bhHxFHe
30
- aOM8y51zax+WgQHLh+IVv/ynsniJirn7Sww8QfXhS/LY/oiqVAH4K9QsAEOXjuz2
31
- ekt6vLCyeDzsOnOEpt24w+5TngVnT0v2YT5UzK8KNMPBhv5x2Q89WudvUXixa4/M
32
- 9nIhFrhFTSk=
33
- -----END CERTIFICATE-----
34
- Bag Attributes
35
- friendlyName: biztech
36
- localKeyID: F1 93 12 AE FC 01 77 8B 5E 00 C9 CB 44 8B 7B 1A 01 A6 0F D0
37
- Key Attributes: <No Attributes>
38
- -----BEGIN RSA PRIVATE KEY-----
39
- Proc-Type: 4,ENCRYPTED
40
- DEK-Info: DES-EDE3-CBC,DCF3C93833A1654E
41
-
42
- KDxFfi1T60Y7glxyJNUu53Lzzy07++yVGcvwxuM05QBYplv9HoqGEWOhNhkAMjMt
43
- SQGX/xqi/U8uxxGkTi6CAnySHmXQk/tK8VLar1YXLnjwBxtWNh2R/O2vXI/ueQW4
44
- GoN77Yz1yZ3zEcSokJkKVIlPj/OI7OL1ERqiFZxKnEpZ5Mw8tVAsUMfwd/I7qEtg
45
- RiSM3SKz6xPAOUAHp9OXTB6xOjNGMCbCURccehC1tuzk2qjkDbzMNgHdBnpb/ghD
46
- j2ergBJsm20ktJumNXzNeaKYbXhFevkW4AAu52NExZrieGKMNJp2xErs9bQM8zqD
47
- Tvng+rD8QtAzrfNlN5winShwUHedw7L+YYF3ovrDwwlTsNGvCE0aqWQ/kNvwwitg
48
- 9RixWnSZX9f+9VzNQYeJqmJkYaefqSNnL/u+jlnzj/DdyPWG1Uxdz1dsCJQhNmJH
49
- TL/JBvJDYtBMImXDV85Y/ENjCUS4Xqot9HeHpyAjDdM83RBJOjPGVyj5+H8O2PBb
50
- PDFxHp1BoltpfwQXhsTJn40Cc5fxTLNa3C78EmhabCHeSLQzPREX1vQcmkhERsdF
51
- LQ+r8FmODBWDGkmtCUyW98lnMzwpcBSt24Ywkmqu2FJ6f10I7DwfTY+LuWczaIDt
52
- jgmyeSLKYeMXKa15vl7wbxmgiHYgYIdIu+TXlWb1/cPnev0RVDsEYp9ux/xP0Z1T
53
- tUANPHVrc/Olpm/DMrYGctiqosqlSbq4Hg2ukoslOEQDX1IfWDJV5TlYBoP1p2l3
54
- fXVnO9BoZLVWE7P3JDIQvPG1ZJxpUMmneYFLgYbl7K1eygYXIp1mT/Mapk6qCmCm
55
- iYT1U2X0toyRzsTFbTNceVePvJzBHdu4rKPnaltMRmbW64dvrhamoFFlsqHUMES7
56
- zd3PsIKBgJl0dbegCRvcDUuIeDFLJinEoCEoUIaDVzIATg5pBNSh9YuZnFN1gb6O
57
- 8+VeabgYUaT2aFhCytItcd4XsckQNIa/YEzhqcKb/z3VGG9FzubNreuahP4Y2SYE
58
- B271ZsvCJ/a/EvwympA4NC/x6ekm0rViXMJnO9oWdAqtq5UQ2qCkrUXte39X0H6H
59
- eNz/vbzshmjVCKDcCVyrKOf1/K/sALowTG/CTiIn59dyqNLAIBxuLNNxUkXPc+W+
60
- 7AGpXZ8ZVc0Sm5B3gTV04gF1GuGTKAKLIFTVlPc0mKbZuhomIRdPt+yil7lMtX0/
61
- ki++6M/yJcw8FQRUrrJBsSPRt+JDSAPQyFWtsPDV7585IRUzlpR8K8JdyJFzYIbl
62
- FajrRGafRFmigSvsXIumPBLD2E4S06Jum7cQ8hq5uP/L2ZEIFsLIeVF0yzyawd21
63
- w1cNzwTUPPlvqMI5QpMs380tQWTEaBU0jnW1QuoGFpSkUDOo0TTSQh6Gdqh9Bw/g
64
- 1HUvdrG8dDFD29SOtqB/77wvx331REKTT/KVbzyIsmu1vtIJ27ZPiC75qRRe9sWy
65
- 9myFRJ9Gg36+8nhwvz5okg47Qjn1qNZt97V7ALv5Z5bPo7gAyj6XVzPNIQP68vs3
66
- qSE3Mkan/wH53u0ySTrso+yt38DyUSwJryTPMkfDNf2i0oig1Zpnywo/lC6Ym6XW
67
- -----END RSA PRIVATE KEY-----
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lib/mobileassistant/magentoPushDst.pem ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ MIIFpDCCBIygAwIBAgIIPEeH22/5WAAwDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV
8
+ BAYTAlVTMRMwEQYDVQQKDApBcHBsZSBJbmMuMSwwKgYDVQQLDCNBcHBsZSBXb3Js
9
+ ZHdpZGUgRGV2ZWxvcGVyIFJlbGF0aW9uczFEMEIGA1UEAww7QXBwbGUgV29ybGR3
10
+ aWRlIERldmVsb3BlciBSZWxhdGlvbnMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkw
11
+ HhcNMTQwNDIxMDk0OTIwWhcNMTUwNDIxMDk0OTIwWjCBozEwMC4GCgmSJomT8ixk
12
+ AQEMIGNvbS5iaXp0ZWNoLm1hZ2VudG9Nb2JpbGVNYW5hZ2VyMU0wSwYDVQQDDERB
13
+ cHBsZSBQcm9kdWN0aW9uIElPUyBQdXNoIFNlcnZpY2VzOiBjb20uYml6dGVjaC5t
14
+ YWdlbnRvTW9iaWxlTWFuYWdlcjETMBEGA1UECwwKOTRCOUUyVzkyVDELMAkGA1UE
15
+ BhMCSU4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCc8CiS9jIG+upM
16
+ re6z85zbKllCkjnEpTagJHamrpKwe/rEZjqWeQ3/9uDJVv2ht2u/lziuff7aOQqQ
17
+ 9WM5tqbH7IdkGYXmpzgKfCxuVxyLQ5RrAcg/YLs8vwrB2ptlKjVh3Qs9GnsRDVGt
18
+ OfjhYZ6hpCbi2/JM+fjhXsRzEqby7mAmo+c4op8egtTaZhw2/tT01aOBupbua6VN
19
+ 4nLG2cZChUKcb5obzPWxVm5k3ehSGRPV9gWk4T+FdEHBL7ne1zR1O7Tt4wSkkfad
20
+ cYBaG4VVBsYQUfeClOMHbbdRhOPR02d6gJl9IRw7dmlJAeQCN2Toej8g2tjMUgen
21
+ 3PbdBRgfAgMBAAGjggHlMIIB4TAdBgNVHQ4EFgQUSwzWSOoMqvuGwjuEkCfh1wEz
22
+ D8gwCQYDVR0TBAIwADAfBgNVHSMEGDAWgBSIJxcJqbYYYIvs67r2R1nFUlSjtzCC
23
+ AQ8GA1UdIASCAQYwggECMIH/BgkqhkiG92NkBQEwgfEwgcMGCCsGAQUFBwICMIG2
24
+ DIGzUmVsaWFuY2Ugb24gdGhpcyBjZXJ0aWZpY2F0ZSBieSBhbnkgcGFydHkgYXNz
25
+ dW1lcyBhY2NlcHRhbmNlIG9mIHRoZSB0aGVuIGFwcGxpY2FibGUgc3RhbmRhcmQg
26
+ dGVybXMgYW5kIGNvbmRpdGlvbnMgb2YgdXNlLCBjZXJ0aWZpY2F0ZSBwb2xpY3kg
27
+ YW5kIGNlcnRpZmljYXRpb24gcHJhY3RpY2Ugc3RhdGVtZW50cy4wKQYIKwYBBQUH
28
+ AgEWHWh0dHA6Ly93d3cuYXBwbGUuY29tL2FwcGxlY2EvME0GA1UdHwRGMEQwQqBA
29
+ oD6GPGh0dHA6Ly9kZXZlbG9wZXIuYXBwbGUuY29tL2NlcnRpZmljYXRpb25hdXRo
30
+ b3JpdHkvd3dkcmNhLmNybDALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUH
31
+ AwIwEAYKKoZIhvdjZAYDAgQCBQAwDQYJKoZIhvcNAQEFBQADggEBACK/NarzSdwm
32
+ m3pJt1R3JsVsH3Psr+stOGSEuaGOoiGf9Rp8VxgHPJMPbSMcRw6C23wak/yCrXRU
33
+ 0I/4u2baQl2dMq+WQGBLLPkdrGwMIOLwDN8BOak5d7kGiOkZp5qfCkGl3zKBI3wf
34
+ 4TUc+6xh09HZY5cd/rc3mAQkhQaNiZjkGTddXdQZ+fYqWyMPk+4qQ0/TOC9dz3sx
35
+ Oyni58v5yDR40hcu0NDYYbHEEUsh/NNIBtUoNO9KjZbO4RyIw5VaIEOrKqiQ8BB0
36
+ 2kiQXqmL/gcZp/lieIQX+YNEKrFita+3JwZqjrGPvsTCg7JA7ZjJsEdZCMlT9wKX
37
+ qe7zoMyJqh0=
38
+ -----END CERTIFICATE-----
39
+ Bag Attributes
40
+ friendlyName: MMMDst
41
+ localKeyID: 4B 0C D6 48 EA 0C AA FB 86 C2 3B 84 90 27 E1 D7 01 33 0F C8
42
+ Key Attributes: <No Attributes>
43
+ -----BEGIN RSA PRIVATE KEY-----
44
+ MIIEpAIBAAKCAQEAnPAokvYyBvrqTK3us/Oc2ypZQpI5xKU2oCR2pq6SsHv6xGY6
45
+ lnkN//bgyVb9obdrv5c4rn3+2jkKkPVjObamx+yHZBmF5qc4Cnwsblcci0OUawHI
46
+ P2C7PL8KwdqbZSo1Yd0LPRp7EQ1RrTn44WGeoaQm4tvyTPn44V7EcxKm8u5gJqPn
47
+ OKKfHoLU2mYcNv7U9NWjgbqW7mulTeJyxtnGQoVCnG+aG8z1sVZuZN3oUhkT1fYF
48
+ pOE/hXRBwS+53tc0dTu07eMEpJH2nXGAWhuFVQbGEFH3gpTjB223UYTj0dNneoCZ
49
+ fSEcO3ZpSQHkAjdk6Ho/INrYzFIHp9z23QUYHwIDAQABAoIBAQCCXCL34DUyAx64
50
+ TwomxEcY7hZy68+8fpffcip0zjHfEzz8AwbLkwaEBeg2lmHcAOYpoU1d9B7L2fHi
51
+ 81JW0Fe9XcYg6eqF64TrgLXPeeCl9Z7FPBfAPXOKRA6FdDb8U5FAF0KMoQB066Fa
52
+ yPrpDBOepSH/8z9TnZiUbAm2pFm1E+vvi/XSZuYx9wgef2UYuFmgDaNtq6PSD/mN
53
+ YCX7L43hDFpDZXPQ02l5BpOOMwAaVh1HR8Fdb2JRjlhvDuf97ibdWHSsex5Wvms2
54
+ HfPtTuFtfTV6o9X+7pzmPIg9H1ItHbZxLfNfgvjpdVHi1Um982qGEnZupXPcFyC/
55
+ Qk0wu34BAoGBAM9PTBslj1n/NHhRqJFasYuwJNwQw6v3PJDDCwptq2MjpSts8AQ/
56
+ lBsZtt8AzXwaA84sN4b+MDxGkgdRZwlrEiIZ0hATVB6MOTvUaVxl8AEN0CWJhLcw
57
+ UU9lfX60KeWLSHw0FPircdXSLXQ15DI/D0FU58DhG/86tyy4KVqz4gWBAoGBAMHM
58
+ N5PztwfL3emdQWLoIHgFB73vlOY3o3/jC3V//T1zMRwzHudYdXzeEWXamF+XTN43
59
+ 2gyF3SIz/691eikNFU2+bKJ9FyETYvGiRHvlVY3x6iiEWaiONbbXdON7ABYAuBDp
60
+ FNgHtNwXybLe68mntP0rBPrwF+yRxQFfoL22rC2fAoGAcAxuGCYe6wey9m08bQPV
61
+ /qg/4+nzuJiy1ZN1/jb0cWsstOH2gHVUuakWXEX0ymTNNbxUbtQogguqleX7iO2k
62
+ KWZHUYUA7Fnh/WJ7aAN4yzkKDZ/caZ7l88HpKHh8RKMZlHgZ9aXEq0skYjFWm4nV
63
+ 1vvrHycMmNDFfJg1Ud70BQECgYBUL1cxURyAKYJDukkuIvH/0QeU7Z88Bo1iv4k5
64
+ yJiEeiaqPla9XoLi9ECQg03PsJT2r0JsUDZIZlg6qwifDozjkcX1K+vBNX+0wa2I
65
+ OI5as+zpHt0nyGby/1NKgiL+a9+JkQa59VcOiNLYfdflaJHJrEdkjqmF3ai7uQPF
66
+ hbXztwKBgQCIQo5tlpgCeZm15C+BJtjz/G98sAFF1YSl82ZMp1uv1fFUqdZoVbkO
67
+ rvXlLLjMpoG6i27jIgfuCpTb91UWqTdBpnSf9w9SEeOl4Y+07hpjuwDJP3ZL0Ute
68
+ lSizjx1cSfpNL9ZiF6g2u0NXHxpV3z3+HWDUOIX+SA+SarjzATT/qw==
69
+ -----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.3</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>-Fix url testing issue.</notes>
29
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
30
- <date>2014-01-16</date>
31
- <time>08:51:26</time>
32
- <contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="14d6d04686f97fab6371920fdf3baf7e"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Mobileassistant"><dir name="Helper"><file name="Data.php" hash="0d39e75ee4898ac28bb62a35f71066a2"/></dir><dir name="Model"><dir name="Mobileassistant"><file name="Api.php" hash="ef403d19cf7ca3245192539de4b21632"/></dir><file name="Mobileassistant.php" hash="3f221d0fa184e94ec3004bb0256abbf3"/><dir name="Mysql4"><dir name="Mobileassistant"><file name="Collection.php" hash="373ce57310145f3d007952e8c7beffbf"/></dir><file name="Mobileassistant.php" hash="3ef12554d281a2fa7ef47943763be76d"/></dir><file name="Observer.php" hash="ce6676f3e7a08c04ff12a1e16ed5c084"/></dir><dir name="controllers"><file name="CustomerController.php" hash="682df3bf1d1dae6d69e6eea342d1e190"/><file name="DashboardController.php" hash="26cd8aab550a8606d3c1d28df9ba6938"/><file name="IndexController.php" hash="2f2c8bf469ee50e1313e3d8e495f6f08"/><file name="OrderController.php" hash="553fb25c4796f7507b511b6f8b89f133"/><file name="ProductController.php" hash="4f4d66aa9d2cd3db10a40ddb4577f61c"/></dir><dir name="etc"><file name="api.xml" hash="f7d93508ce53982484f0d1f9ab3a17cd"/><file name="config.xml" hash="cb53e2b5e877d5f635d48118c6ed688a"/><file name="system.xml" hash="07f2f1fd8f022e001fadc28f2a29e32f"/></dir><dir name="sql"><dir name="mobileassistant_setup"><file name="mysql4-install-0.1.0.php" hash="c25eff9c480cc82b6edfaef1e87e27a7"/></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="ck.pem" hash="100e9fb152a99cf2d2499e781d4a4b92"/></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.1.4</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>-Enhancements : Create customer notification,sales order graph enhancement</notes>
29
  <authors><author><name>Biztech</name><user>biztechcon</user><email>sales@biztechconsultancy.com</email></author></authors>
30
+ <date>2014-04-28</date>
31
+ <time>09:25:17</time>
32
+ <contents><target name="mageetc"><dir name="modules"><file name="Biztech_Mobileassistant.xml" hash="14d6d04686f97fab6371920fdf3baf7e"/></dir></target><target name="magelocal"><dir name="Biztech"><dir name="Mobileassistant"><dir name="Helper"><file name="Data.php" hash="30fb03678f0002999f42d7bede494028"/></dir><dir name="Model"><dir name="Mobileassistant"><file name="Api.php" hash="ef403d19cf7ca3245192539de4b21632"/></dir><file name="Mobileassistant.php" hash="3f221d0fa184e94ec3004bb0256abbf3"/><dir name="Mysql4"><dir name="Mobileassistant"><file name="Collection.php" hash="373ce57310145f3d007952e8c7beffbf"/></dir><file name="Mobileassistant.php" hash="3ef12554d281a2fa7ef47943763be76d"/></dir><file name="Observer.php" hash="a2c62e8cb6f419ee3d95f329198c9764"/></dir><dir name="controllers"><file name="CustomerController.php" hash="6cf059f33f1e9e83c71bed7c908ec5a8"/><file name="DashboardController.php" hash="54bd48f6fe2c6ce6182543db3c2d29d1"/><file name="IndexController.php" hash="2f2c8bf469ee50e1313e3d8e495f6f08"/><file name="OrderController.php" hash="553fb25c4796f7507b511b6f8b89f133"/><file name="ProductController.php" hash="d28477a89fe9d2e6411ef9150e9475c6"/></dir><dir name="etc"><file name="api.xml" hash="f7d93508ce53982484f0d1f9ab3a17cd"/><file name="config.xml" hash="ec55e3aeff0c233337c77917b15c6af3"/><file name="system.xml" hash="b062295645d20f789202dbded88392af"/></dir><dir name="sql"><dir name="mobileassistant_setup"><file name="mysql4-install-0.1.0.php" hash="c25eff9c480cc82b6edfaef1e87e27a7"/></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="mobileassistant"><file name="magentoPushDst.pem" hash="2c693d7a536bcac3e609a8ee0e232dd2"/></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>