satus code changed in asset model file
This commit is contained in:
parent
fef899c218
commit
0a9c84bd8e
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user