From 13ca4397e0748c2bec7d0243ebf7ca4497fcc88e Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Sat, 23 Dec 2017 19:19:53 +0530 Subject: [PATCH] course details changes done --- .../controllers/Fees_Status_Controller.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Apollo/api/application/controllers/Fees_Status_Controller.php b/Apollo/api/application/controllers/Fees_Status_Controller.php index c6e75afd..36875ae5 100755 --- a/Apollo/api/application/controllers/Fees_Status_Controller.php +++ b/Apollo/api/application/controllers/Fees_Status_Controller.php @@ -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;