diff --git a/application/controllers/batchcard.php b/application/controllers/batchcard.php index 301e81c8..028c820f 100755 --- a/application/controllers/batchcard.php +++ b/application/controllers/batchcard.php @@ -1316,6 +1316,9 @@ class batchcard extends BaseController $data['rawsupplier'] = $this->batchcard_model->Rawsupplier(); $data['consusupplier'] = $this->batchcard_model->Consupplier(); $data['packsupplier'] = $this->batchcard_model->Pacsupplier(); + + + //print_r($data['packagematerial']);die(); $this->global['pageTitle'] = 'Siddharth : Finished Product Batch Card'; @@ -1941,6 +1944,9 @@ class batchcard extends BaseController $packvalue = $this->input->post('packprice'.$i); $packlineId = $this->input->post('packId'.$i); + + //echo $packmaterial;echo $packsupplier; + $beforepacqty = $this->input->post('beforepackQty'.$i); diff --git a/application/views/editFinalProduct.php b/application/views/editFinalProduct.php index 4c9fc8ab..6917725a 100644 --- a/application/views/editFinalProduct.php +++ b/application/views/editFinalProduct.php @@ -433,7 +433,10 @@ $(function() { foreach($rawmaterial as $raw){ $index= $index+1; $basicPrice = ($raw->Quantity)*($raw->Price); - $rawtotal = number_format(( $rawtotal+$basicPrice),2); ?> + + $rawtotal = $rawtotal+$basicPrice; + + ?>