course details changes done

This commit is contained in:
gandhimathi 2018-01-06 19:44:12 +05:30
parent 7b0b7c6788
commit 674bdcbd2c

View File

@ -104,6 +104,7 @@ class Call_Tracking_Controller extends REST_Controller {
$tracking_details['CreatedBy'] = $this->post('createdBy');
$tracking_details['CreatedOn'] = $now->format('Y-m-d H:i:s');
$tracking_details['UpdatedOn'] = $now->format('Y-m-d H:i:s');
$tracking_details['CreatedBranch'] = $this->post('branchId');
//store tracking followup details
$tracking_followup_details['FollowupOn'] = $this->post('date');
$tracking_followup_details['FollowupComments'] = $this->post('comments');
@ -138,7 +139,9 @@ class Call_Tracking_Controller extends REST_Controller {
{
$search['requestedBy'] = $this->post('requestedBy');
$search['requestedDept'] = $this->post('requestedDept');
// $search['searchDate'] = $this->post('searchDate');
$search['branchID'] = $this->post('branchId');
$search['searchDate'] = $this->post('searchDate');
$search['CreatedBranch'] = $this->post('branchId');
// $search['searchMobileNumber'] = $this->post('searchMobileNumber');
// $search['searchName']= $this->post('searchName');
$getTrackedDetails = $this->Calltracking_model->getTrackingDetails($search);
@ -213,6 +216,7 @@ class Call_Tracking_Controller extends REST_Controller {
{
$get_details['TrackingID'] = $this->post('trackingID');
$get_details['UpdatedBy'] = $this->post('updatedBy');
$get_details['CreatedBranch'] = $this->post('branchId');
$getLoadDetails = $this->Calltracking_model->getLoadFollowupDetails($get_details);
if ($getLoadDetails)
@ -240,6 +244,7 @@ class Call_Tracking_Controller extends REST_Controller {
public function getDashboardCallTrack_post()
{
$search['requestedBy'] = $this->post('requestedBy');
$search['BranchID'] = $this->post('branchId');
$getdashBoardCallDetails = $this->Calltracking_model->getDashboardTrackingDetails($search);
if ($getdashBoardCallDetails)
{
@ -268,6 +273,7 @@ class Call_Tracking_Controller extends REST_Controller {
$search['requestedBy'] = $this->post('requestedBy');
$search['requestedDept'] = $this->post('requestedDept');
$search['loadDate'] = $this->post('loadDate');
$search['CreatedBranch'] = $this->post('branchId');
// $search['searchDate'] = $this->post('searchDate');
// $search['searchMobileNumber'] = $this->post('searchMobileNumber');
// $search['searchName']= $this->post('searchName');
@ -299,6 +305,7 @@ class Call_Tracking_Controller extends REST_Controller {
$search['requestedBy'] = $this->post('requestedBy');
$search['requestedDept'] = $this->post('requestedDept');
$search['loadDate'] = $this->post('loadDate');
$search['CreatedBranch'] = $this->post('branchId');
// $search['searchDate'] = $this->post('searchDate');
// $search['searchMobileNumber'] = $this->post('searchMobileNumber');
// $search['searchName']= $this->post('searchName');
@ -331,6 +338,7 @@ class Call_Tracking_Controller extends REST_Controller {
$search['requestedBy'] = $this->post('requestedBy');
$search['requestedDept'] = $this->post('requestedDept');
$search['loadDate'] = $this->post('loadDate');
$search['CreatedBranch'] = $this->post('branchId');
// $search['searchDate'] = $this->post('searchDate');
// $search['searchMobileNumber'] = $this->post('searchMobileNumber');
// $search['searchName']= $this->post('searchName');