issues fixes : ps
This commit is contained in:
parent
6c9a6fdee7
commit
e3a7c98df6
@ -67,12 +67,12 @@ class Studentview_model extends CI_Model
|
||||
$this->db->from( LOGIN . ' as LO');
|
||||
$this->db->join( STUDENTS . ' as ST', 'LO.StaffID = ST.StudentID');
|
||||
$this->db->join( STUDENTCOURSE . ' as STC', 'STC.StudentID = ST.StudentID');
|
||||
$this->db->join(STUDENTS_FEES_PAID . ' as SFP','SFP.StudentID = ST.StudentID ');
|
||||
|
||||
$this->db->join(STUDENTS_FEES_STATUS . ' as SFS','SFS.FeesID = SFP.FeesId and SFS.StudentID = SFP.StudentID');
|
||||
$this->db->join(STUDENTS_FEES_PAID . ' as SFP','SFP.StudentID = ST.StudentID ','left');
|
||||
$this->db->join(STUDENTS_FEES_STATUS . ' as SFS','SFS.FeesID = SFP.FeesId and SFS.StudentID = SFP.StudentID','left');
|
||||
$this->db->where('ST.MobileNumber', $requestedBy);
|
||||
$this->db->where('STC.BranchID', $requestedBranch);
|
||||
$studentDetails = $this->db->get()->first_row();
|
||||
// print_r($studentDetails);
|
||||
// print_r($this->db->last_query());die();
|
||||
if($studentDetails){
|
||||
$result['studentStatus'] = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user