diff --git a/application/models/cashbook_model.php b/application/models/cashbook_model.php index 5cc5536d..c0ecbd2b 100644 --- a/application/models/cashbook_model.php +++ b/application/models/cashbook_model.php @@ -631,9 +631,9 @@ function receiptdata() function debitlistpo($pono) { - $this->db->select('bmp.mid,bmp.PONO,bmp.IGRLineItemNo,bmp.Amountpaid'); + $this->db->select('bmp.mid,bmp.PONO,bmp.IGRLineItemNo,bmp.Amountpaid,br.Narration'); $this->db->from ('T_Bankmappingpo as bmp'); - // $this->db->join('T_bankreport br','br.ID = bmp.mid'); + $this->db->join('T_bankreport br','br.ID = bmp.mid'); $this->db->where('bmp.PONO',$pono); $this->db->where('bmp.IsActive',1); $query = $this->db->get(); diff --git a/application/views/bankdebit.php b/application/views/bankdebit.php index 80ae9054..2747d356 100644 --- a/application/views/bankdebit.php +++ b/application/views/bankdebit.php @@ -185,8 +185,8 @@ foreach($financialyear as $item) CreatedDate),'d-m-Y');?> - PONO?> - IGRNO?> + PONO?> + IGRNO?> IGRItemNo?> SupplierName?>