student course details shown by separated : kdk
This commit is contained in:
parent
a0e2328ead
commit
74c7e3b827
@ -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->join(''.STUDENTS_FEES_PAID.' as t6', 't6.FeesId = t5.FeesID', 'LEFT');
|
||||||
$this->db->where('t1.BranchID', $req['localBranchID']);
|
$this->db->where('t1.BranchID', $req['localBranchID']);
|
||||||
$this->db->where('t1.StudentID', $studentId);
|
$this->db->where('t1.StudentID', $studentId);
|
||||||
// $this->db->group_by('t1.StudentID');
|
$this->db->group_by('t1.CourseID');
|
||||||
$courseDetails = $this->db->get();
|
$courseDetails = $this->db->get();
|
||||||
$checkArr = $courseDetails->result();
|
$checkArr = $courseDetails->result();
|
||||||
if (count($checkArr) > 0) {
|
if (count($checkArr) > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user