From 4ed157bf8ef4409229b47100050e035e892e8386 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 10 Jan 2018 18:03:30 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/controllers/Fees_Status_Controller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/controllers/Fees_Status_Controller.php b/Apollo/api/application/controllers/Fees_Status_Controller.php index 25984506..62c76882 100755 --- a/Apollo/api/application/controllers/Fees_Status_Controller.php +++ b/Apollo/api/application/controllers/Fees_Status_Controller.php @@ -238,7 +238,9 @@ class Fees_Status_Controller extends REST_Controller { $details['CreatedBy'] = $this->post('createdBy'); $details['CreatedOn'] = $now->format('Y-m-d H:i:s'); - $updateDetails = $this->Fees_model->setFees($details);// Check if the users data store contains users (in case the database result returns NULL) + $jsonInstallmenData = $this->post('installmentItems'); + + $updateDetails = $this->Fees_model->setFees($details,$jsonInstallmenData);// Check if the users data store contains users (in case the database result returns NULL) if ($updateDetails) { $updateDetails['status'] = REST_Controller::HTTP_OK;