Subversion Repositories SmartDukaan

Rev

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

Rev 21032 Rev 22761
Line 362... Line 362...
362
 
362
 
363
			$result = $this->Retailer->query($cnaquery);;
363
			$result = $this->Retailer->query($cnaquery);;
364
			$this->set(compact('result'));
364
			$this->set(compact('result'));
365
		}		
365
		}		
366
			
366
			
-
 
367
	public function admin_pendingretailer_new() {
-
 
368
		if($this->requser->is('get') {
-
 
369
			$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
			$result = $this->Retailer->query($prquery);
-
 
371
			$this->set(compact('result'))
-
 
372
		}
-
 
373
	}
367
		
374
		
368
		
375
		
369
	}
376
	}
370
}
377
}