course details changes done
This commit is contained in:
parent
1aab5a1862
commit
b8776ff3d6
@ -42,7 +42,7 @@ class Studentview_model extends CI_Model
|
|||||||
* */
|
* */
|
||||||
public function getStudentCourse($studentId=null){
|
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->from( STUDENTCOURSE . ' as SCU');
|
||||||
$this->db->join( COURSE . ' as CU', 'CU.CourseID = SCU.CourseID');
|
$this->db->join( COURSE . ' as CU', 'CU.CourseID = SCU.CourseID');
|
||||||
$this->db->join( UNIVERSITY . ' as US', 'US.UniversityID = SCU.UniversityID');
|
$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['UniversityID']=$row->UniversityID;
|
||||||
$fetchData['UniversityName']=$row->UniversityName;
|
$fetchData['UniversityName']=$row->UniversityName;
|
||||||
$fetchData['BatchName']=$row->BatchName;
|
$fetchData['BatchName']=$row->BatchName;
|
||||||
|
$fetchData['EnrollmentID']=$row->EnrollmentID;
|
||||||
// get student fees details
|
// get student fees details
|
||||||
$fetchData['feesDetails']=$this->getStudentFeesDetails($studentId,$row->CourseID);
|
$fetchData['feesDetails']=$this->getStudentFeesDetails($studentId,$row->CourseID);
|
||||||
// get student boollet details
|
// get student boollet details
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user