student view changes done

This commit is contained in:
gandhimathi 2018-03-12 17:40:59 +05:30
parent 443d3476ef
commit 02758727ea

View File

@ -170,7 +170,7 @@ class Studentview_model extends CI_Model
$storePaidDetails['BatchDate'] = $feeRow->BatchDate;
// for get paid bill details
$this->db->select('ifnull(SUM((BillAmount)),0) as BillAmount,BillNO,BillDate,ModeOfPayment');
$this->db->select('ifnull(SUM((BillAmount)),0) as BillAmount,BillNO,BillDate,ModeOfPayment,ReceiptNo');
$this->db->where('FeesId',$feeRow->FeesID);
$this->db->order_by('ID',"ASC");
$this->db->group_by('BillNO');
@ -252,7 +252,7 @@ class Studentview_model extends CI_Model
$storePaidDetails['BatchDate'] = "";
// for get paid bill details
$this->db->select('ifnull(SUM((BillAmount)),0) as BillAmount,BillNO,BillDate,ModeOfPayment');
$this->db->select('ifnull(SUM((BillAmount)),0) as BillAmount,BillNO,BillDate,ModeOfPayment,ReceiptNo');
$this->db->where('FeesId',$feeRow->FeesID);
$this->db->order_by('ID',"ASC");
$this->db->group_by('BillNO');