From 354a0c215797678876963c6508b51f620adaee38 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Mon, 30 Apr 2018 18:05:23 +0530 Subject: [PATCH] fees status send sms to students --- 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 b1e5e6e4..817e8eb0 100755 --- a/Apollo/api/application/controllers/Fees_Status_Controller.php +++ b/Apollo/api/application/controllers/Fees_Status_Controller.php @@ -145,7 +145,9 @@ class Fees_Status_Controller extends REST_Controller { $detailsChild['CreatedBy'] = $this->post('createdBy'); $detailsChild['CreatedOn'] = $now->format('Y-m-d H:i:s'); $detailsChild['UpdatedBy'] = $this->post('requestedBranch'); - $updateDetails = $this->Fees_model->updateFees($detailsChild,$this->post('courseID'),$this->post('feesName'));// Check if the users data store contains users (in case the database result returns NULL) + $smsDetails['FeesName'] = $this->post('feesName'); + $smsDetails['CurrentBalance'] = $this->post('currentBalance'); + $updateDetails = $this->Fees_model->updateFees($detailsChild,$this->post('courseID'),$this->post('feesName'),$smsDetails);// Check if the users data store contains users (in case the database result returns NULL) if ($updateDetails) { $updateDetails['status'] = REST_Controller::HTTP_OK;