course details changes done

This commit is contained in:
gandhimathi 2017-12-23 19:19:53 +05:30
parent 983b56796f
commit 13ca4397e0

View File

@ -116,15 +116,6 @@ class Fees_Status_Controller extends REST_Controller {
{
$now = new DateTime();
$now->setTimezone(new DateTimezone('Asia/Kolkata'));
$details['StudentID'] = $this->post('studID');
$details['CourseID'] = $this->post('courseID');
$details['FeesType'] = $this->post('feesID');
$details['CourseFees'] = $this->post('courseAmount');
$details['STFOrWR'] = $this->post('STFWR');
$details['Waiver'] = $this->post('waiver');
$details['Others'] = $this->post('other');
$details['CreatedBy'] = $this->post('createdBy');
$details['CreatedOn'] = $now->format('Y-m-d H:i:s');
/*for track purpose*/
$trackDetails['MobileNumber'] = $this->post('mobileNumber');
@ -150,7 +141,7 @@ class Fees_Status_Controller extends REST_Controller {
$detailsChild['CreatedBy'] = $this->post('createdBy');
$detailsChild['CreatedOn'] = $now->format('Y-m-d H:i:s');
$updateDetails = $this->Fees_model->updateFees($details,$detailsChild,$trackDetails);// Check if the users data store contains users (in case the database result returns NULL)
$updateDetails = $this->Fees_model->updateFees($detailsChild,$trackDetails);// Check if the users data store contains users (in case the database result returns NULL)
if ($updateDetails)
{
$updateDetails['status'] = REST_Controller::HTTP_OK;