diff --git a/application/models/assetdetails_model.php b/application/models/assetdetails_model.php index 6f434e99..29514826 100755 --- a/application/models/assetdetails_model.php +++ b/application/models/assetdetails_model.php @@ -60,7 +60,7 @@ class assetdetails_model extends CI_Model $this->db->from('T_PurchaseOrder_Master POM'); $this->db->join('T_PurchaseOrder_LineItem POL', 'POL.PONO = POM.PONO'); $this->db->join('T_SupplierDetailsN sup', 'sup.SupplierID = POM.SupplierID'); - $this->db->where('POM.status','ST026'); + $this->db->where('POM.status',MRIR_APPROVED); if(!empty($PO)){ $this->db->where('POM.PONO',$PO); @@ -77,7 +77,7 @@ class assetdetails_model extends CI_Model $this->db->from('T_PurchaseOrder_Master POM'); //$this->db->join ('T_PurchaseOrder_LineItem POL ',' POL.PONO = POM.PONO'); //$this->db->join ('T_SupplierDetailsN sup ',' sup.SupplierID = POM.SupplierID'); - $this->db->where('POM.status','ST026'); + $this->db->where('POM.status',MRIR_APPROVED); if(!empty($PO)){ $this->db->where('POM.PONO',$PO); }