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);