From b8776ff3d6b5c69f999593ade0841b4252f99618 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 27 Dec 2017 18:23:46 +0530 Subject: [PATCH] course details changes done --- Apollo/api/application/models/Studentview_model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Apollo/api/application/models/Studentview_model.php b/Apollo/api/application/models/Studentview_model.php index 1fed8d83..8ecd4828 100755 --- a/Apollo/api/application/models/Studentview_model.php +++ b/Apollo/api/application/models/Studentview_model.php @@ -42,7 +42,7 @@ class Studentview_model extends CI_Model * */ public function getStudentCourse($studentId=null){ - $this->db->select('CU.CourseID,CU.CourseName,US.UniversityID,US.UniversityName,BA.BatchName'); + $this->db->select('SCU.EnrollmentID,CU.CourseID,CU.CourseName,US.UniversityID,US.UniversityName,BA.BatchName'); $this->db->from( STUDENTCOURSE . ' as SCU'); $this->db->join( COURSE . ' as CU', 'CU.CourseID = SCU.CourseID'); $this->db->join( UNIVERSITY . ' as US', 'US.UniversityID = SCU.UniversityID'); @@ -57,6 +57,7 @@ class Studentview_model extends CI_Model $fetchData['UniversityID']=$row->UniversityID; $fetchData['UniversityName']=$row->UniversityName; $fetchData['BatchName']=$row->BatchName; + $fetchData['EnrollmentID']=$row->EnrollmentID; // get student fees details $fetchData['feesDetails']=$this->getStudentFeesDetails($studentId,$row->CourseID); // get student boollet details