diff --git a/Apollo/api/application/controllers/Fees_Status_Controller.php b/Apollo/api/application/controllers/Fees_Status_Controller.php index d9b7bee6..1d465451 100755 --- a/Apollo/api/application/controllers/Fees_Status_Controller.php +++ b/Apollo/api/application/controllers/Fees_Status_Controller.php @@ -151,7 +151,9 @@ class Fees_Status_Controller extends REST_Controller { $detailsChild['Installment'] = $this->post('existPaidCount'); $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; diff --git a/Apollo/assets/views/student/studentPaymentModal.html b/Apollo/assets/views/student/studentPaymentModal.html index 103a52ed..c0a397f8 100755 --- a/Apollo/assets/views/student/studentPaymentModal.html +++ b/Apollo/assets/views/student/studentPaymentModal.html @@ -129,7 +129,8 @@ {{v.CDate}} - {{v.Sem_Year}} ({{v.Sem}}) + + {{v.Sem}} {{v.ListName}} {{v.Comments}} @@ -147,7 +148,8 @@ {{study.SDate}} - {{study.Sem_Year}} ({{study.Sem}}) + + {{study.Sem}} {{study.ListName}} {{study.Comments}}