student modal comments changes
This commit is contained in:
parent
f3c56670e3
commit
a57dbd74a9
@ -198,7 +198,7 @@ class Studentview_model extends CI_Model
|
||||
$serachArray=[WAIVER,REFERRAL];
|
||||
|
||||
$this->db->distinct();
|
||||
$this->db->select('SFS.FeesID,SFS.FeesType,SFS.RollNo,ifnull(SFS.CourseFees,0) as CourseFees,ifnull(SFS.STFOrWR,0) as STFOrWR,ifnull(SFS.Waiver,0) as Waiver,ifnull(SFS.Others,0) as Others,CF.Sem_Year,CF.FeesType as CourseFeesType,SM.SessionName,SM1.SessionName as ToSessionName,CF.ProgramType,BA.BatchName,BA.BatchDate');
|
||||
$this->db->select('SFS.FeesID,SFS.FeesType,SFS.RollNo,ifnull(SFS.CourseFees,0) as CourseFees,ifnull(SFS.STFOrWR,0) as STFOrWR,ifnull(SFS.Waiver,0) as Waiver,ifnull(SFS.Others,0) as Others,CF.Sem_Year,CF.FeesType as CourseFeesType,SM.SessionName,SM1.SessionName as ToSessionName,CF.ProgramType,BA.BatchName,BA.BatchDate,BA.BatchCode');
|
||||
$this->db->from(STUDENTS_FEES_STATUS.' as SFS');
|
||||
$this->db->join(SESSIONMASTER.' as SM', 'SM.SessionID = SFS.SessionName');
|
||||
$this->db->join(SESSIONMASTER.' as SM1', 'SM1.SessionID = SFS.ToSessionName','left');
|
||||
@ -264,6 +264,7 @@ class Studentview_model extends CI_Model
|
||||
$storePaidDetails['StudentPaidAmount']=$studentPaidAmount[0]->StudentPaidAmount;
|
||||
$storePaidDetails['BatchName'] = $feeRow->BatchName;
|
||||
$storePaidDetails['BatchDate'] = $feeRow->BatchDate;
|
||||
$storePaidDetails['BatchCode'] = $feeRow->BatchCode;
|
||||
|
||||
// for get paid bill details
|
||||
// for get paid bill details
|
||||
@ -371,6 +372,7 @@ class Studentview_model extends CI_Model
|
||||
$storePaidDetails['StudentPaidAmount']=$studentPaidAmount[0]->StudentPaidAmount;
|
||||
$storePaidDetails['BatchName'] = "Not Applicable";
|
||||
$storePaidDetails['BatchDate'] = "";
|
||||
$storePaidDetails['BatchCode'] = "";
|
||||
|
||||
// for get paid bill details
|
||||
$this->db->select('ifnull(SUM((BillAmount)),0) as BillAmount,BillNO,BillDate,ModeOfPayment,ReceiptNo,BR.BranchName,BR.Address,BR.LogoPath,STF.Firstname as ReceivedBy');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user