diff --git a/Apollo/api/application/models/Student_model.php b/Apollo/api/application/models/Student_model.php index 93383065..d484991a 100755 --- a/Apollo/api/application/models/Student_model.php +++ b/Apollo/api/application/models/Student_model.php @@ -460,7 +460,7 @@ class Student_model extends CI_Model $this->db->join(''.STUDENTS_FEES_PAID.' as t6', 't6.FeesId = t5.FeesID', 'LEFT'); $this->db->where('t1.BranchID', $req['localBranchID']); $this->db->where('t1.StudentID', $studentId); - // $this->db->group_by('t1.StudentID'); + $this->db->group_by('t1.CourseID'); $courseDetails = $this->db->get(); $checkArr = $courseDetails->result(); if (count($checkArr) > 0) {