student course details shown by separated : kdk

This commit is contained in:
dineshkumarkannan 2018-04-03 15:25:16 +05:30
parent a0e2328ead
commit 74c7e3b827

View File

@ -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) {