Subversion Repositories SmartDukaan

Rev

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

Rev 15404 Rev 17976
Line 177... Line 177...
177
		}	
177
		}	
178
		$this->Callhistory->recursive = 0;
178
		$this->Callhistory->recursive = 0;
179
		
179
		
180
		$this->set('result', $resul);
180
		$this->set('result', $resul);
181
	}
181
	}
-
 
182
 
-
 
183
	public function admin_backlog() {
-
 
184
		$backupSql="select ifnull(agent_id,'General') as agent_id,status,count(1) as count from retailers where status IN ('onboarding','followup') and (agent_id is NULL or agent_id=17) group by status,agent_id";	
-
 
185
		$resul=$this->Callhistory->query($backupSql);	
-
 
186
		$this->set('result', $resul);		
-
 
187
	}
182
}
188
}
183
189