From a348a9b556d29e24ee90dc0360af638b2d54c2a9 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 23 Nov 2017 15:14:57 +0530 Subject: [PATCH 1/2] changes in followup screen --- .../api/application/controllers/Call_Tracking_Controller.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Apollo/api/application/controllers/Call_Tracking_Controller.php b/Apollo/api/application/controllers/Call_Tracking_Controller.php index ed4f2a27..6837b348 100644 --- a/Apollo/api/application/controllers/Call_Tracking_Controller.php +++ b/Apollo/api/application/controllers/Call_Tracking_Controller.php @@ -80,11 +80,14 @@ class Call_Tracking_Controller extends REST_Controller { public function addLeadTrackingDetails_post() { + $now = new DateTime(); + $now->setTimezone(new DateTimezone('Asia/Kolkata')); //store lead details $lead_details['LeadName'] = $this->post('studentName'); $lead_details['MobileNumber'] = $this->post('mobileNumber'); $lead_details['IsNewEnquiry'] = $this->post('enquiryStatus'); $lead_details['CreatedBy'] = $this->post('createdBy'); + $lead_details['CreatedOn'] = $now->format('Y-m-d H:i:s'); //store tracking details $tracking_details['University'] = $this->post('universityID'); $tracking_details['Course'] = $this->post('courseName'); @@ -93,10 +96,12 @@ class Call_Tracking_Controller extends REST_Controller { $tracking_details['StatusCode'] = $this->post('status'); $tracking_details['ReferredBy'] = $this->post('referedBy'); $tracking_details['CreatedBy'] = $this->post('createdBy'); + $tracking_details['CreatedOn'] = $now->format('Y-m-d H:i:s'); //store tracking followup details $tracking_followup_details['FollowupOn'] = $this->post('date'); $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'); From 4ead559db62c5f28bec750c763678c2f496aa343 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 23 Nov 2017 15:22:17 +0530 Subject: [PATCH 2/2] changes in followup screen --- Apollo/assets/views/callTrackingDetails.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/Apollo/assets/views/callTrackingDetails.html b/Apollo/assets/views/callTrackingDetails.html index e93ebd32..3ef6d784 100644 --- a/Apollo/assets/views/callTrackingDetails.html +++ b/Apollo/assets/views/callTrackingDetails.html @@ -211,8 +211,6 @@ - @@ -240,7 +238,6 @@ -
S.No - Tracking ID
{{$index+1}} {{p.TrackingID}} {{p.followupDetails }} {{p.LeadName}}