From 0a9c84bd8e8bccbf42592bad1195f5afb91b7cff Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Thu, 30 Nov 2017 11:57:25 +0530 Subject: [PATCH] satus code changed in asset model file --- application/models/assetdetails_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }