course details changes done
This commit is contained in:
parent
8da859afb5
commit
7a41bba5e9
@ -79,11 +79,11 @@ class Studentview_model extends CI_Model
|
||||
* */
|
||||
public function getStudentCourse($studentId=null){
|
||||
|
||||
$this->db->select('SCU.EnrollmentID,CU.CourseID,CU.CourseName,US.UniversityID,US.UniversityName,BA.BatchName');
|
||||
$this->db->select('SCU.EnrollmentID,CU.CourseID,CU.CourseName,US.UniversityID,US.UniversityName,SM.SessionName');
|
||||
$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');
|
||||
$this->db->join( BATCH . ' as BA', 'BA.BatchCode = SCU.BatchCode');
|
||||
$this->db->join( SESSIONMASTER . ' as SM', 'SM.SessionID = SCU.SessionID');
|
||||
$this->db->where('SCU.StudentID', $studentId);
|
||||
$courseDetails = $this->db->get();
|
||||
if($courseDetails->result()){
|
||||
@ -93,7 +93,7 @@ class Studentview_model extends CI_Model
|
||||
$fetchData['CourseName']=$row->CourseName;
|
||||
$fetchData['UniversityID']=$row->UniversityID;
|
||||
$fetchData['UniversityName']=$row->UniversityName;
|
||||
$fetchData['BatchName']=$row->BatchName;
|
||||
$fetchData['SessionName']=$row->SessionName;
|
||||
$fetchData['EnrollmentID']=$row->EnrollmentID;
|
||||
// get student fees details
|
||||
$fetchData['feesDetails']=$this->getStudentFeesDetails($studentId,$row->CourseID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user