course details changes done

This commit is contained in:
gandhimathi 2017-12-29 16:15:17 +05:30
parent afc770de22
commit 061227f257

View File

@ -118,7 +118,7 @@ class Fees_Status_Controller extends REST_Controller {
$now->setTimezone(new DateTimezone('Asia/Kolkata'));
/*for track purpose*/
$trackDetails['MobileNumber'] = $this->post('mobileNumber');
/* $trackDetails['MobileNumber'] = $this->post('mobileNumber');
$trackDetails['LeadName'] = $this->post('studentName');
$trackDetails['University'] = $this->post('university');
$trackDetails['Course'] = $this->post('course');
@ -126,7 +126,7 @@ class Fees_Status_Controller extends REST_Controller {
$trackDetails['FollowupOn'] = $now->format('d-m-Y');
$trackDetails['FollowupComments'] = $this->post('commentsForStudent');
$trackDetails['CreatedBy'] = $this->post('createdBy');
$trackDetails['CreatedOn'] = $now->format('Y-m-d H:i:s');
$trackDetails['CreatedOn'] = $now->format('Y-m-d H:i:s');*/
/*track array end*/
@ -142,7 +142,7 @@ class Fees_Status_Controller extends REST_Controller {
$detailsChild['CreatedOn'] = $now->format('Y-m-d H:i:s');
$detailsChild['UpdatedBy'] = $this->post('requestedBranch');
$updateDetails = $this->Fees_model->updateFees($detailsChild,$trackDetails);// Check if the users data store contains users (in case the database result returns NULL)
$updateDetails = $this->Fees_model->updateFees($detailsChild);// Check if the users data store contains users (in case the database result returns NULL)
if ($updateDetails)
{
$updateDetails['status'] = REST_Controller::HTTP_OK;