logpo
This commit is contained in:
parent
ece513a15b
commit
508b3bd678
@ -1399,6 +1399,9 @@ $newsup=$this->input->post('newsup');
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
|
||||
if(!empty($newSupId[0] ))
|
||||
{
|
||||
if($newSupId[0] != $b4supplier)
|
||||
{
|
||||
$logpo =array('PONO'=>$PONO,'LineItemNos'=>'-','UpdateBy'=>$updatedBy,'UpdatedOn'=>$updateddt,'oldValue'=>$b4supplier,'newValue'=>$newsup,'entity'=>'Supplier Changed');
|
||||
@ -1406,6 +1409,7 @@ $newsup=$this->input->post('newsup');
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
}
|
||||
|
||||
//echo $RowCount;
|
||||
for ($i = 1; $i <= $RowCount; $i++)
|
||||
|
||||
@ -1269,13 +1269,18 @@ function edited(){
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
|
||||
if(!empty($newSupId[0] ))
|
||||
{
|
||||
if($newSupId[0] != $b4supplier)
|
||||
{
|
||||
//echo $b4supplier.'-'.$newSupId[0];die;
|
||||
$logpo =array('PONO'=>$PONO,'LineItemNos'=>'-','UpdateBy'=>$updatedBy,'UpdatedOn'=>$updateddt,'oldValue'=>$b4supplier,'newValue'=>$newsup,'entity'=>'Supplier Changed');
|
||||
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
}
|
||||
|
||||
//echo "OUT";
|
||||
for ($i = 1; $i <= $RowCount; $i++)
|
||||
@ -2264,6 +2269,9 @@ function addNewImportPurchaseOrder()
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
|
||||
if(!empty($newSupId[0] ))
|
||||
{
|
||||
if($newSupId[0] != $b4supplier)
|
||||
{
|
||||
$logpo =array('PONO'=>$PONO,'LineItemNos'=>'-','UpdateBy'=>$CreateBy,'UpdatedOn'=>$updateddt,'oldValue'=>$b4supplier,'newValue'=>$newsup,'entity'=>'Supplier Changed');
|
||||
@ -2271,6 +2279,7 @@ function addNewImportPurchaseOrder()
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//echo $RowCount;
|
||||
@ -2984,6 +2993,9 @@ if($Quantity != $b4qty)
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
|
||||
if(!empty($newSupId[0] ))
|
||||
{
|
||||
if($newSupId[0] != $b4supplier)
|
||||
{
|
||||
|
||||
@ -2992,6 +3004,7 @@ if($Quantity != $b4qty)
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= $RowCount; $i++)
|
||||
{
|
||||
|
||||
@ -419,6 +419,9 @@ $result = $this->purchaseorder_model->GetPODetailforBillingServicePO($PO);
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
|
||||
if(!empty($newSupId[0] ))
|
||||
{
|
||||
if($newSupId[0] != $b4supplier)
|
||||
{
|
||||
//$newsupname = $newSupId[0].'-'.$newSupId[1];
|
||||
@ -428,7 +431,7 @@ $result = $this->purchaseorder_model->GetPODetailforBillingServicePO($PO);
|
||||
|
||||
$this->purchaseorder_model->insertlogpo($logpo);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
for ($i = 1; $i <= $RowCount; $i++)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user