Subversion Repositories SmartDukaan

Rev

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

Rev 22761 Rev 22762
Line 360... Line 360...
360
				$cnaquery ="select r.* from retailers r where r.status = 'not_verified' order by r.id desc";
360
				$cnaquery ="select r.* from retailers r where r.status = 'not_verified' order by r.id desc";
361
			}
361
			}
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
			
367
	public function admin_pendingretailer_new() {
368
	public function admin_pendingretailer_new() {
368
		if($this->requser->is('get') {
369
		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
			$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
			$result = $this->Retailer->query($prquery);
371
			$this->set(compact('result'))
372
			$this->set(compact('result'))
372
		}
373
		}
373
	}
374
	}
374
		
375
		
375
		
-
 
376
	}
-
 
377
}
376
}