From 6c9a6fdee7ff85c17b445fc6a7064333abda8b26 Mon Sep 17 00:00:00 2001 From: Sanjeev Date: Fri, 9 Apr 2021 12:51:24 +0530 Subject: [PATCH] fixes : ps --- Apollo/api/application/models/DayBook_model.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/models/DayBook_model.php b/Apollo/api/application/models/DayBook_model.php index 56a918e2..0d12c1dd 100644 --- a/Apollo/api/application/models/DayBook_model.php +++ b/Apollo/api/application/models/DayBook_model.php @@ -467,7 +467,10 @@ class DayBook_model extends CI_Model try { // load fees status model $this->load->model('Fees_status_model'); - $this->Fees_status_model->deleteStudentStatusEntry($getID); + /** comment due to + * 1 .Create new received fees entry after deleting the previously created received fees entry ,in that time don't display the status as "Blank" In Mark card and certificate report when the status already updated from student status update screen + * $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'";