course details changes done
This commit is contained in:
parent
da443d5aab
commit
35a28fe465
@ -665,6 +665,11 @@ class Calltracking_model extends CI_Model {
|
|||||||
if($search['BranchID'] !='All'){
|
if($search['BranchID'] !='All'){
|
||||||
$this->db->where('LT.CreatedBranch', $search['BranchID']);
|
$this->db->where('LT.CreatedBranch', $search['BranchID']);
|
||||||
|
|
||||||
|
}
|
||||||
|
if ($search['requestedDept'] == EMPLOYEE){
|
||||||
|
|
||||||
|
$this->db->where('LT.AssignedTo', $search['requestedBy']);
|
||||||
|
|
||||||
}
|
}
|
||||||
$this->db->where('LTF.FollowupOn',$todayDate);
|
$this->db->where('LTF.FollowupOn',$todayDate);
|
||||||
$trackDetails=$this->db->get();
|
$trackDetails=$this->db->get();
|
||||||
@ -711,6 +716,11 @@ class Calltracking_model extends CI_Model {
|
|||||||
if($search['BranchID'] !='All'){
|
if($search['BranchID'] !='All'){
|
||||||
$this->db->where('LT.CreatedBranch', $search['BranchID']);
|
$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');
|
$this->db->like('LD.CreatedOn', $todayDate, 'after');
|
||||||
$trackDetails=$this->db->get();
|
$trackDetails=$this->db->get();
|
||||||
@ -758,6 +768,11 @@ class Calltracking_model extends CI_Model {
|
|||||||
if($search['BranchID'] !='All'){
|
if($search['BranchID'] !='All'){
|
||||||
$this->db->where('LT.CreatedBranch', $search['BranchID']);
|
$this->db->where('LT.CreatedBranch', $search['BranchID']);
|
||||||
|
|
||||||
|
}
|
||||||
|
if ($search['requestedDept'] == EMPLOYEE){
|
||||||
|
|
||||||
|
$this->db->where('LT.AssignedTo', $search['requestedBy']);
|
||||||
|
|
||||||
}
|
}
|
||||||
$trackDetails=$this->db->get();
|
$trackDetails=$this->db->get();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user