dash board changes
This commit is contained in:
parent
0433ab36ac
commit
378758da59
@ -118,7 +118,7 @@ class Dashboard_model extends CI_Model
|
|||||||
$feesDetails=array();
|
$feesDetails=array();
|
||||||
$feesDetails['UniversityID']=$universityID;
|
$feesDetails['UniversityID']=$universityID;
|
||||||
$feesDetails['UniversityName']=$universityName;
|
$feesDetails['UniversityName']=$universityName;
|
||||||
$this->db->select("SUM(SFS.CourseFees) as PayableFees");
|
$this->db->select("SUM(SFS.CourseFees+SFS.STFOrWR+Others) as PayableFees");
|
||||||
$this->db->from( STUDENTS_FEES_STATUS . ' as SFS');
|
$this->db->from( STUDENTS_FEES_STATUS . ' as SFS');
|
||||||
$this->db->join( COURSE . ' as CU', 'CU.CourseID = SFS.CourseID');
|
$this->db->join( COURSE . ' as CU', 'CU.CourseID = SFS.CourseID');
|
||||||
$this->db->where('CU.UniversityID',$universityID);
|
$this->db->where('CU.UniversityID',$universityID);
|
||||||
@ -170,7 +170,7 @@ class Dashboard_model extends CI_Model
|
|||||||
foreach ($getBatchDetails->result() as $bRows){
|
foreach ($getBatchDetails->result() as $bRows){
|
||||||
$batchFeesDetails['BatchCode']=$bRows->BatchCode;
|
$batchFeesDetails['BatchCode']=$bRows->BatchCode;
|
||||||
$batchFeesDetails['BatchName']=$bRows->BatchName;
|
$batchFeesDetails['BatchName']=$bRows->BatchName;
|
||||||
$this->db->select("SUM(SFS.CourseFees) as PayableFees");
|
$this->db->select("SUM(SFS.CourseFees+SFS.STFOrWR+Others) as PayableFees");
|
||||||
$this->db->from( STUDENTS_FEES_STATUS . ' as SFS');
|
$this->db->from( STUDENTS_FEES_STATUS . ' as SFS');
|
||||||
$this->db->where('SFS.BatchCode',$bRows->BatchCode);
|
$this->db->where('SFS.BatchCode',$bRows->BatchCode);
|
||||||
$this->db->where('SFS.BranchCode',$branchCode);
|
$this->db->where('SFS.BranchCode',$branchCode);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user