Subversion Repositories SmartDukaan

Rev

Rev 13958 | Rev 13994 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13958 Rev 13992
Line 46... Line 46...
46
		$storeId = $this->request->query('store_id');
46
		$storeId = $this->request->query('store_id');
47
		$userId = $this->request->query('user_id');
47
		$userId = $this->request->query('user_id');
48
		$this->log(print_r($this->request->data,1),'order_trackers');
48
		$this->log(print_r($this->request->data,1),'order_trackers');
49
		if ($this->request->is('post')) {
49
		if ($this->request->is('post')) {
50
			$url = $this->apihost."/track/user/$userId?storeId=$storeId";
50
			$url = $this->apihost."/track/user/$userId?storeId=$storeId";
51
			$this->make_request($url,http_build_query($this->request->data));
51
			$this->make_request($url,$this->request->data);
52
			$result = array('success'=>true,'message'=>'html stored');
52
			$result = array('success'=>true,'message'=>'html stored');
53
			$this->response->type('json');
53
			$this->response->type('json');
54
			$this->layout = 'ajax';
54
			$this->layout = 'ajax';
55
			$this->set(array(
55
			$this->set(array(
56
			    'result' => $result,
56
			    'result' => $result,