fees status send sms to students

This commit is contained in:
gandhimathi 2018-04-30 18:05:23 +05:30
parent 5eba2d7bda
commit 354a0c2157

View File

@ -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;