student view rajasekar
This commit is contained in:
parent
e6ac221988
commit
f4fd16470c
@ -118,7 +118,7 @@ class Studentview_model extends CI_Model
|
||||
$this->db->join( BRANCH . ' as BR', 'BR.BranchCode = SCU.BranchID');
|
||||
$this->db->join( COURSE . ' as CU', 'CU.CourseID = SCU.CourseID');
|
||||
$this->db->join( UNIVERSITY . ' as US', 'US.UniversityID = SCU.UniversityID AND SCU.BranchID=US.BranchCode');
|
||||
$this->db->join( ADMISSIONS .' as AD','AD.StudentID = SCU.StudentID and AD.UniversityID = SCU.UniversityID and AD.CourseID = CU.CourseID ');
|
||||
$this->db->join( ADMISSIONS .' as AD','AD.StudentID = SCU.StudentID and AD.UniversityID = SCU.UniversityID and AD.CourseID = CU.CourseID ','left');
|
||||
$this->db->where('SCU.StudentID',$studentId);
|
||||
if($accessFrom == 'Web'){
|
||||
$this->db->where('BR.Is_StudentWebAccessActive', 1);
|
||||
@ -180,7 +180,7 @@ class Studentview_model extends CI_Model
|
||||
$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 AND SCU.BranchID=US.BranchCode');
|
||||
$this->db->join( ADMISSIONS .' as AD','AD.StudentID = SCU.StudentID and AD.UniversityID = SCU.UniversityID and AD.CourseID = CU.CourseID ');
|
||||
$this->db->join( ADMISSIONS .' as AD','AD.StudentID = SCU.StudentID and AD.UniversityID = SCU.UniversityID and AD.CourseID = CU.CourseID ','left');
|
||||
// $this->db->join(STUDENTS_FEES_PAID . ' as SFP','SFP.StudentID = SCU.StudentID ');
|
||||
|
||||
// $this->db->join(STUDENTS_FEES_STATUS . ' as SFS','SFS.FeesID = SFP.FeesId and SFS.StudentID = SFP.StudentID');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user