satus code changed in asset model file

This commit is contained in:
venbatechnologies@gmail.com 2017-11-30 11:57:25 +05:30
parent fef899c218
commit 0a9c84bd8e

View File

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