Subversion Repositories SmartDukaan

Rev

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

Rev 13816 Rev 13944
Line 36... Line 36...
36
		$totalPages = $response['totalPages'];
36
		$totalPages = $response['totalPages'];
37
		if(!empty($response['data'])){
37
		if(!empty($response['data'])){
38
			$this->set('orders',$response['data']);
38
			$this->set('orders',$response['data']);
39
		}
39
		}
40
		$ignoredFields = array('imgUrl','status','productTitle','estimatedDeliveryDate','productCode','merchantSubOrderId','productUrl','closed','tracingkUrl','detailedStatus');
40
		$ignoredFields = array('imgUrl','status','productTitle','estimatedDeliveryDate','productCode','merchantSubOrderId','productUrl','closed','tracingkUrl','detailedStatus');
-
 
41
		$storemapping = Configure::read('storemapping');
-
 
42
		$activestores = Configure::read('activestores');
41
		$this->set(compact('ignoredFields','page','totalPages','userId'));
43
		$this->set(compact('ignoredFields','page','totalPages','userId','activestores','storemapping'));
42
	}
44
	}
43
 
45
 
44
	public function pendingcashbacks() {
46
	public function pendingcashbacks() {
45
		$userId = $this->request->query('user_id');
47
		$userId = $this->request->query('user_id');
46
		if(isset($userId) && !empty($userId)){
48
		if(isset($userId) && !empty($userId)){