asset details status code changed in model file

This commit is contained in:
venbatechnologies@gmail.com 2017-11-30 11:34:56 +05:30
parent ac08b886d1
commit da20fb8af6
2 changed files with 3 additions and 3 deletions

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

View File

@ -4,7 +4,7 @@
<section class="content">
<div class="box">
<div class="box-header">
<CENTER><h3 class="box-title">Resicos Industries - Asset Details</h3></CENTER>
<CENTER><h3 class="box-title">Resico Industries - Asset Details</h3></CENTER>
</div>
<div class="container-fluid">
<div class="row">