Subversion Repositories SmartDukaan

Rev

Rev 16952 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16952 Rev 16955
Line 114... Line 114...
114
 *
114
 *
115
 * @return void
115
 * @return void
116
 */
116
 */
117
	public function admin_index() {
117
	public function admin_index() {
118
		$this->AppTransaction->recursive = 0;
118
		$this->AppTransaction->recursive = 0;
-
 
119
		$this->Paginator->settings = array(
-
 
120
	    	'conditions' => array('payout_description'=>'Approved'),
-
 
121
	    	'order'=> 'payout_time desc',
-
 
122
	    	'limit' => '100',
-
 
123
	  		);
119
		$this->set('appTransactions', $this->Paginator->paginate(array('AppTransaction.' . $this->AppTransaction.'payout_description'=>'Approved')));
124
		$this->set('appTransactions', $this->Paginator->paginate());
120
	}
125
	}
121
 
126
 
-
 
127
	public function admin_transactions_all() {
-
 
128
		$this->AppTransaction->recursive = 0;
-
 
129
			$this->Paginator->settings = array(
-
 
130
	    	'order'=> 'transaction_time desc',
-
 
131
	    	'limit' => '100',
-
 
132
	  		);
-
 
133
		$this->set('appTransactions', $this->Paginator->paginate());
-
 
134
	}
122
/**
135
/**
123
 * admin_view method
136
 * admin_view method
124
 *
137
 *
125
 * @throws NotFoundException
138
 * @throws NotFoundException
126
 * @param string $id
139
 * @param string $id