Subversion Repositories SmartDukaan

Rev

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

Rev 20054 Rev 20056
Line 29... Line 29...
29
		if ($this->request->is('post')) {
29
		if ($this->request->is('post')) {
30
			alert('Clicked');
30
			alert('Clicked');
31
		}
31
		}
32
		$cur_date = date('Y-m-d', time());
32
		$cur_date = date('Y-m-d', time());
33
		$this->Callhistory->recursive = 0;
33
		$this->Callhistory->recursive = 0;
34
		$this->Paginator->settings = array('order' => array('id'=>'desc'),'conditions' => array('call_time  LIKE'=>"%$cur_date%"));
34
		$this->Paginator->settings = array('order' => array('id'=>'desc'),'conditions' => array('call_time  LIKE'=>"%$cur_date%" ,'Callhistory.agent_id >' => 2));
35
 
35
 
36
		$this->set('callhistories', $this->Paginator->paginate());
36
		$this->set('callhistories', $this->Paginator->paginate());
37
	}
37
	}
38
 
38
 
39
/**
39
/**