This commit is contained in:
gayathri1990 2018-09-07 12:52:57 +05:30
commit 60c73de203

View File

@ -354,6 +354,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->where('t1.IsActive', '1');
$this->db->group_by('t1.CourseID');
$courseDetails = $this->db->get();
$checkArr = $courseDetails->result();