Subversion Repositories SmartDukaan

Rev

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

Rev 22763 Rev 22764
Line 367... Line 367...
367
			
367
			
368
	public function admin_pendingretailer_new() {
368
	public function admin_pendingretailer_new() {
369
		if($this->requser->is('get')) {
369
		if($this->requser->is('get')) {
370
			$prquery = "select r.*,a.* from retailer r join user_accounts ua on (ua.account_key=r.id and ua.account_type='saholic') join user.address a on a.user_id=r.id where r.migrated=0 and r.active=0";
370
			$prquery = "select r.*,a.* from retailer r join user_accounts ua on (ua.account_key=r.id and ua.account_type='saholic') join user.address a on a.user_id=r.id where r.migrated=0 and r.active=0";
371
			$result = $this->Retailer->query($prquery);
371
			$result = $this->Retailer->query($prquery);
372
			$this->set(compact('result'))
372
			$this->set(compact('result'));
373
		}
373
		}
374
	}
374
	}
375
		
375
		
376
}
376
}