From 79668bb93a4b01b7c5defc23bf14cc557209f342 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 26 Dec 2017 19:43:27 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/models/Calltracking_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/models/Calltracking_model.php b/Apollo/api/application/models/Calltracking_model.php index 93f25399..be4fa74f 100755 --- a/Apollo/api/application/models/Calltracking_model.php +++ b/Apollo/api/application/models/Calltracking_model.php @@ -419,10 +419,11 @@ class Calltracking_model extends CI_Model { public function getStudentTrackedID($stuMobile=null) { $this->db->distinct(); - $this->db->select('LT.TrackingID,LT.LeadID,AV.ActivityID,AV.ActivityName'); + $this->db->select('LT.TrackingID,LT.LeadID,AV.ActivityID,AV.ActivityName,PLD.ListName'); $this->db->from(LEAD_DETAILS.' as LD'); $this->db->join(LEAD_TRACKING.' as LT', 'LT.LeadID = LD.LeadID'); $this->db->join(ACTIVITY.' as AV', 'AV.ActivityID = LT.ActivityStatus'); + $this->db->join(PICK_LIST_DETAILS.' as PLD', 'PLD.ListCode = LT.StatusCode'); $this->db->where('LD.MobileNumber',$stuMobile); $this->db->order_by('LT.TrackingID','ASC'); $studeTrackID = $this->db->get();