Subversion Repositories SmartDukaan

Rev

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

Rev 19498 Rev 19530
Line 241... Line 241...
241
		}		
241
		}		
242
		$url  = $this->apihost."refundToWallet?offset=".$offset."&limit=".$limit."&status=Pending";
242
		$url  = $this->apihost."refundToWallet?offset=".$offset."&limit=".$limit."&status=Pending";
243
		$pending = $this->make_request($url, null);;
243
		$pending = $this->make_request($url, null);;
244
		$this->set(compact('pending','page'));
244
		$this->set(compact('pending','page'));
245
	}
245
	}
-
 
246
 
-
 
247
		public function admin_allstatus($type = null,$id = null,$user_id = null,$amount = null,$rtype = null){
-
 
248
		$page = $this->request->query('page');
-
 
249
		if(!isset($page)){
-
 
250
			$page = 1;
-
 
251
		}
-
 
252
		$limit = 50;
-
 
253
		$offset = ($page - 1)*$limit;
-
 
254
		$url  = $this->apihost."refundToWallet?offset=".$offset."&limit=".$limit;
-
 
255
		$pending = $this->make_request($url, null);;
-
 
256
		$this->set(compact('pending','page'));
-
 
257
	}
246
}
258
}
247
259