stock issue
This commit is contained in:
parent
7429e62d0d
commit
e3fd4d6af8
@ -1318,6 +1318,9 @@ class batchcard extends BaseController
|
|||||||
$data['packsupplier'] = $this->batchcard_model->Pacsupplier();
|
$data['packsupplier'] = $this->batchcard_model->Pacsupplier();
|
||||||
|
|
||||||
|
|
||||||
|
//print_r($data['packagematerial']);die();
|
||||||
|
|
||||||
|
|
||||||
$this->global['pageTitle'] = 'Siddharth : Finished Product Batch Card';
|
$this->global['pageTitle'] = 'Siddharth : Finished Product Batch Card';
|
||||||
$this->loadViews("editFinalProduct", $this->global,$data,NULL);
|
$this->loadViews("editFinalProduct", $this->global,$data,NULL);
|
||||||
// $this->loadViews("finaledit", $this->global,$data,NULL);
|
// $this->loadViews("finaledit", $this->global,$data,NULL);
|
||||||
@ -1941,6 +1944,9 @@ class batchcard extends BaseController
|
|||||||
$packvalue = $this->input->post('packprice'.$i);
|
$packvalue = $this->input->post('packprice'.$i);
|
||||||
$packlineId = $this->input->post('packId'.$i);
|
$packlineId = $this->input->post('packId'.$i);
|
||||||
|
|
||||||
|
|
||||||
|
//echo $packmaterial;echo $packsupplier;
|
||||||
|
|
||||||
$beforepacqty = $this->input->post('beforepackQty'.$i);
|
$beforepacqty = $this->input->post('beforepackQty'.$i);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -433,7 +433,10 @@ $(function() {
|
|||||||
foreach($rawmaterial as $raw){
|
foreach($rawmaterial as $raw){
|
||||||
$index= $index+1;
|
$index= $index+1;
|
||||||
$basicPrice = ($raw->Quantity)*($raw->Price);
|
$basicPrice = ($raw->Quantity)*($raw->Price);
|
||||||
$rawtotal = number_format(( $rawtotal+$basicPrice),2); ?>
|
|
||||||
|
$rawtotal = $rawtotal+$basicPrice;
|
||||||
|
|
||||||
|
?>
|
||||||
<tr id="rawmat<?php echo $index ; ?>">
|
<tr id="rawmat<?php echo $index ; ?>">
|
||||||
<td><?php echo $index;?></td>
|
<td><?php echo $index;?></td>
|
||||||
<td id="rawmaterialedit<?php echo $index?>"><?php echo $raw->MaterialCode."-".$raw->MaterialName?></td>
|
<td id="rawmaterialedit<?php echo $index?>"><?php echo $raw->MaterialCode."-".$raw->MaterialName?></td>
|
||||||
@ -1960,8 +1963,8 @@ $('.CounterEditItem').click(function()
|
|||||||
|
|
||||||
document.getElementById('packmaterialbasic'+cuserid).innerHTML = basicprice.toFixed(2);
|
document.getElementById('packmaterialbasic'+cuserid).innerHTML = basicprice.toFixed(2);
|
||||||
|
|
||||||
$('#packmaterialcode'+cuserid).val(editpackmaterialcode);
|
//$('#packmaterialcode'+cuserid).val(editpackmaterialcode);
|
||||||
$('#packSupplierID'+cuserid).val(editpackSupplierID);
|
//$('#packSupplierID'+cuserid).val(editpackSupplierID);
|
||||||
$('#packQty'+cuserid).val(editpackQty);
|
$('#packQty'+cuserid).val(editpackQty);
|
||||||
$('#packprice'+cuserid).val(editpackprice);
|
$('#packprice'+cuserid).val(editpackprice);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user