From 7c65d39555680f2a4bbec9b6068d54a69a86fb94 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Tue, 12 Dec 2017 07:39:35 +0000 Subject: [PATCH] inactive supplier issue fixed --- application/models/purchaseorder_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index cb0cb48a..cd78a81c 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -161,6 +161,7 @@ function purchaseorderListing($forwhat='') { $this->db->select('SupplierID, SupplierName,Address,PaymentID'); $this->db->from('T_SupplierDetailsN'); + $this->db->where('IsActive', 1); if($supID != '') { $this->db->where('SupplierID',$supID);