From 93737eb77ea3facb4282065294a602823e546eaa Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 16 May 2018 18:36:13 +0530 Subject: [PATCH] fees changes in day book --- Apollo/api/application/models/DayBook_model.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Apollo/api/application/models/DayBook_model.php b/Apollo/api/application/models/DayBook_model.php index 8fcfc865..6d328e57 100755 --- a/Apollo/api/application/models/DayBook_model.php +++ b/Apollo/api/application/models/DayBook_model.php @@ -216,6 +216,10 @@ class DayBook_model extends CI_Model $branch = $typeStateDetails[0]->BranchCode; // echo $id;exit(); try { + // load fees status model + $this->load->model('Fees_status_model'); + $this->Fees_status_model->deleteStudentStatusEntry($getID); + // end fees status model // $sql1 = " DELETE FROM ".STUDENTS_FEES_PAID." WHERE ID ='$getID'"; $sql1 = "UPDATE ".STUDENTS_FEES_PAID." SET IsActive ='0' WHERE ID ='$getID'"; $this->db->query($sql1);