From 74c7e3b8279bd3e84b4e25a0cac83e10d499a9fb Mon Sep 17 00:00:00 2001 From: dineshkumarkannan Date: Tue, 3 Apr 2018 15:25:16 +0530 Subject: [PATCH] student course details shown by separated : kdk --- Apollo/api/application/models/Student_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {