This commit is contained in:
resicovenba 2017-11-23 15:26:59 +05:30
commit 1d80c93d36
2 changed files with 5 additions and 3 deletions

View File

@ -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');

View File

@ -211,8 +211,6 @@
<table class="table table-hover">
<thead>
<tr>
<th>S.No
</th>
<th ng-click="sort('TrackingID')">Tracking ID
<span class="glyphicon sort-icon" ng-show="sortKey=='TrackingID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
</th>
@ -240,7 +238,6 @@
</thead>
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|filter:search2:strict|itemsPerPage:5">
<tr>
<td>{{$index+1}}</td>
<td><a href="#" class="text-orange" ng-click="setEditId(p);">{{p.TrackingID}}</a></td>
<td>{{p.followupDetails }}</td>
<td>{{p.LeadName}}</td>