diff --git a/Apollo/api/application/models/Studentview_model.php b/Apollo/api/application/models/Studentview_model.php index defd93a0..5487cef7 100755 --- a/Apollo/api/application/models/Studentview_model.php +++ b/Apollo/api/application/models/Studentview_model.php @@ -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');