fees model changes done
This commit is contained in:
parent
c4d75cb052
commit
7b6373f81b
@ -1316,7 +1316,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
||||||
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
||||||
$this->db->where('FIN.DueDate',$tomorrowDATE);
|
$this->db->where('FIN.DueDate',$tomorrowDATE);
|
||||||
// $this->db->where('SFP.IsActive','1');
|
$this->db->where('SFP.IsActive','1');
|
||||||
$getStudentDetails = $this->db->get();
|
$getStudentDetails = $this->db->get();
|
||||||
|
|
||||||
if ($getStudentDetails->result()){
|
if ($getStudentDetails->result()){
|
||||||
@ -1346,7 +1346,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
||||||
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
||||||
$this->db->where('FIN.DueDate',$afterFiveDays);
|
$this->db->where('FIN.DueDate',$afterFiveDays);
|
||||||
// $this->db->where('SFP.IsActive','1');
|
$this->db->where('SFP.IsActive','1');
|
||||||
$getStudentDetails1 = $this->db->get();
|
$getStudentDetails1 = $this->db->get();
|
||||||
if ($getStudentDetails1->result()){
|
if ($getStudentDetails1->result()){
|
||||||
foreach ($getStudentDetails1->result() as $row1){
|
foreach ($getStudentDetails1->result() as $row1){
|
||||||
@ -1377,7 +1377,7 @@ class Fees_status_model extends CI_Model
|
|||||||
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
$this->db->join(STUDENTS_FEES_STATUS.' as SFS', 'FIN.FeesID = SFS.FeesID');
|
||||||
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
$this->db->join(STUDENTS_FEES_PAID.' as SFP', 'SFP.FeesId = FIN.FeesID','left');
|
||||||
$this->db->where('FIN.DueDate',$preDATE);
|
$this->db->where('FIN.DueDate',$preDATE);
|
||||||
//$this->db->where('SFP.IsActive','1');
|
$this->db->where('SFP.IsActive','1');
|
||||||
$getStudentDetails2 = $this->db->get();
|
$getStudentDetails2 = $this->db->get();
|
||||||
if ($getStudentDetails2->result()){
|
if ($getStudentDetails2->result()){
|
||||||
foreach ($getStudentDetails2->result() as $row2){
|
foreach ($getStudentDetails2->result() as $row2){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user