course details changes done

This commit is contained in:
gandhimathi 2018-01-18 18:10:09 +05:30
parent da443d5aab
commit 35a28fe465

View File

@ -665,6 +665,11 @@ class Calltracking_model extends CI_Model {
if($search['BranchID'] !='All'){
$this->db->where('LT.CreatedBranch', $search['BranchID']);
}
if ($search['requestedDept'] == EMPLOYEE){
$this->db->where('LT.AssignedTo', $search['requestedBy']);
}
$this->db->where('LTF.FollowupOn',$todayDate);
$trackDetails=$this->db->get();
@ -711,6 +716,11 @@ class Calltracking_model extends CI_Model {
if($search['BranchID'] !='All'){
$this->db->where('LT.CreatedBranch', $search['BranchID']);
}
if ($search['requestedDept'] == EMPLOYEE){
$this->db->where('LT.AssignedTo', $search['requestedBy']);
}
$this->db->like('LD.CreatedOn', $todayDate, 'after');
$trackDetails=$this->db->get();
@ -758,6 +768,11 @@ class Calltracking_model extends CI_Model {
if($search['BranchID'] !='All'){
$this->db->where('LT.CreatedBranch', $search['BranchID']);
}
if ($search['requestedDept'] == EMPLOYEE){
$this->db->where('LT.AssignedTo', $search['requestedBy']);
}
$trackDetails=$this->db->get();