store updation

This commit is contained in:
venbatechnologies@gmail.com 2017-08-16 18:58:12 +05:30
parent 6cbaeb4491
commit a4278a0213

View File

@ -354,7 +354,12 @@ public function viewmMaterialDistributionList()
$BalanceQty=0;
$BalanceQty=($avlQty+$AceptedQty)-$ReqQuantity;
if($StatusCode=='ST050')
{
$BalanceQty=($avlQty+$AceptedQty)-$ReqQuantity;
}
//echo $avlQty;
//die();
@ -367,10 +372,12 @@ public function viewmMaterialDistributionList()
$Remark=array('Remarks'=>$Remarks);
$this->requistion_model->UpdateStoreRemark($Remark,$MaterialCode);
if($StatusCode=='ST050')
{
$BalanceQuantity=array('Quantity'=>$BalanceQty);
$this->requistion_model->UpdateAvlQty($BalanceQuantity,$MaterialCode);
}
echo "Successfully Updated the Requistion No: ".$ReqNumber;
}