asset details status code changed in model file
This commit is contained in:
parent
ac08b886d1
commit
da20fb8af6
@ -60,7 +60,7 @@ class assetdetails_model extends CI_Model
|
|||||||
$this->db->from('T_PurchaseOrder_Master POM');
|
$this->db->from('T_PurchaseOrder_Master POM');
|
||||||
$this->db->join('T_PurchaseOrder_LineItem POL', 'POL.PONO = POM.PONO');
|
$this->db->join('T_PurchaseOrder_LineItem POL', 'POL.PONO = POM.PONO');
|
||||||
$this->db->join('T_SupplierDetailsN sup', 'sup.SupplierID = POM.SupplierID');
|
$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)){
|
if(!empty($PO)){
|
||||||
$this->db->where('POM.PONO',$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->from('T_PurchaseOrder_Master POM');
|
||||||
//$this->db->join ('T_PurchaseOrder_LineItem POL ',' POL.PONO = POM.PONO');
|
//$this->db->join ('T_PurchaseOrder_LineItem POL ',' POL.PONO = POM.PONO');
|
||||||
//$this->db->join ('T_SupplierDetailsN sup ',' sup.SupplierID = POM.SupplierID');
|
//$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)){
|
if(!empty($PO)){
|
||||||
$this->db->where('POM.PONO',$PO);
|
$this->db->where('POM.PONO',$PO);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<section class="content">
|
<section class="content">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header">
|
<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>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user