From 304050c6687d45fe2fd8d4aa58e3f2cc0f2c0bf1 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 30 May 2018 18:11:58 +0530 Subject: [PATCH] call track status assigned to history changes --- .../application/controllers/Call_Tracking_Controller.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Apollo/api/application/controllers/Call_Tracking_Controller.php b/Apollo/api/application/controllers/Call_Tracking_Controller.php index c84d79da..391d5a6b 100755 --- a/Apollo/api/application/controllers/Call_Tracking_Controller.php +++ b/Apollo/api/application/controllers/Call_Tracking_Controller.php @@ -114,6 +114,9 @@ class Call_Tracking_Controller extends REST_Controller { $tracking_followup_details['FollowupComments'] = $this->post('comments'); $tracking_followup_details['CreatedBy'] = $this->post('createdBy'); $tracking_followup_details['CreatedOn'] = $now->format('Y-m-d H:i:s'); + $tracking_followup_details['StatusName'] = $this->post('status'); + $tracking_followup_details['AssignedStaff'] = $this->post('assignedTo'); + @@ -195,6 +198,9 @@ class Call_Tracking_Controller extends REST_Controller { $followup_details['CreatedBy'] = $this->post('updatedBy'); $followup_details['FollowupComments'] = $this->post('comments'); $followup_details['CreatedOn'] = $now->format('Y-m-d H:i:s'); + $followup_details['StatusName'] = $this->post('status'); + $followup_details['AssignedStaff'] = $this->post('assignedTo'); +