store updation
This commit is contained in:
parent
6cbaeb4491
commit
a4278a0213
@ -354,7 +354,12 @@ public function viewmMaterialDistributionList()
|
|||||||
|
|
||||||
|
|
||||||
$BalanceQty=0;
|
$BalanceQty=0;
|
||||||
$BalanceQty=($avlQty+$AceptedQty)-$ReqQuantity;
|
if($StatusCode=='ST050')
|
||||||
|
{
|
||||||
|
$BalanceQty=($avlQty+$AceptedQty)-$ReqQuantity;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//echo $avlQty;
|
//echo $avlQty;
|
||||||
//die();
|
//die();
|
||||||
@ -367,10 +372,12 @@ public function viewmMaterialDistributionList()
|
|||||||
$Remark=array('Remarks'=>$Remarks);
|
$Remark=array('Remarks'=>$Remarks);
|
||||||
$this->requistion_model->UpdateStoreRemark($Remark,$MaterialCode);
|
$this->requistion_model->UpdateStoreRemark($Remark,$MaterialCode);
|
||||||
|
|
||||||
|
if($StatusCode=='ST050')
|
||||||
|
{
|
||||||
$BalanceQuantity=array('Quantity'=>$BalanceQty);
|
$BalanceQuantity=array('Quantity'=>$BalanceQty);
|
||||||
|
|
||||||
$this->requistion_model->UpdateAvlQty($BalanceQuantity,$MaterialCode);
|
$this->requistion_model->UpdateAvlQty($BalanceQuantity,$MaterialCode);
|
||||||
|
}
|
||||||
|
|
||||||
echo "Successfully Updated the Requistion No: ".$ReqNumber;
|
echo "Successfully Updated the Requistion No: ".$ReqNumber;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user