Subversion Repositories SmartDukaan

Rev

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

Rev 13633 Rev 13637
Line 118... Line 118...
118
 *
118
 *
119
 * @return void
119
 * @return void
120
 */
120
 */
121
	public function admin_index() {
121
	public function admin_index() {
122
		$url = $this->apihost."discountInfo/getAllCategoryDiscount";
122
		$url = $this->apihost."discountInfo/getAllCategoryDiscount";
123
		$response = $this->make_request($url,$jsonVar);
123
		$response = $this->make_request($url,null);
124
		$this->set('categoryDiscounts',$response);
124
		$this->set('categoryDiscounts',$response);
125
		$this->loadModel('Category');
125
		$this->loadModel('Category');
126
		$categories = $this->Category->find('list');
126
		$categories = $this->Category->find('list');
127
		$this->set('categories',$categories);
127
		$this->set('categories',$categories);
128
	}
128
	}