diff --git a/Apollo/api/application/models/Data_correction.php b/Apollo/api/application/models/Data_correction.php index e4cab2e2..f84ea742 100644 --- a/Apollo/api/application/models/Data_correction.php +++ b/Apollo/api/application/models/Data_correction.php @@ -26,7 +26,7 @@ class Data_Correction extends CI_Model Public function GetAllCourseDetails($search) { - $this->db->select('sd.MobileNumber,sd.Firstname,sd.Lastname,CourseName,UniversityName,scd.CourseID,scd.ID,sd.StudentID,scd.IsActive as IsActive,scd.DeactiveComments as Reason,scd.UniversityID,sfs.FeesID'); + $this->db->select('sd.MobileNumber,sd.Firstname,sd.Lastname,CourseName,UniversityName,scd.CourseID,scd.ID,sd.StudentID,scd.IsActive as IsActive,scd.DeactiveComments as Reason,scd.UniversityID,sfs.FeesID,scd.Deactive'); $this->db->from('T_StudentDetails sd'); $this->db->join('T_Student_CourseDetails scd','scd.StudentID = sd.StudentID'); $this->db->join('T_CourseMaster cm','cm.CourseID = scd.CourseID'); @@ -110,6 +110,7 @@ class Data_Correction extends CI_Model $coursearr['IsActive'] = $search['IsActive']; $coursearr['DeactiveComments'] =$search['Reason']; + $coursearr['Deactive'] = '0'; $this->db->where('StudentID', $search['studentId']); $this->db->where('UniversityID', $search['University']); $this->db->where('CourseID', $search['courseId']); diff --git a/Apollo/assets/views/edit_course.html b/Apollo/assets/views/edit_course.html index e165dcf6..2abf1c2e 100644 --- a/Apollo/assets/views/edit_course.html +++ b/Apollo/assets/views/edit_course.html @@ -27,6 +27,7 @@