stock updation
This commit is contained in:
parent
335f043b39
commit
0b5e5ed05a
@ -323,6 +323,7 @@ public function viewmMaterialDistributionList()
|
|||||||
$ReqNumber = trim($Values[2]);
|
$ReqNumber = trim($Values[2]);
|
||||||
$Remarks = trim($Values[3]);
|
$Remarks = trim($Values[3]);
|
||||||
$ReqQuantity=trim($Values[4]);
|
$ReqQuantity=trim($Values[4]);
|
||||||
|
$AceptedQty=trim($Values[5]);
|
||||||
|
|
||||||
$UpdatedBy = $this->session->userdata ( 'userId' );
|
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||||
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
$dt = new DateTime('now', new DateTimeZone('Asia/Kolkata'));
|
||||||
@ -340,7 +341,7 @@ public function viewmMaterialDistributionList()
|
|||||||
|
|
||||||
|
|
||||||
$BalanceQty=0;
|
$BalanceQty=0;
|
||||||
$BalanceQty=$avlQty-$ReqQuantity;
|
$BalanceQty=($avlQty+$AceptedQty)-$ReqQuantity;
|
||||||
|
|
||||||
//echo $avlQty;
|
//echo $avlQty;
|
||||||
//die();
|
//die();
|
||||||
|
|||||||
@ -182,6 +182,7 @@
|
|||||||
Sendvalues[2] = ReqNo;
|
Sendvalues[2] = ReqNo;
|
||||||
Sendvalues[3] = Remarks;
|
Sendvalues[3] = Remarks;
|
||||||
Sendvalues[4]= ReqQuantity;
|
Sendvalues[4]= ReqQuantity;
|
||||||
|
Sendvalues[5]= AcceptedQty;
|
||||||
//alert(MaterialCode);
|
//alert(MaterialCode);
|
||||||
//alert(StatusCode);
|
//alert(StatusCode);
|
||||||
$('#content').loader('show');
|
$('#content').loader('show');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user