Code Context $findUser = $this->User->find('first',array('conditions'=>array('User.id'=>$order['Order']['user_id'])));
$this->set('order_email',$findUser['User']['username']);
$id = '5ad89c50-db80-4c15-96c8-7ab4ac68b92b'
$order = array(
'Order' => array(
'id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'code' => 'MP296FD5DF',
'user_id' => null,
'status' => '4',
'transaction_id' => '5ad89c81-9f1c-450a-ac71-7afbac68b92b',
'hash' => null,
'reward_points' => '0',
'discount_value' => '0.00',
'coupon_id' => null,
'giftcard_value' => '0.00',
'giftcard_id' => null,
'total_amount' => '1149.00',
'is_process' => '4',
'additional_charges' => '0.00',
'shipping_address_id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'shipping_charges' => '100.00',
'billing_address_id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'payment_mode' => 'Debit Card',
'gift_to' => null,
'gift_message' => null,
'gift_wrap' => '0',
'delivery_date' => null,
'admin_remarks' => null,
'flag' => false,
'referre_code' => null,
'vendor_id' => '561f838e-98f8-4526-83bb-456b6aba72de',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32'
),
'ShippingAddress' => array(
'id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'user_id' => '5ad84dc3-4464-4233-a578-31f6ac68b92b',
'name' => 'Sanjaybhai brahmbhatt',
'line1' => 'B/5, Rameshwar soc. ',
'line2' => 'Beside shreenath dham',
'landmark' => 'Parivar char Rasta , waghodia',
'pin_code' => '390019',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '9727910555',
'created' => '2018-04-19 13:40:12',
'modified' => '2018-04-19 13:40:12'
),
'BillingAddress' => array(
'id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'user_id' => '5ad84dc3-4464-4233-a578-31f6ac68b92b',
'name' => 'Sanjaybhai brahmbhatt',
'line1' => 'B/5, Rameshwar soc. ',
'line2' => 'Beside shreenath dham',
'landmark' => 'Parivar char Rasta , waghodia',
'pin_code' => '390019',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '9727910555',
'created' => '2018-04-19 13:40:12',
'modified' => '2018-04-19 13:40:12'
),
'OrderItem' => array(
(int) 0 => array(
'id' => '5ad89c50-9f08-49e7-b820-7ab4ac68b92b',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy Birthday \"MOM\".","delivery_date":"2018-04-19","delivery_time":"9pm - 12am"}',
'order_id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'item_id' => '561f6620-62b8-4bed-ac6b-489f6aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5ad9752a-e80c-4e00-9da6-4ea4ac68b92b',
'price' => '720.00',
'tax_price' => '129.6',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32',
'Item' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '5ad89c50-e63c-4d4d-b099-7ab4ac68b92b',
'quantity' => '1',
'item_params' => '[]',
'order_id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5ad9752a-e80c-4e00-9da6-4ea4ac68b92b',
'price' => '300.00',
'tax_price' => '0',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32',
'Item' => array(
[maximum depth reached]
)
)
)
)
$new_order = array(
'Order' => array(
'id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'code' => 'MP296FD5DF',
'user_id' => null,
'status' => '4',
'transaction_id' => '5ad89c81-9f1c-450a-ac71-7afbac68b92b',
'hash' => null,
'reward_points' => '0',
'discount_value' => '0.00',
'coupon_id' => null,
'giftcard_value' => '0.00',
'giftcard_id' => null,
'total_amount' => '1149.00',
'is_process' => '4',
'additional_charges' => '0.00',
'shipping_address_id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'shipping_charges' => '100.00',
'billing_address_id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'payment_mode' => 'Debit Card',
'gift_to' => null,
'gift_message' => null,
'gift_wrap' => '0',
'delivery_date' => null,
'admin_remarks' => null,
'flag' => false,
'referre_code' => null,
'vendor_id' => '561f838e-98f8-4526-83bb-456b6aba72de',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32'
),
'ShippingAddress' => array(
'id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'user_id' => '5ad84dc3-4464-4233-a578-31f6ac68b92b',
'name' => 'Sanjaybhai brahmbhatt',
'line1' => 'B/5, Rameshwar soc. ',
'line2' => 'Beside shreenath dham',
'landmark' => 'Parivar char Rasta , waghodia',
'pin_code' => '390019',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '9727910555',
'created' => '2018-04-19 13:40:12',
'modified' => '2018-04-19 13:40:12'
),
'BillingAddress' => array(
'id' => '5ad84ee4-cc5c-4f2c-bc93-34a3ac68b92b',
'user_id' => '5ad84dc3-4464-4233-a578-31f6ac68b92b',
'name' => 'Sanjaybhai brahmbhatt',
'line1' => 'B/5, Rameshwar soc. ',
'line2' => 'Beside shreenath dham',
'landmark' => 'Parivar char Rasta , waghodia',
'pin_code' => '390019',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'city_name' => null,
'state_id' => '52cba8ff-e9e4-4f85-806c-192cbf642048',
'state_name' => '',
'mobile' => '9727910555',
'created' => '2018-04-19 13:40:12',
'modified' => '2018-04-19 13:40:12'
),
'OrderItem' => array(
(int) 0 => array(
'id' => '5ad89c50-9f08-49e7-b820-7ab4ac68b92b',
'quantity' => '1',
'item_params' => '{"delivery_message":"Happy Birthday \"MOM\".","delivery_date":"2018-04-19","delivery_time":"9pm - 12am"}',
'order_id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'item_id' => '561f6620-62b8-4bed-ac6b-489f6aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5ad9752a-e80c-4e00-9da6-4ea4ac68b92b',
'price' => '720.00',
'tax_price' => '129.6',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32',
'Item' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '5ad89c50-e63c-4d4d-b099-7ab4ac68b92b',
'quantity' => '1',
'item_params' => '[]',
'order_id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5ad9752a-e80c-4e00-9da6-4ea4ac68b92b',
'price' => '300.00',
'tax_price' => '0',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32',
'Item' => array(
[maximum depth reached]
)
)
)
)
$order_item = array(
'id' => '5ad89c50-e63c-4d4d-b099-7ab4ac68b92b',
'quantity' => '1',
'item_params' => '[]',
'order_id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5ad9752a-e80c-4e00-9da6-4ea4ac68b92b',
'price' => '300.00',
'tax_price' => '0',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32'
)
$new_order_item = array(
'id' => '5ad89c50-e63c-4d4d-b099-7ab4ac68b92b',
'quantity' => '1',
'item_params' => '[]',
'order_id' => '5ad89c50-db80-4c15-96c8-7ab4ac68b92b',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'item_stock_id' => null,
'order_dispatch_id' => '5ad9752a-e80c-4e00-9da6-4ea4ac68b92b',
'price' => '300.00',
'tax_price' => '0',
'created' => '2018-04-19 19:10:32',
'modified' => '2018-04-19 19:10:32',
'Item' => array(
'id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'name' => 'Splendid Yellow Bunch of 20 Roses ',
'priority' => '0',
'sku_code' => '986',
'variant' => '1',
'variant_name' => 'NOS',
'weight_in_kg' => '1.000',
'item_id' => null,
'stock_type' => '1',
'featured' => '2',
'item_features' => null,
'is_activated' => '0',
'short_desc' => null,
'long_desc' => '',
'keyword' => '',
'alias' => null,
'item_size' => null,
'item_color' => null,
'item_category_id' => '56210206-0520-4ca0-804b-4b646aba72de',
'item_type_id' => null,
'tax_price' => '0',
'shipping_charges' => '-1.00',
'item_added_cart' => '0',
'item_viewed' => '0',
'primary_photo' => 'Rs.200 new.jpg',
'primary_photo_directory' => '562770bf-13f4-42ed-9152-413b6aba72de',
'permalink' => null,
'rating' => '0.0',
'franchise_only' => '0',
'vat_percent' => '0.00',
'cst_percent' => '0.00',
'cst_cform_percent' => '0.00',
'created' => '0000-00-00 00:00:00',
'modified' => '2015-10-21 18:34:32'
)
)
$item = array(
'Item' => array(
'id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'name' => 'Splendid Yellow Bunch of 20 Roses ',
'priority' => '0',
'sku_code' => '986',
'variant' => '1',
'variant_name' => 'NOS',
'weight_in_kg' => '1.000',
'item_id' => null,
'stock_type' => '1',
'featured' => '2',
'item_features' => null,
'is_activated' => '0',
'short_desc' => null,
'long_desc' => '',
'keyword' => '',
'alias' => null,
'item_size' => null,
'item_color' => null,
'item_category_id' => '56210206-0520-4ca0-804b-4b646aba72de',
'item_type_id' => null,
'tax_price' => '0',
'shipping_charges' => '-1.00',
'item_added_cart' => '0',
'item_viewed' => '0',
'primary_photo' => 'Rs.200 new.jpg',
'primary_photo_directory' => '562770bf-13f4-42ed-9152-413b6aba72de',
'permalink' => null,
'rating' => '0.0',
'franchise_only' => '0',
'vat_percent' => '0.00',
'cst_percent' => '0.00',
'cst_cform_percent' => '0.00',
'created' => '0000-00-00 00:00:00',
'modified' => '2015-10-21 18:34:32'
),
'Parent' => array(
'id' => null,
'name' => null,
'priority' => null,
'sku_code' => null,
'variant' => null,
'variant_name' => null,
'weight_in_kg' => null,
'item_id' => null,
'stock_type' => null,
'featured' => null,
'item_features' => null,
'is_activated' => null,
'short_desc' => null,
'long_desc' => null,
'keyword' => null,
'alias' => null,
'item_size' => null,
'item_color' => null,
'item_category_id' => null,
'item_type_id' => null,
'tax_price' => null,
'shipping_charges' => null,
'item_added_cart' => null,
'item_viewed' => null,
'primary_photo' => null,
'primary_photo_directory' => null,
'permalink' => null,
'rating' => null,
'franchise_only' => null,
'vat_percent' => null,
'cst_percent' => null,
'cst_cform_percent' => null,
'created' => null,
'modified' => null
),
'ItemCategory' => array(
'id' => '56210206-0520-4ca0-804b-4b646aba72de',
'name' => 'Flowers',
'category_group_id' => null,
'priority' => '0',
'max_qty' => '-1',
'item_type_id' => 'f132fe4d-68f7-11e5-859e-f23c91737a7d',
'parent_name_alias' => 'flowers-addon',
'desc' => null,
'long_description' => null,
'item_category_id' => '56210145-a820-4da0-b7a4-42b46aba72de',
'tags' => '',
'meta' => '',
'permalink' => null,
'primary_photo' => null,
'primary_photo_dir' => null,
'category_banner' => '',
'category_banner_dir' => '',
'addon_category' => '1',
'is_active' => '0',
'created' => '2015-10-16 19:26:22',
'modified' => '2015-10-16 19:26:22'
),
'ItemStock' => array(
'id' => '562770bf-5d30-44cb-b8ef-4e016aba72de',
'ref_no' => 'IN000562770bfaf9b2',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'total_quantity' => '-1',
'exhausted_quantity' => '0',
'order_date' => null,
'delivery_date' => null,
'expiry_date' => null,
'vendor_id' => '53e9c4b2-6c28-4a73-a8c3-3519bf642048',
'price' => '300.00',
'discount_price' => '300.00',
'discount_percentage' => '0.0',
'created' => '2015-10-21 16:32:23',
'modified' => '2015-10-21 16:32:23',
(int) 0 => array(
'id' => '562770bf-5d30-44cb-b8ef-4e016aba72de',
'ref_no' => 'IN000562770bfaf9b2',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'total_quantity' => '-1',
'exhausted_quantity' => '0',
'order_date' => null,
'delivery_date' => null,
'expiry_date' => null,
'vendor_id' => '53e9c4b2-6c28-4a73-a8c3-3519bf642048',
'price' => '300.00',
'discount_price' => '300.00',
'discount_percentage' => '0.0',
'created' => '2015-10-21 16:32:23',
'modified' => '2015-10-21 16:32:23'
)
),
'ItemVariants' => array(),
'ItemCity' => array(
(int) 0 => array(
'id' => '562770bf-e134-4765-8151-426a6aba72de',
'city_id' => '560f0dec-c7dc-4413-9c6e-461f6aba72de',
'item_id' => '562770bf-13f4-42ed-9152-413b6aba72de',
'shipping_charges' => '-1',
'created' => '2015-10-21 16:32:23',
'modified' => '2015-10-21 16:32:23'
)
),
'ItemGalleryPhoto' => array()
)
$findUser = array()
UsersController::track_order() - APP/Controller/UsersController.php, line 1698
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118