call tracking closed activity in staff login changes done
This commit is contained in:
parent
b9926dac02
commit
0c3f4f0258
@ -1154,6 +1154,10 @@ class Calltracking_model extends CI_Model {
|
||||
$this->db->where('LT.CreatedBranch', $search['CreatedBranch']);
|
||||
|
||||
}
|
||||
// condition check if its is staff
|
||||
if($search['requestedDept']==EMPLOYEE){
|
||||
$this->db->where('LT.AssignedTo', $search['requestedBy']);
|
||||
}
|
||||
$this->db->like('PLD1.ListName', 'CLOSE', 'after');
|
||||
$this->db->order_by('LT.TrackingID', 'DESC');
|
||||
$leadDet=$this->db->get();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user