inactive supplier issue fixed

This commit is contained in:
gandhimathi 2017-12-12 07:39:35 +00:00
parent 900804cb91
commit 7c65d39555

View File

@ -161,6 +161,7 @@ function purchaseorderListing($forwhat='')
{ {
$this->db->select('SupplierID, SupplierName,Address,PaymentID'); $this->db->select('SupplierID, SupplierName,Address,PaymentID');
$this->db->from('T_SupplierDetailsN'); $this->db->from('T_SupplierDetailsN');
$this->db->where('IsActive', 1);
if($supID != '') if($supID != '')
{ {
$this->db->where('SupplierID',$supID); $this->db->where('SupplierID',$supID);