course details changes done

This commit is contained in:
gandhimathi 2017-12-27 18:23:46 +05:30
parent 1aab5a1862
commit b8776ff3d6

View File

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