import amendment po
This commit is contained in:
parent
de4897b0fb
commit
1047ec0970
@ -642,7 +642,7 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
|
|
||||||
function EditAmendImportPO()
|
function EditAmendImportPO()
|
||||||
{
|
{
|
||||||
|
$MAD='';
|
||||||
$PONO =$this->input->post('txtPONO');
|
$PONO =$this->input->post('txtPONO');
|
||||||
//echo $PONO;
|
//echo $PONO;
|
||||||
|
|
||||||
@ -682,6 +682,9 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// if($DeliveryOption==1){
|
// if($DeliveryOption==1){
|
||||||
// $Deliverydt = '';
|
// $Deliverydt = '';
|
||||||
// $DeliverySchedule = $this->input->post('Scheduleby');
|
// $DeliverySchedule = $this->input->post('Scheduleby');
|
||||||
@ -693,7 +696,9 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
|
|
||||||
|
|
||||||
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
$SpcialInstruction = $this->input->post('txtSpcialInstruction');
|
||||||
$TotalOrder = $this->input->post('txtTotalorderValue');
|
// $TotalOrder = $this->input->post('txtTotalorderValue');
|
||||||
|
$TotalOrder = $this->input->post('txtToatlOrder');
|
||||||
|
//$beforeTotalOrder=$this->input->post()
|
||||||
//echo "Total Order:".$TotalOrder;
|
//echo "Total Order:".$TotalOrder;
|
||||||
$POStatus = $this->input->post('txtStatus');
|
$POStatus = $this->input->post('txtStatus');
|
||||||
|
|
||||||
@ -707,13 +712,32 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
$updateddt = $dt->format('Y-m-d H:i:s');
|
$updateddt = $dt->format('Y-m-d H:i:s');
|
||||||
|
|
||||||
$PaymentTerms=$this->input->post('PaymentTerms');
|
$PaymentTerms=$this->input->post('PaymentTerms');
|
||||||
$Payableat=$this->input->post('PayableAT');
|
$beforePaymentTerms=$this->input->post('beforePaymentterms');
|
||||||
|
|
||||||
|
//echo $beforePaymentTerms;
|
||||||
|
//die();
|
||||||
|
if($PaymentTerms!=$beforePaymentTerms)
|
||||||
|
{
|
||||||
|
$MAD=$MAD."Amended Payment Terms:". $beforePaymentTerms ."</br>";
|
||||||
|
}
|
||||||
|
//$Payableat=$this->input->post('PayableAT');
|
||||||
$Palaceoforigin=$this->input->post('PlaceOforigin');
|
$Palaceoforigin=$this->input->post('PlaceOforigin');
|
||||||
|
$beforePalaceoforigin=$this->input->post('beforePlaceOforigin');
|
||||||
|
if($Palaceoforigin!=$beforePalaceoforigin)
|
||||||
|
{
|
||||||
|
$MAD=$MAD."Amended Place of Origin:". $beforePalaceoforigin ."</br>";
|
||||||
|
}
|
||||||
|
//echo $MAD;
|
||||||
|
//die();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//echo $RowCount;
|
//echo $RowCount;
|
||||||
// PO Master
|
// PO Master
|
||||||
// PO Master
|
// PO Master
|
||||||
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'POType'=>$POType,'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
$POMaster = array('ParentPO'=>$PONO,'SupplierID'=>$SupplierID, 'POType'=>$POType,'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'ReleasedBy'=>$updatedBy,'ReleasedOn'=>$updateddt,'Import_PlaceofOrgin'=>$Palaceoforigin,'AmendedDetails'=>$MAD);
|
||||||
|
//print_r($POMaster);
|
||||||
|
//die();
|
||||||
|
|
||||||
// $POList = array('SupplierID'=>$Supp,lierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
// $POList = array('SupplierID'=>$Supp,lierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'PORange'=>$PoRange,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
||||||
|
|
||||||
@ -742,9 +766,17 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
//echo "Before Loop";
|
//echo "Before Loop";
|
||||||
for ($i = 1; $i <= $RowCount; $i++)
|
for ($i = 1; $i <= $RowCount; $i++)
|
||||||
{
|
{
|
||||||
//echo "Inside Loop";
|
// echo "Inside Loop";
|
||||||
|
// die();
|
||||||
|
$CAD='';
|
||||||
$MaterialCode = $this->input->post('materialCode'.$i);
|
$MaterialCode = $this->input->post('materialCode'.$i);
|
||||||
$Quantity = $this->input->post('quantity'.$i);
|
$Quantity = $this->input->post('quantity'.$i);
|
||||||
|
$beforeQuantity=$this->input->post('beforequantity'.$i);
|
||||||
|
if(($Quantity-$beforeQuantity)!=0)
|
||||||
|
{
|
||||||
|
$CAD="Amended Quantity :".$beforeQuantity ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
$Reqnumber = $this->input->post('Reqnumber'.$i);
|
||||||
$itemRate = $this->input->post('itemRate'.$i);
|
$itemRate = $this->input->post('itemRate'.$i);
|
||||||
|
|
||||||
@ -752,36 +784,146 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
$BasicPriceinmton = $this->input->post('BasicPriceInMTon'.$i);
|
$BasicPriceinmton = $this->input->post('BasicPriceInMTon'.$i);
|
||||||
$Productprice = $this->input->post('ProductPrice'.$i);
|
$Productprice = $this->input->post('ProductPrice'.$i);
|
||||||
$LandingCharge = $this->input->post('LandingCharge'.$i);
|
$LandingCharge = $this->input->post('LandingCharge'.$i);
|
||||||
|
$beforeLandingCharge = $this->input->post('beforeLandingCharge'.$i);
|
||||||
|
if(($LandingCharge-$beforeLandingCharge)!=0)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended Landing :".$beforeLandingCharge ."</br>";
|
||||||
|
}
|
||||||
|
// echo $LandingCharge;
|
||||||
|
// echo $beforeLandingCharge;
|
||||||
|
// die();
|
||||||
|
|
||||||
$AfterLandingCharge = $this->input->post('AfterLandingCharge'.$i);
|
$AfterLandingCharge = $this->input->post('AfterLandingCharge'.$i);
|
||||||
$HighSeas = $this->input->post('HighSeasSalesCharge'.$i);
|
$HighSeas = $this->input->post('HighSeasSalesCharge'.$i);
|
||||||
|
$beforeHighSeas=$this->input->post('beforeHighSeasSalesCharge'.$i);
|
||||||
|
if(($HighSeas-$beforeHighSeas)!=0)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended Highsesas :".$beforeHighSeas ."</br>";
|
||||||
|
}
|
||||||
$AfterHighSeas = $this->input->post('AfterHighSeasSalesCharge'.$i);
|
$AfterHighSeas = $this->input->post('AfterHighSeasSalesCharge'.$i);
|
||||||
|
|
||||||
$CustomDuty = $this->input->post('CustomDuty'.$i);
|
$CustomDuty = $this->input->post('CustomDuty'.$i);
|
||||||
|
|
||||||
|
$beforeCustomDuty=$this->input->post('beforeCustomDuty'.$i);
|
||||||
|
if(($CustomDuty-$beforeCustomDuty)!=0)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended CustomDuty :".$beforeCustomDuty ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$AfterCustomDuty = $this->input->post('AfterCustomDuty'.$i);
|
$AfterCustomDuty = $this->input->post('AfterCustomDuty'.$i);
|
||||||
|
|
||||||
$ExciseDuty = $this->input->post('ExciseDuty'.$i);
|
$ExciseDuty = $this->input->post('ExciseDuty'.$i);
|
||||||
|
$beforeExciseDuty=$this->input->post('beforeExciseDuty'.$i);
|
||||||
|
if(($ExciseDuty-$beforeExciseDuty)!=0)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended ExciseDuty :".$beforeExciseDuty ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$AfterExciseDuty = $this->input->post('AfterExciseDuty'.$i);
|
$AfterExciseDuty = $this->input->post('AfterExciseDuty'.$i);
|
||||||
|
|
||||||
$ExciseDutyEd = $this->input->post('ExciseDutyEdCess'.$i);
|
$ExciseDutyEd = $this->input->post('ExciseDutyEdCess'.$i);
|
||||||
|
$beforeExciseDutyEd=$this->input->post('beforeExciseDutyEdCess'.$i);
|
||||||
|
if($ExciseDutyEd-$beforeExciseDutyEd)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended ExciseDutyEd :".$beforeExciseDutyEd ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$AfterExciseDutyEd = $this->input->post('AfterExciseDutyEdCess'.$i);
|
$AfterExciseDutyEd = $this->input->post('AfterExciseDutyEdCess'.$i);
|
||||||
|
|
||||||
$ExciseDutySH = $this->input->post('ExciseDutySHCess'.$i);
|
$ExciseDutySH = $this->input->post('ExciseDutySHCess'.$i);
|
||||||
|
$beforeExciseDutySH=$this->input->post('beforeExciseDutySHCess'.$i);
|
||||||
|
if($ExciseDutySH-$beforeExciseDutySH)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended ExciseDutySH :".$beforeExciseDutySH ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$AfterExciseDutySH = $this->input->post('AfterExciseDutySHCess'.$i);
|
$AfterExciseDutySH = $this->input->post('AfterExciseDutySHCess'.$i);
|
||||||
|
|
||||||
$CustomEd= $this->input->post('CustomEdCess'.$i);
|
$CustomEd= $this->input->post('CustomEdCess'.$i);
|
||||||
|
$beforeCustomEd=$this->input->post('beforeCustomEdCess'.$i);
|
||||||
|
if($CustomEd-$beforeCustomEd)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended CustomEd :".$beforeCustomEd ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$AfterCustomEd= $this->input->post('AfterCustomEdCess'.$i);
|
$AfterCustomEd= $this->input->post('AfterCustomEdCess'.$i);
|
||||||
|
|
||||||
$CustomSH = $this->input->post('CustomSHCess'.$i);
|
$CustomSH = $this->input->post('CustomSHCess'.$i);
|
||||||
|
$beforeCustomSH=$this->input->post('beforeCustomSHCess'.$i);
|
||||||
|
if($CustomSH-$beforeCustomSH)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended CustomSH :".$beforeCustomSH ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
$AfterCustomSH = $this->input->post('AfterCustomSHCess'.$i);
|
$AfterCustomSH = $this->input->post('AfterCustomSHCess'.$i);
|
||||||
|
|
||||||
$AddAdtional = $this->input->post('AddlExciseDuty'.$i);
|
$AddAdtional = $this->input->post('AddlExciseDuty'.$i);
|
||||||
|
$beforeAddAdtional=$this->input->post('beforeAddlExciseDuty'.$i);
|
||||||
|
if($AddAdtional-$beforeAddAdtional)
|
||||||
|
{
|
||||||
|
$CAD=$CAD."Amended Additional Excise duty :".$beforeAddAdtional ."</br>";
|
||||||
|
}
|
||||||
|
|
||||||
$AfterAddAdtional = $this->input->post('AfterAddlExciseDuty'.$i);
|
$AfterAddAdtional = $this->input->post('AfterAddlExciseDuty'.$i);
|
||||||
|
|
||||||
$Grossdutypayable = $this->input->post('Grossdutypayable'.$i);
|
$Grossdutypayable = $this->input->post('Grossdutypayable'.$i);
|
||||||
|
$beforeGrossdutypayable = $this->input->post('beforeGrossdutypayable'.$i);
|
||||||
|
// if($Grossdutypayable-$beforeGrossdutypayable)
|
||||||
|
// {
|
||||||
|
// $CAD="Amended Grossdutypayable:".$beforeGrossdutypayable ."</br>";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
$AvailableModvat = $this->input->post('AvailableModvat'.$i);
|
$AvailableModvat = $this->input->post('AvailableModvat'.$i);
|
||||||
|
$beforeAvailableModvat = $this->input->post('beforeAvailableModvat'.$i);
|
||||||
|
// if($AvailableModvat-$beforeAvailableModvat)
|
||||||
|
// {
|
||||||
|
// $CAD="Amended Available Modvat:".$beforeAvailableModvat ."</br>";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
$Grossexpensesduetocustomduty = $this->input->post('Grossexpensesduetocustomduty'.$i);
|
$Grossexpensesduetocustomduty = $this->input->post('Grossexpensesduetocustomduty'.$i);
|
||||||
|
$beforeGrossexpensesduetocustomduty = $this->input->post('Grossexpensesduetocustomduty'.$i);
|
||||||
|
//if($Grossexpensesduetocustomduty-$beforeGrossexpensesduetocustomduty)
|
||||||
|
// {
|
||||||
|
// $CAD="Amended GrosssExpense:".$beforeGrossexpensesduetocustomduty ."</br>";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
$purchaseratePerKG = $this->input->post('purchaseratePerKG'.$i);
|
$purchaseratePerKG = $this->input->post('purchaseratePerKG'.$i);
|
||||||
|
$beforepurchaseratePerKG = $this->input->post('beforepurchaseratePerKG'.$i);
|
||||||
|
// if($purchaseratePerKG-$beforepurchaseratePerKG)
|
||||||
|
// {
|
||||||
|
// $CAD="Amended Purchsae Rate/UOM:".$beforepurchaseratePerKG ."</br>";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpensesPerKG'.$i);
|
$CustomDutyExpensesPerKG = $this->input->post('CustomDutyExpensesPerKG'.$i);
|
||||||
|
$beforeCustomDutyExpensesPerKG = $this->input->post('beforeCustomDutyExpensesPerKG'.$i);
|
||||||
|
|
||||||
|
//if($CustomDutyExpensesPerKG-$beforeCustomDutyExpensesPerKG)
|
||||||
|
// {
|
||||||
|
// $CAD="Amended CustomDutyExpense/UOM".$beforeCustomDutyExpensesPerKG ."</br>";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomersPerKG'.$i);
|
$RMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomersPerKG'.$i);
|
||||||
|
$beforeRMCIncludingCustomersPerKG = $this->input->post('RMCIncludingCustomersPerKG'.$i);
|
||||||
|
// if($RMCIncludingCustomersPerKG-$beforeRMCIncludingCustomersPerKG )
|
||||||
|
// {
|
||||||
|
// $CAD="Amended RMC Including Customs".$beforeRMCIncludingCustomersPerKG ."</br>";
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$QuantityKG = $this->input->post('QuantityKG'.$i);
|
$QuantityKG = $this->input->post('QuantityKG'.$i);
|
||||||
|
|
||||||
@ -794,7 +936,7 @@ function UpdateAmendServicePurchaseOrder()
|
|||||||
$LineItemNo = '';
|
$LineItemNo = '';
|
||||||
|
|
||||||
|
|
||||||
$POLineItemList = array('PONO'=>$NewPO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter);
|
$POLineItemList = array('PONO'=>$NewPO, 'ReqNo'=>$Reqnumber,'MaterialCode'=>$MaterialCode,'Quantity'=>$Quantity,'Rate'=>$itemRate,'Status'=>$LineItemStatus,'CreatedBy'=>$CreateBy,'CreatedDate'=>$createddt,'CostCenterCode'=>$CostCenter,'AmendedDetails'=>$CAD);
|
||||||
//print_r($POLineItemList);
|
//print_r($POLineItemList);
|
||||||
|
|
||||||
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
$POLineItem = $this->purchaseorder_model->addPOLineItem($POLineItemList);
|
||||||
|
|||||||
@ -467,6 +467,8 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- <input type="hidden" name="beforeDispatch" id="beforeDispatch" value=$Import_DispatchDetails /> -->
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
@ -502,8 +504,26 @@ body {
|
|||||||
$data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin',$Import_PlaceofOrgin),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true');
|
$data = array('name' => 'PlaceOforigin','value' => set_value('PlaceOforigin',$Import_PlaceofOrgin),'id'=>'PlaceOforigin', 'class' => 'form-control' ,'required' => 'true');
|
||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- <div class="form-group" style="display:none;">
|
||||||
|
<?php
|
||||||
|
// $data = array('name' => 'PODate','value' => set_value('PODate',$CurrentDate),'id'=>'PODate', 'class' => 'form-control' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||||
|
// echo form_input($data);
|
||||||
|
|
||||||
|
$data = array('name' => 'beforePlaceOforigin','value' => set_value('beforePlaceOforigin',$Import_PlaceofOrgin),'id'=>'beforePlaceOforigin', 'class' => 'form-control' ,'required' => 'true');
|
||||||
|
echo form_input($data);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1147,74 +1167,239 @@ body {
|
|||||||
<input type="hidden" name="<?php echo 'materialCode'.$index ?>" id="<?php echo 'materialCode'.$index ?>" value="<?php echo $record->MaterialCode ; ?>" />
|
<input type="hidden" name="<?php echo 'materialCode'.$index ?>" id="<?php echo 'materialCode'.$index ?>" value="<?php echo $record->MaterialCode ; ?>" />
|
||||||
<input type="hidden" name="<?php echo 'materialName'.$index ?>" id="<?php echo 'materialName'.$index ?>" value="<?php echo $record->MaterialName ; ?>" />
|
<input type="hidden" name="<?php echo 'materialName'.$index ?>" id="<?php echo 'materialName'.$index ?>" value="<?php echo $record->MaterialName ; ?>" />
|
||||||
<input type="hidden" name="<?php echo 'uom'.$index ?>" id="<?php echo 'uom'.$index ?>" value="<?php echo $record->UOM ; ?>" />
|
<input type="hidden" name="<?php echo 'uom'.$index ?>" id="<?php echo 'uom'.$index ?>" value="<?php echo $record->UOM ; ?>" />
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'quantity'.$index ?>" id="<?php echo 'quantity'.$index ?>" value="<?php echo $record->Quantity ; ?>" />
|
<input type="hidden" name="<?php echo 'quantity'.$index ?>" id="<?php echo 'quantity'.$index ?>" value="<?php echo $record->Quantity ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforequantity'.$index ?>" id="<?php echo 'beforequantity'.$index ?>" value="<?php echo $record->Quantity ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'itemRate'.$index ?>" id="<?php echo 'itemRate'.$index ?>" value="<?php echo $record->Rate ; ?>" />
|
<input type="hidden" name="<?php echo 'itemRate'.$index ?>" id="<?php echo 'itemRate'.$index ?>" value="<?php echo $record->Rate ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeitemRate'.$index ?>" id="<?php echo 'beforeitemRate'.$index ?>" value="<?php echo $record->Rate ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'LandingCharge'.$index ?>" id="<?php echo 'LandingCharge'.$index ?>" value="<?php echo $record->LandingCharge; ?>" />
|
<input type="hidden" name="<?php echo 'LandingCharge'.$index ?>" id="<?php echo 'LandingCharge'.$index ?>" value="<?php echo $record->LandingCharge; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeLandingCharge'.$index ?>" id="<?php echo 'beforeLandingCharge'.$index ?>" value="<?php echo $record->LandingCharge; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterLandingCharge'.$index ?>" id="<?php echo 'AfterLandingCharge'.$index ?>" value="<?php echo $record->AfterLandingCharge; ?>" />
|
<input type="hidden" name="<?php echo 'AfterLandingCharge'.$index ?>" id="<?php echo 'AfterLandingCharge'.$index ?>" value="<?php echo $record->AfterLandingCharge; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterLandingCharge'.$index ?>" id="<?php echo 'beforeAfterLandingCharge'.$index ?>" value="<?php echo $record->AfterLandingCharge; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'HighSeasSalesCharge'.$index ?>" id="<?php echo 'HighSeasSalesCharge'.$index ?>" value="<?php echo $record->HighSeasSalesCharge ; ?>" />
|
<input type="hidden" name="<?php echo 'HighSeasSalesCharge'.$index ?>" id="<?php echo 'HighSeasSalesCharge'.$index ?>" value="<?php echo $record->HighSeasSalesCharge ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeHighSeasSalesCharge'.$index ?>" id="<?php echo 'beforeHighSeasSalesCharge'.$index ?>" value="<?php echo $record->HighSeasSalesCharge ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterHighSeasSalesCharge'.$index ?>" id="<?php echo 'AfterHighSeasSalesCharge'.$index ?>" value="<?php echo $record->AfterHighSeasSalesCharge ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterHighSeasSalesCharge'.$index ?>" id="<?php echo 'AfterHighSeasSalesCharge'.$index ?>" value="<?php echo $record->AfterHighSeasSalesCharge ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterHighSeasSalesCharge'.$index ?>" id="<?php echo 'beforeAfterHighSeasSalesCharge'.$index ?>" value="<?php echo $record->AfterHighSeasSalesCharge ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'CustomDuty'.$index ?>" id="<?php echo 'CustomDuty'.$index ?>" value="<?php echo $record->CustomDuty ; ?>" />
|
<input type="hidden" name="<?php echo 'CustomDuty'.$index ?>" id="<?php echo 'CustomDuty'.$index ?>" value="<?php echo $record->CustomDuty ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeCustomDuty'.$index ?>" id="<?php echo 'beforeCustomDuty'.$index ?>" value="<?php echo $record->CustomDuty ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterCustomDuty'.$index ?>" id="<?php echo 'AfterCustomDuty'.$index ?>" value="<?php echo $record->AfterCustomDuty ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterCustomDuty'.$index ?>" id="<?php echo 'AfterCustomDuty'.$index ?>" value="<?php echo $record->AfterCustomDuty ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterCustomDuty'.$index ?>" id="<?php echo 'beforeAfterCustomDuty'.$index ?>" value="<?php echo $record->AfterCustomDuty ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ExciseDuty'.$index ?>" id="<?php echo 'ExciseDuty'.$index ?>" value="<?php echo $record->ExciseDuty ; ?>" />
|
<input type="hidden" name="<?php echo 'ExciseDuty'.$index ?>" id="<?php echo 'ExciseDuty'.$index ?>" value="<?php echo $record->ExciseDuty ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeExciseDuty'.$index ?>" id="<?php echo 'beforeExciseDuty'.$index ?>" value="<?php echo $record->ExciseDuty ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterExciseDuty'.$index ?>" id="<?php echo 'AfterExciseDuty'.$index ?>" value="<?php echo $record->AfterExciseDuty ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterExciseDuty'.$index ?>" id="<?php echo 'AfterExciseDuty'.$index ?>" value="<?php echo $record->AfterExciseDuty ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterExciseDuty'.$index ?>" id="<?php echo 'beforeAfterExciseDuty'.$index ?>" value="<?php echo $record->AfterExciseDuty ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ExciseDutyEdCess'.$index ?>" id="<?php echo 'ExciseDutyEdCess'.$index ?>" value="<?php echo $record->ExciseDutyEdCess ; ?>" />
|
<input type="hidden" name="<?php echo 'ExciseDutyEdCess'.$index ?>" id="<?php echo 'ExciseDutyEdCess'.$index ?>" value="<?php echo $record->ExciseDutyEdCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeExciseDutyEdCess'.$index ?>" id="<?php echo 'beforeExciseDutyEdCess'.$index ?>" value="<?php echo $record->ExciseDutyEdCess ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterExciseDutyEdCess'.$index ?>" id="<?php echo 'AfterExciseDutyEdCess'.$index ?>" value="<?php echo $record->AfterExciseDutyEdCess ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterExciseDutyEdCess'.$index ?>" id="<?php echo 'AfterExciseDutyEdCess'.$index ?>" value="<?php echo $record->AfterExciseDutyEdCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterExciseDutyEdCess'.$index ?>" id="<?php echo 'beforeAfterExciseDutyEdCess'.$index ?>" value="<?php echo $record->AfterExciseDutyEdCess ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'CustomEdCess'.$index ?>" id="<?php echo 'CustomEdCess'.$index ?>" value="<?php echo $record->CustomEdCess ; ?>" />
|
<input type="hidden" name="<?php echo 'CustomEdCess'.$index ?>" id="<?php echo 'CustomEdCess'.$index ?>" value="<?php echo $record->CustomEdCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeCustomEdCess'.$index ?>" id="<?php echo 'CustomEdCess'.$index ?>" value="<?php echo $record->CustomEdCess ; ?>" />
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterCustomEdCess'.$index ?>" id="<?php echo 'AfterCustomEdCess'.$index ?>" value="<?php echo $record->AfterCustomEdCess ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterCustomEdCess'.$index ?>" id="<?php echo 'AfterCustomEdCess'.$index ?>" value="<?php echo $record->AfterCustomEdCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterCustomEdCess'.$index ?>" id="<?php echo 'beforeAfterCustomEdCess'.$index ?>" value="<?php echo $record->AfterCustomEdCess ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ExchangeRate'.$index ?>" id="<?php echo 'ExchangeRate'.$index ?>" value="<?php echo $record->ExchangeRate ; ?>" />
|
<input type="hidden" name="<?php echo 'ExchangeRate'.$index ?>" id="<?php echo 'ExchangeRate'.$index ?>" value="<?php echo $record->ExchangeRate ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeExchangeRate'.$index ?>" id="<?php echo 'beforeExchangeRate'.$index ?>" value="<?php echo $record->ExchangeRate ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AddlExciseDuty'.$index ?>" id="<?php echo 'AddlExciseDuty'.$index ?>" value="<?php echo $record->AddlExciseDuty ; ?>" />
|
<input type="hidden" name="<?php echo 'AddlExciseDuty'.$index ?>" id="<?php echo 'AddlExciseDuty'.$index ?>" value="<?php echo $record->AddlExciseDuty ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAddlExciseDuty'.$index ?>" id="<?php echo 'beforeAddlExciseDuty'.$index ?>" value="<?php echo $record->AddlExciseDuty ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterAddlExciseDuty'.$index ?>" id="<?php echo 'AfterAddlExciseDuty'.$index ?>" value="<?php echo $record->AfterAddlExciseDuty; ?>" />
|
<input type="hidden" name="<?php echo 'AfterAddlExciseDuty'.$index ?>" id="<?php echo 'AfterAddlExciseDuty'.$index ?>" value="<?php echo $record->AfterAddlExciseDuty; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterAddlExciseDuty'.$index ?>" id="<?php echo 'beforeAfterAddlExciseDuty'.$index ?>" value="<?php echo $record->AfterAddlExciseDuty; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'Grossdutypayable'.$index ?>" id="<?php echo 'Grossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable; ?>" />
|
<input type="hidden" name="<?php echo 'Grossdutypayable'.$index ?>" id="<?php echo 'Grossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeGrossdutypayable'.$index ?>" id="<?php echo 'beforeGrossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AvailableModvat'.$index ?>" id="<?php echo 'AvailableModvat'.$index ?>" value="<?php echo $record->AvailableModvat; ?>" />
|
<input type="hidden" name="<?php echo 'AvailableModvat'.$index ?>" id="<?php echo 'AvailableModvat'.$index ?>" value="<?php echo $record->AvailableModvat; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAvailableModvat'.$index ?>" id="<?php echo 'beforeAvailableModvat'.$index ?>" value="<?php echo $record->AvailableModvat; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" id="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
<input type="hidden" name="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" id="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeGrossexpensesduetocustomduty'.$index ?>" id="<?php echo 'beforeGrossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'purchaseratePerKG'.$index ?>" id="<?php echo 'purchaseratePerKG'.$index ?>" value="<?php echo $record->purchaseratePerKG; ?>" />
|
<input type="hidden" name="<?php echo 'purchaseratePerKG'.$index ?>" id="<?php echo 'purchaseratePerKG'.$index ?>" value="<?php echo $record->purchaseratePerKG; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforepurchaseratePerKG'.$index ?>" id="<?php echo 'beforepurchaseratePerKG'.$index ?>" value="<?php echo $record->purchaseratePerKG; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'CustomDutyExpensesPerKG'.$index ?>" id="<?php echo 'CustomDutyExpensesPerKG'.$index ?>" value="<?php echo $record->CustomDutyExpensesPerKG; ?>" />
|
<input type="hidden" name="<?php echo 'CustomDutyExpensesPerKG'.$index ?>" id="<?php echo 'CustomDutyExpensesPerKG'.$index ?>" value="<?php echo $record->CustomDutyExpensesPerKG; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeCustomDutyExpensesPerKG'.$index ?>" id="<?php echo 'beforeCustomDutyExpensesPerKG'.$index ?>" value="<?php echo $record->CustomDutyExpensesPerKG; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" id="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" value="<?php echo $record->RMCIncludingCustomersPerKG; ?>" />
|
<input type="hidden" name="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" id="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" value="<?php echo $record->RMCIncludingCustomersPerKG; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeRMCIncludingCustomersPerKG'.$index ?>" id="<?php echo 'beforeRMCIncludingCustomersPerKG'.$index ?>" value="<?php echo $record->RMCIncludingCustomersPerKG; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'QuantityKG'.$index ?>" id="<?php echo 'QuantityKG'.$index ?>" value="<?php echo $record->QuantityKG; ?>" />
|
<input type="hidden" name="<?php echo 'QuantityKG'.$index ?>" id="<?php echo 'QuantityKG'.$index ?>" value="<?php echo $record->QuantityKG; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeQuantityKG'.$index ?>" id="<?php echo 'beforeQuantityKG'.$index ?>" value="<?php echo $record->QuantityKG; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'BasicPriceInMTon'.$index ?>" id="<?php echo 'BasicPriceInMTon'.$index ?>" value="<?php echo $record->BasicPriceInMTon ; ?>" />
|
<input type="hidden" name="<?php echo 'BasicPriceInMTon'.$index ?>" id="<?php echo 'BasicPriceInMTon'.$index ?>" value="<?php echo $record->BasicPriceInMTon ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeBasicPriceInMTon'.$index ?>" id="<?php echo 'beforeBasicPriceInMTon'.$index ?>" value="<?php echo $record->BasicPriceInMTon ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ProductPrice'.$index ?>" id="<?php echo 'ProductPrice'.$index ?>" value="<?php echo $record->ProductPrice ; ?>" />
|
<input type="hidden" name="<?php echo 'ProductPrice'.$index ?>" id="<?php echo 'ProductPrice'.$index ?>" value="<?php echo $record->ProductPrice ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeProductPrice'.$index ?>" id="<?php echo 'beforeProductPrice'.$index ?>" value="<?php echo $record->ProductPrice ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ExciseDutySHCess'.$index ?>" id="<?php echo 'ExciseDutySHCess'.$index ?>" value="<?php echo $record->ExciseDutySHCess ; ?>" />
|
<input type="hidden" name="<?php echo 'ExciseDutySHCess'.$index ?>" id="<?php echo 'ExciseDutySHCess'.$index ?>" value="<?php echo $record->ExciseDutySHCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeExciseDutySHCess'.$index ?>" id="<?php echo 'beforeExciseDutySHCess'.$index ?>" value="<?php echo $record->ExciseDutySHCess ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterExciseDutySHCess'.$index ?>" id="<?php echo 'AfterExciseDutySHCess'.$index ?>" value="<?php echo $record->AfterExciseDutySHCess ; ?>" />
|
<input type="hidden" name="<?php echo 'AfterExciseDutySHCess'.$index ?>" id="<?php echo 'AfterExciseDutySHCess'.$index ?>" value="<?php echo $record->AfterExciseDutySHCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterExciseDutySHCess'.$index ?>" id="<?php echo 'beforeAfterExciseDutySHCess'.$index ?>" value="<?php echo $record->AfterExciseDutySHCess ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'CustomSHCess'.$index ?>" id="<?php echo 'CustomSHCess'.$index ?>" value="<?php echo $record->CustomSHCess ; ?>" />
|
<input type="hidden" name="<?php echo 'CustomSHCess'.$index ?>" id="<?php echo 'CustomSHCess'.$index ?>" value="<?php echo $record->CustomSHCess ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeCustomSHCess'.$index ?>" id="<?php echo 'beforeCustomSHCess'.$index ?>" value="<?php echo $record->CustomSHCess ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterCustomSHCess'.$index ?>" id="<?php echo 'AfterCustomSHCess'.$index ?>" value="<?php echo $record->AfterCustomSHCess; ?>" />
|
<input type="hidden" name="<?php echo 'AfterCustomSHCess'.$index ?>" id="<?php echo 'AfterCustomSHCess'.$index ?>" value="<?php echo $record->AfterCustomSHCess; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterCustomSHCess'.$index ?>" id="<?php echo 'beforeAfterCustomSHCess'.$index ?>" value="<?php echo $record->AfterCustomSHCess; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'Grossdutypayable'.$index ?>" id="<?php echo 'Grossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable ; ?>" />
|
<input type="hidden" name="<?php echo 'Grossdutypayable'.$index ?>" id="<?php echo 'Grossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeGrossdutypayable'.$index ?>" id="<?php echo 'beforeGrossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'QuantityKG'.$index ?>" id="<?php echo 'QuantityKG'.$index ?>" value="<?php echo $record->QuantityKG ; ?>" />
|
<input type="hidden" name="<?php echo 'QuantityKG'.$index ?>" id="<?php echo 'QuantityKG'.$index ?>" value="<?php echo $record->QuantityKG ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeQuantityKG'.$index ?>" id="<?php echo 'beforeQuantityKG'.$index ?>" value="<?php echo $record->QuantityKG ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'purchaseratePerKG'.$index ?>" id="<?php echo 'purchaseratePerKG'.$index ?>" value="<?php echo $record->purchaseratePerKG ; ?>" />
|
<input type="hidden" name="<?php echo 'purchaseratePerKG'.$index ?>" id="<?php echo 'purchaseratePerKG'.$index ?>" value="<?php echo $record->purchaseratePerKG ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforepurchaseratePerKG'.$index ?>" id="<?php echo 'beforepurchaseratePerKG'.$index ?>" value="<?php echo $record->purchaseratePerKG ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" id="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" value="<?php echo $record->RMCIncludingCustomersPerKG ; ?>" />
|
<input type="hidden" name="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" id="<?php echo 'RMCIncludingCustomersPerKG'.$index ?>" value="<?php echo $record->RMCIncludingCustomersPerKG ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeRMCIncludingCustomersPerKG'.$index ?>" id="<?php echo 'beforeRMCIncludingCustomersPerKG'.$index ?>" value="<?php echo $record->RMCIncludingCustomersPerKG ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'BasicPriceInMTon'.$index ?>" id="<?php echo 'BasicPriceInMTonG'.$index ?>" value="<?php echo $record->BasicPriceInMTon ; ?>" />
|
<input type="hidden" name="<?php echo 'BasicPriceInMTon'.$index ?>" id="<?php echo 'BasicPriceInMTonG'.$index ?>" value="<?php echo $record->BasicPriceInMTon ; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeBasicPriceInMTon'.$index ?>" id="<?php echo 'beforeBasicPriceInMTonG'.$index ?>" value="<?php echo $record->BasicPriceInMTon ; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ProductPrice'.$index ?>" id="<?php echo 'ProductPrice'.$index ?>" value="<?php echo $record->ProductPrice; ?>" />
|
<input type="hidden" name="<?php echo 'ProductPrice'.$index ?>" id="<?php echo 'ProductPrice'.$index ?>" value="<?php echo $record->ProductPrice; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeProductPrice'.$index ?>" id="<?php echo 'beforeProductPrice'.$index ?>" value="<?php echo $record->ProductPrice; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'CustomEdCess'.$index ?>" id="<?php echo 'CustomEdCess'.$index ?>" value="<?php echo $record->CustomEdCess; ?>" />
|
<input type="hidden" name="<?php echo 'CustomEdCess'.$index ?>" id="<?php echo 'CustomEdCess'.$index ?>" value="<?php echo $record->CustomEdCess; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeCustomEdCess'.$index ?>" id="<?php echo 'beforeCustomEdCess'.$index ?>" value="<?php echo $record->CustomEdCess; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterCustomEdCess'.$index ?>" id="<?php echo 'AfterCustomEdCess'.$index ?>" value="<?php echo $record->AfterCustomEdCess; ?>" />
|
<input type="hidden" name="<?php echo 'AfterCustomEdCess'.$index ?>" id="<?php echo 'AfterCustomEdCess'.$index ?>" value="<?php echo $record->AfterCustomEdCess; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterCustomEdCess'.$index ?>" id="<?php echo 'beforeAfterCustomEdCess'.$index ?>" value="<?php echo $record->AfterCustomEdCess; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'ExciseDutySHCess'.$index ?>" id="<?php echo 'ExciseDutySHCess'.$index ?>" value="<?php echo $record->ExciseDutySHCess; ?>" />
|
<input type="hidden" name="<?php echo 'ExciseDutySHCess'.$index ?>" id="<?php echo 'ExciseDutySHCess'.$index ?>" value="<?php echo $record->ExciseDutySHCess; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeExciseDutySHCess'.$index ?>" id="<?php echo 'beforeExciseDutySHCess'.$index ?>" value="<?php echo $record->ExciseDutySHCess; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AfterExciseDutySHCess'.$index ?>" id="<?php echo 'AfterExciseDutySHCess'.$index ?>" value="<?php echo $record->AfterExciseDutySHCess; ?>" />
|
<input type="hidden" name="<?php echo 'AfterExciseDutySHCess'.$index ?>" id="<?php echo 'AfterExciseDutySHCess'.$index ?>" value="<?php echo $record->AfterExciseDutySHCess; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeAfterExciseDutySHCess'.$index ?>" id="<?php echo 'beforeAfterExciseDutySHCess'.$index ?>" value="<?php echo $record->AfterExciseDutySHCess; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'Grossdutypayable'.$index ?>" id="<?php echo 'Grossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable; ?>" />
|
<input type="hidden" name="<?php echo 'Grossdutypayable'.$index ?>" id="<?php echo 'Grossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeGrossdutypayable'.$index ?>" id="<?php echo 'beforeGrossdutypayable'.$index ?>" value="<?php echo $record->Grossdutypayable; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'AvailableModvat'.$index ?>" id="<?php echo 'AvailableModvat'.$index ?>" value="<?php echo $record->AvailableModvat; ?>" />
|
<input type="hidden" name="<?php echo 'AvailableModvat'.$index ?>" id="<?php echo 'AvailableModvat'.$index ?>" value="<?php echo $record->AvailableModvat; ?>" />
|
||||||
<input type="hidden" name="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" id="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
<input type="hidden" name="<?php echo 'beforeAvailableModvat'.$index ?>" id="<?php echo 'beforeAvailableModvat'.$index ?>" value="<?php echo $record->AvailableModvat; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" id="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
<input type="hidden" name="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" id="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeGrossexpensesduetocustomduty'.$index ?>" id="<?php echo 'beforeGrossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<input type="hidden" name="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" id="<?php echo 'Grossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeGrossexpensesduetocustomduty'.$index ?>" id="<?php echo 'beforeGrossexpensesduetocustomduty'.$index ?>" value="<?php echo $record->Grossexpensesduetocustomduty; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'BasicINRValue'.$index ?>" id="<?php echo 'BasicINRValue'.$index ?>" value="<?php echo $record->BasicINRValue; ?>" />
|
<input type="hidden" name="<?php echo 'BasicINRValue'.$index ?>" id="<?php echo 'BasicINRValue'.$index ?>" value="<?php echo $record->BasicINRValue; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeBasicINRValue'.$index ?>" id="<?php echo 'beforeBasicINRValue'.$index ?>" value="<?php echo $record->BasicINRValue; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<input type="hidden" name="<?php echo 'TotalValue'.$index ?>" id="<?php echo 'TotalValue'.$index ?>" value="<?php echo $record->TotalOrderValue; ?>" />
|
||||||
|
<input type="hidden" name="<?php echo 'beforeTotalValue'.$index ?>" id="<?php echo 'beforeTotalValue'.$index ?>" value="<?php echo $record->TotalOrderValue; ?>" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<input type="hidden" name="<?php echo 'TotalValue'.$index ?>" id="<?php echo 'TotalValue'.$index ?>" value="<?php echo $record->TotalValue; ?>" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1248,7 +1433,7 @@ body {
|
|||||||
$totavlmodvat=$totavlmodvat+$record->AvailableModvat;
|
$totavlmodvat=$totavlmodvat+$record->AvailableModvat;
|
||||||
$totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty;
|
$totgrossexpense=$totgrossexpense+$record->Grossexpensesduetocustomduty;
|
||||||
$ExchangeRate=$record->ExchangeRate;
|
$ExchangeRate=$record->ExchangeRate;
|
||||||
$totorder=$totorder+$record->BasicPriceInMTon;
|
$totorder=$totorder+$record->TotalOrderValue;
|
||||||
//alert($totorder);
|
//alert($totorder);
|
||||||
|
|
||||||
|
|
||||||
@ -1381,9 +1566,9 @@ body {
|
|||||||
|
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<!-- <label>Total Order Value :</label> --> <?php
|
<label>Total Order Value :</label> <?php
|
||||||
$data = array('name' => 'txtToatlOrder','value' => set_value('txtToatlOrder',$totorder),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true');
|
$data = array('name' => 'txtToatlOrder','value' => set_value('txtToatlOrder',$totorder),'id'=>'txtToatlOrder', 'class' => 'form-control' ,'required' => 'true','readonly' => 'true');
|
||||||
// echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1408,6 +1593,12 @@ body {
|
|||||||
<input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>"/>
|
<input type="hidden" name="txtPONO" id="txtPONO" value="<?php echo $PONO; ?>"/>
|
||||||
<input type="hidden" name="txtTotalorderValue" id="txtTotalorderValue" />
|
<input type="hidden" name="txtTotalorderValue" id="txtTotalorderValue" />
|
||||||
|
|
||||||
|
<input type="hidden" name="beforePlaceOforigin" id="beforePlaceOforigin" value="<?php echo $Import_PlaceofOrgin;?>" />
|
||||||
|
<input type="hidden" name="beforePaymentterms" id="beforePaymentterms" value="<?php echo $PaymentTerms;?>" />
|
||||||
|
|
||||||
|
<!-- <input type="hidden" name="beforeschedule" id="beforeschedule" value="<?php echo $DeliverySchedule;?>" />
|
||||||
|
<input type="hidden" name="beforeDispatch" id="beforeschedule" value="<?php echo $Import_DispatchDetails;?>" /> -->
|
||||||
|
|
||||||
<?php //if($PONOStatus == PO_DRAFT) {?>
|
<?php //if($PONOStatus == PO_DRAFT) {?>
|
||||||
<!-- <a class="btn btn-primary Save" ID="Save" onclick="Save(0)" > <span class="bold">Save</span></a> -->
|
<!-- <a class="btn btn-primary Save" ID="Save" onclick="Save(0)" > <span class="bold">Save</span></a> -->
|
||||||
<a class="btn btn-primary Submit" ID="Submit" onclick="Save(1)" > <span class="bold">Submit</span></a>
|
<a class="btn btn-primary Submit" ID="Submit" onclick="Save(1)" > <span class="bold">Submit</span></a>
|
||||||
@ -1444,12 +1635,15 @@ body {
|
|||||||
echo form_input($data);
|
echo form_input($data);
|
||||||
?>
|
?>
|
||||||
</div><br/>
|
</div><br/>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1720,7 +1914,7 @@ function USRate()
|
|||||||
}
|
}
|
||||||
|
|
||||||
function EditRatechange()
|
function EditRatechange()
|
||||||
{
|
{//alert('in');
|
||||||
var txteditQuantity=parseFloat($('#EditQuantity').val());
|
var txteditQuantity=parseFloat($('#EditQuantity').val());
|
||||||
var txteditUnitPrice=parseFloat($('#EditRate').val());
|
var txteditUnitPrice=parseFloat($('#EditRate').val());
|
||||||
var editTot=txteditQuantity*txteditUnitPrice
|
var editTot=txteditQuantity*txteditUnitPrice
|
||||||
@ -2788,7 +2982,7 @@ $('#editimportpomodel').on("shown.bs.modal", function(e) {
|
|||||||
$('.EditImport').click(function(){
|
$('.EditImport').click(function(){
|
||||||
//alert('inside edit');
|
//alert('inside edit');
|
||||||
|
|
||||||
var CostCode = $("#EditCostCenter").val();
|
var CostCode = $("#EditCostCenter").val();
|
||||||
var AvilBudget = $('#EditAvlBudAmt').val();
|
var AvilBudget = $('#EditAvlBudAmt').val();
|
||||||
var editMaterialCode = $("#EditMaterialCode").val();
|
var editMaterialCode = $("#EditMaterialCode").val();
|
||||||
var edititemname = $("#EditItemName").val();
|
var edititemname = $("#EditItemName").val();
|
||||||
@ -2796,7 +2990,8 @@ $('.EditImport').click(function(){
|
|||||||
var editQuantity = $('#EditQuantity').val();
|
var editQuantity = $('#EditQuantity').val();
|
||||||
var itemRate = $("#EditRate").val();
|
var itemRate = $("#EditRate").val();
|
||||||
var BasicValue=$("#EdittxtBasicValue").val();
|
var BasicValue=$("#EdittxtBasicValue").val();
|
||||||
|
var BasicUSPrice=$("#EditimBasicPrice").val();
|
||||||
|
//var BasicValue=$("#EdittxtBasicValue").val();
|
||||||
var BasicPrice=$("#EditBasicPriceTax").val();
|
var BasicPrice=$("#EditBasicPriceTax").val();
|
||||||
var AfterBasicPrice=$("#EditAfterBasicPriceTax").val();
|
var AfterBasicPrice=$("#EditAfterBasicPriceTax").val();
|
||||||
var Landingcharge=$("#EditLandingCharge").val();
|
var Landingcharge=$("#EditLandingCharge").val();
|
||||||
@ -2815,7 +3010,7 @@ $('.EditImport').click(function(){
|
|||||||
var AfterCustomED=$("#EditAfterCustomEDcess").val();
|
var AfterCustomED=$("#EditAfterCustomEDcess").val();
|
||||||
var CustomSH=$("#EditCustomSHcess").val();
|
var CustomSH=$("#EditCustomSHcess").val();
|
||||||
var AfterCustomSH=$("#EditAfterCustomSHcess").val();
|
var AfterCustomSH=$("#EditAfterCustomSHcess").val();
|
||||||
var AdditionalExciseduty=$("#EditAdditionalExciseduty").val();
|
var AdditionalExciseduty=$("#EditAdditionalExciseduty ").val();
|
||||||
var AfterAdditionalExciseduty=$("#EditAfterAdditionalExciseduty").val();
|
var AfterAdditionalExciseduty=$("#EditAfterAdditionalExciseduty").val();
|
||||||
var GrossDuty=$("#EditGrossdutypayable").val();
|
var GrossDuty=$("#EditGrossdutypayable").val();
|
||||||
var AvailaleModvat=$("#EditAvailableModvat").val();
|
var AvailaleModvat=$("#EditAvailableModvat").val();
|
||||||
@ -2824,7 +3019,10 @@ $('.EditImport').click(function(){
|
|||||||
var Quantity=$("#EditPurQuantity").val();
|
var Quantity=$("#EditPurQuantity").val();
|
||||||
var CustomDutyExpense=$("#EditCustomDutyExpenses").val();
|
var CustomDutyExpense=$("#EditCustomDutyExpenses").val();
|
||||||
var RMC=$("#EditRMCIncludingCustomers").val();
|
var RMC=$("#EditRMCIncludingCustomers").val();
|
||||||
var TotalExp=$('#EditTotalExp').val();
|
var TotalExp=$('#EdittxtBasicValue').val();
|
||||||
|
//alert(itemRate);
|
||||||
|
|
||||||
|
//console.log(editQuantity);
|
||||||
|
|
||||||
var tr= document.getElementById(userid);
|
var tr= document.getElementById(userid);
|
||||||
var cellval = tr.cells;
|
var cellval = tr.cells;
|
||||||
@ -2836,45 +3034,50 @@ $('.EditImport').click(function(){
|
|||||||
cellval[6].innerHTML =BasicValue;
|
cellval[6].innerHTML =BasicValue;
|
||||||
|
|
||||||
$('#materialCode'+userid).val(editMaterialCode);
|
$('#materialCode'+userid).val(editMaterialCode);
|
||||||
$('#AvilBudget'+userid).val(AvilBudget);
|
|
||||||
$('#materialName'+userid).val(edititemname);
|
$('#materialName'+userid).val(edititemname);
|
||||||
$('#uom'+userid).val(editUOM);
|
$('#uom'+userid).val(editUOM);
|
||||||
$('#quantity'+userid).val(editQuantity);
|
$('#quantity'+userid).val(editQuantity);
|
||||||
$('#itemRate'+userid).val(itemRate);
|
$('#itemRate'+userid).val(itemRate);
|
||||||
$('#ProductPrice'+userid).val(BasicValue);
|
$('#BasicAmt'+userid).val(BasicValue);
|
||||||
|
$('#BasicPriceInMTon'+userid).val(BasicUSPrice);
|
||||||
$('#BasicPriceTax'+userid).val(BasicPrice);
|
$('#BasicPriceTax'+userid).val(BasicPrice);
|
||||||
$('#AfterBasicPriceTax'+userid).val(AfterBasicPrice);
|
$('#AfterBasicPriceTax'+userid).val(AfterBasicPrice);
|
||||||
$('#LandingCharge'+userid).val(Landingcharge);
|
$('#LandingCharge'+userid).val(Landingcharge);
|
||||||
$('#AfterLandingCharge'+userid).val(AfterLanding);
|
$('#AfterLandingCharge'+userid).val(AfterLanding);
|
||||||
$('#Highseass'+userid).val(Highseass);
|
$('#HighSeasSalesCharge'+userid).val(Highseass);
|
||||||
$('#AfterHighseass'+userid).val(AfterHighseas);
|
$('#AfterHighSeasSalesCharge'+userid).val(AfterHighseas);
|
||||||
$('#Customduty'+userid).val(CustomDuty);
|
$('#CustomDuty'+userid).val(CustomDuty);
|
||||||
$('#AfterCustomduty'+userid).val(AfterCustomDuty);
|
$('#AfterCustomDuty'+userid).val(AfterCustomDuty);
|
||||||
$('#ExcisedutyTax'+userid).val(ExciseDuty);
|
$('#ExciseDuty'+userid).val(ExciseDuty);
|
||||||
$('#AfterExcisedutyTax'+userid).val(AfterExciseDuty);
|
$('#AfterExciseDuty'+userid).val(AfterExciseDuty);
|
||||||
$('#ExcisedutyED'+userid).val(ExciseEd);
|
$('#ExciseDutyEdCess'+userid).val(ExciseEd);
|
||||||
$('#AfterExcisedutyED'+userid).val(AfterExciseEd);
|
$('#AfterExciseDutyEdCess'+userid).val(AfterExciseEd);
|
||||||
$('#ExcisedutySH'+userid).val(ExciseDutySH);
|
$('#ExciseDutySHCess'+userid).val(ExciseDutySH);
|
||||||
$('#AfterExcisedutySH'+userid).val(AfterExciseDutySH);
|
$('#AfterExciseDutySHCess'+userid).val(AfterExciseDutySH);
|
||||||
$('#CustomEDcess'+userid).val(CustomED);
|
$('#CustomEdCess'+userid).val(CustomED);
|
||||||
$('#AfterCustomEDcess'+userid).val(AfterCustomED);
|
$('#AfterCustomEdCess'+userid).val(AfterCustomED);
|
||||||
$('#CustomSHcess'+userid).val(CustomSH);
|
$('#CustomSHCess'+userid).val(CustomSH);
|
||||||
$('#AfterCustomSHcess'+userid).val(AfterCustomSH);
|
$('#AfterCustomSHCess'+userid).val(AfterCustomSH);
|
||||||
$('#AddlExciseDuty'+userid).val(AdditionalExciseduty);
|
$('#AddlExciseDuty'+userid).val(AdditionalExciseduty);
|
||||||
$('#AfterAddlExciseDuty'+userid).val(AfterAdditionalExciseduty);
|
$('#AfterAddlExciseDuty'+userid).val(AfterAdditionalExciseduty);
|
||||||
$('#Grossdutypayable'+userid).val(GrossDuty);
|
$('#Grossdutypayable'+userid).val(GrossDuty);
|
||||||
$('#Grossexpenses'+userid).val(GrossExpense);
|
$('#Grossexpensesduetocustomduty'+userid).val(GrossExpense);
|
||||||
$('#purchaserate'+userid).val(PurchaseRate);
|
$('#purchaseratePerKG'+userid).val(PurchaseRate);
|
||||||
$('#PurQuantity'+userid).val(Quantity);
|
$('#QuantityKG'+userid).val(Quantity);
|
||||||
$('#CustomDutyExpenses'+userid).val(CustomDutyExpense);
|
$('#CustomDutyExpensesPerKG'+userid).val(CustomDutyExpense);
|
||||||
$('#RMCIncludingCustomers'+userid).val(RMC);
|
$('#RMCIncludingCustomersPerKG'+userid).val(RMC);
|
||||||
$('#TotalExp'+userid).val(TotalExp);
|
$('#TotalValue'+userid).val(TotalExp);
|
||||||
|
$('#AvailableModvat'+userid).val(AvailaleModvat);
|
||||||
|
//var a=parseFloat($('#HighSeasSalesCharge'+userid).val());
|
||||||
|
//console.log(a);
|
||||||
populateValueMainFormForEditImportTax();
|
populateValueMainFormForEditImportTax();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function populateValueMainFormForEditImportTax()
|
function populateValueMainFormForEditImportTax()
|
||||||
{
|
{
|
||||||
var rows =document.getElementById('ImportTax').rows.length;
|
var rows =document.getElementById('ImportTax').rows.length;
|
||||||
@ -2890,7 +3093,8 @@ function populateValueMainFormForEditImportTax()
|
|||||||
var TotalGrossDuty=0;
|
var TotalGrossDuty=0;
|
||||||
var TotalAvlmodvat=0;
|
var TotalAvlmodvat=0;
|
||||||
var TotalGrossExpense=0;
|
var TotalGrossExpense=0;
|
||||||
var totvalue = 0;
|
var Totalvalue=0;
|
||||||
|
var TotalOrdervalue=0;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
var TotalRMC=0;
|
var TotalRMC=0;
|
||||||
do{
|
do{
|
||||||
@ -2900,11 +3104,9 @@ function populateValueMainFormForEditImportTax()
|
|||||||
{
|
{
|
||||||
cells = tr.getElementsByTagName('td');
|
cells = tr.getElementsByTagName('td');
|
||||||
var rowid = cells[0].innerHTML;
|
var rowid = cells[0].innerHTML;
|
||||||
var qty = $('#quantity'+userid).val();
|
|
||||||
var rate = $('#itemRate'+userid).val();
|
|
||||||
var total = parseFloat(qty) * parseFloat(rate);
|
|
||||||
|
|
||||||
var AfterLandingCharge= $('#AfterLandingCharge'+rowid).val() == '' ? '0.00' : $('#AfterLandingCharge'+rowid).val();
|
var AfterLandingCharge= $('#AfterLandingCharge'+rowid).val() == '' ? '0.00' : $('#AfterLandingCharge'+rowid).val();
|
||||||
|
//console.log(AfterLandingCharge);
|
||||||
var AfterHighseas=$('#AfterHighSeasSalesCharge'+rowid).val()==''?'0.00':$('#AfterHighSeasSalesCharge'+rowid).val();
|
var AfterHighseas=$('#AfterHighSeasSalesCharge'+rowid).val()==''?'0.00':$('#AfterHighSeasSalesCharge'+rowid).val();
|
||||||
var AfterCustomduty=$('#AfterCustomDuty'+rowid).val()==''?'0.00':$('#AfterCustomDuty'+rowid).val();
|
var AfterCustomduty=$('#AfterCustomDuty'+rowid).val()==''?'0.00':$('#AfterCustomDuty'+rowid).val();
|
||||||
var AfterExcisedutyTax=$('#AfterExciseDuty'+rowid).val()==''?'0.00':$('#AfterExciseDuty'+rowid).val();
|
var AfterExcisedutyTax=$('#AfterExciseDuty'+rowid).val()==''?'0.00':$('#AfterExciseDuty'+rowid).val();
|
||||||
@ -2913,12 +3115,26 @@ var AfterExciseDutySH=$('#AfterExciseDutySHCess'+rowid).val()==''?'0.00':$('#Aft
|
|||||||
var AfterAdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
var AfterAdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
var AfterCustomEDcess=$('#AfterCustomEdCess'+rowid).val()==''?'0.00':$('#AfterCustomEdCess'+rowid).val();
|
var AfterCustomEDcess=$('#AfterCustomEdCess'+rowid).val()==''?'0.00':$('#AfterCustomEdCess'+rowid).val();
|
||||||
var AfterCustomSHcess=$('#AfterCustomSHCess'+rowid).val()==''?'0.00':$('#AfterCustomSHCess'+rowid).val();
|
var AfterCustomSHcess=$('#AfterCustomSHCess'+rowid).val()==''?'0.00':$('#AfterCustomSHCess'+rowid).val();
|
||||||
var AdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
//var AdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
||||||
var AvailableModvat=$('#AvailableModvat'+rowid).val()==''?'0.00':$('#AvailableModvat'+rowid).val();
|
var AvailableModvat=$('#AvailableModvat'+rowid).val()==''?'0.00':$('#AvailableModvat'+rowid).val();
|
||||||
var Grossexpenses=$('#Grossexpensesduetocustomduty'+rowid).val()==''?'0.00':$('#Grossexpensesduetocustomduty'+rowid).val();
|
var Grossexpenses=$('#Grossexpensesduetocustomduty'+rowid).val()==''?'0.00':$('#Grossexpensesduetocustomduty'+rowid).val();
|
||||||
var RMC=$('#RMCIncludingCustomersPerKG'+rowid).val()==''?'0.00':$('#RMCIncludingCustomersPerKG'+rowid).val();
|
var Totalvalue=$('#TotalValue'+rowid).val()==''?'0.00':$('#TotalValue'+rowid).val();
|
||||||
|
//var RMC=$('#RMCIncludingCustomers'+rowid).val()==''?'0.00':$('#RMCIncludingCustomers'+rowid).val();
|
||||||
|
|
||||||
|
//console.log(Totalvalue);
|
||||||
|
// console.log(AfterHighseas);
|
||||||
|
// console.log(AfterCustomduty);
|
||||||
|
//console.log(AfterExcisedutyTax);
|
||||||
|
// console.log(AfterExcisedutyEDcess);
|
||||||
|
// console.log(AfterExciseDutySH);
|
||||||
|
// console.log(AfterAdditionalExciseduty);
|
||||||
|
// console.log(AfterCustomEDcess);
|
||||||
|
// console.log(AfterCustomSHcess);
|
||||||
|
//console.log(AfterAdditionalExciseduty);
|
||||||
|
// console.log(Grossdutypayable);
|
||||||
|
// console.log(AvailableModvat);
|
||||||
|
// console.log(Grossexpenses);
|
||||||
TotalLanding = parseFloat(TotalLanding) + parseFloat(AfterLandingCharge);
|
TotalLanding = parseFloat(TotalLanding) + parseFloat(AfterLandingCharge);
|
||||||
TotalHighseas = parseFloat(TotalHighseas) + parseFloat(AfterHighseas);
|
TotalHighseas = parseFloat(TotalHighseas) + parseFloat(AfterHighseas);
|
||||||
TotalCustom = parseFloat(TotalCustom) + parseFloat(AfterCustomduty);
|
TotalCustom = parseFloat(TotalCustom) + parseFloat(AfterCustomduty);
|
||||||
@ -2927,13 +3143,15 @@ TotalExciseED = parseFloat(TotalExciseED ) + parseFloat(AfterExcisedutyEDcess);
|
|||||||
TotalExciseSH = parseFloat(TotalExciseSH) + parseFloat(AfterExciseDutySH);
|
TotalExciseSH = parseFloat(TotalExciseSH) + parseFloat(AfterExciseDutySH);
|
||||||
TotalCustomED = parseFloat(TotalCustomED) + parseFloat(AfterCustomEDcess);
|
TotalCustomED = parseFloat(TotalCustomED) + parseFloat(AfterCustomEDcess);
|
||||||
TotalCustomSH = parseFloat(TotalCustomSH ) + parseFloat(AfterCustomSHcess);
|
TotalCustomSH = parseFloat(TotalCustomSH ) + parseFloat(AfterCustomSHcess);
|
||||||
TotalAdditionalExcise = parseFloat(TotalAdditionalExcise ) + parseFloat(AdditionalExciseduty);
|
TotalAdditionalExcise = parseFloat(TotalAdditionalExcise ) + parseFloat(AfterAdditionalExciseduty);
|
||||||
TotalGrossDuty = parseFloat(TotalGrossDuty) + parseFloat(Grossdutypayable);
|
TotalGrossDuty = parseFloat(TotalGrossDuty) + parseFloat(Grossdutypayable);
|
||||||
TotalAvlmodvat = parseFloat(TotalAvlmodvat ) + parseFloat(AvailableModvat);
|
TotalAvlmodvat = parseFloat(TotalAvlmodvat ) + parseFloat(AvailableModvat);
|
||||||
TotalGrossExpense = parseFloat(TotalGrossExpense ) + parseFloat(Grossexpenses);
|
TotalGrossExpense = parseFloat(TotalGrossExpense ) + parseFloat(Grossexpenses);
|
||||||
//TotalRMC=parseFloat(TotalRMC)+parseFloat(RMC);
|
TotalOrdervalue=parseFloat(TotalOrdervalue)+parseFloat(Totalvalue);
|
||||||
totvalue = parseFloat(totvalue) + parseFloat(total);
|
|
||||||
|
|
||||||
|
//TotalRMC=parseFloat(TotalRMC)+parseFloat(RMC);
|
||||||
|
|
||||||
|
//console.log(Totalvalue);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2952,12 +3170,114 @@ TotalGrossExpense = parseFloat(TotalGrossExpense ) + parseFloat(Grossexpenses);
|
|||||||
$('#txttotalgrossduty').val(parseFloat(TotalGrossDuty).toFixed(2));
|
$('#txttotalgrossduty').val(parseFloat(TotalGrossDuty).toFixed(2));
|
||||||
$('#txttotalavlmodvat').val(parseFloat(TotalAvlmodvat).toFixed(2));
|
$('#txttotalavlmodvat').val(parseFloat(TotalAvlmodvat).toFixed(2));
|
||||||
$('#txttotalgrossexpense').val(parseFloat(TotalGrossExpense).toFixed(2));
|
$('#txttotalgrossexpense').val(parseFloat(TotalGrossExpense).toFixed(2));
|
||||||
|
$('#txtToatlOrder').val(parseFloat(TotalOrdervalue).toFixed(2));
|
||||||
$('#txtTotalorderValue').val(parseFloat(totvalue).toFixed(2));
|
//var a=parseFloat($('#txttotallanding').val());
|
||||||
|
//console.log(a);
|
||||||
|
|
||||||
|
|
||||||
|
//$('#txttotallanding').val(parseFloat(TotalLanding).toFixed(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// function populateValueMainFormForEditImportTax()
|
||||||
|
// {
|
||||||
|
// var rows =document.getElementById('ImportTax').rows.length;
|
||||||
|
// var TotalLanding=0;
|
||||||
|
// var TotalHighseas=0;
|
||||||
|
// var TotalCustom=0;
|
||||||
|
// var TotalExcise=0;
|
||||||
|
// var TotalExciseED=0;
|
||||||
|
// var TotalExciseSH=0;
|
||||||
|
// var TotalCustomED=0;
|
||||||
|
// var TotalCustomSH=0;
|
||||||
|
// var TotalAdditionalExcise=0;
|
||||||
|
// var TotalGrossDuty=0;
|
||||||
|
// var TotalAvlmodvat=0;
|
||||||
|
// var TotalGrossExpense=0;
|
||||||
|
// var totvalue = 0;
|
||||||
|
// var i = 0;
|
||||||
|
// var TotalRMC=0;
|
||||||
|
// do{
|
||||||
|
// i += 1;
|
||||||
|
// var tr= document.getElementById(i);
|
||||||
|
// if(tr != null)
|
||||||
|
// {
|
||||||
|
// cells = tr.getElementsByTagName('td');
|
||||||
|
// var rowid = cells[0].innerHTML;
|
||||||
|
// var qty = $('#quantity'+userid).val();
|
||||||
|
// var rate = $('#itemRate'+userid).val();
|
||||||
|
// var total = parseFloat(qty) * parseFloat(rate);
|
||||||
|
|
||||||
|
// // var AfterLandingCharge= $('#AfterLandingCharge'+rowid).val() == '' ? '0.00' : $('#AfterLandingCharge'+rowid).val();
|
||||||
|
// // var AfterHighseas=$('#AfterHighSeasSalesCharge'+rowid).val()==''?'0.00':$('#AfterHighSeasSalesCharge'+rowid).val();
|
||||||
|
// // var AfterCustomduty=$('#AfterCustomDuty'+rowid).val()==''?'0.00':$('#AfterCustomDuty'+rowid).val();
|
||||||
|
// // var AfterExcisedutyTax=$('#AfterExciseDuty'+rowid).val()==''?'0.00':$('#AfterExciseDuty'+rowid).val();
|
||||||
|
// // var AfterExcisedutyEDcess=$('#AfterExciseDutyEdCess'+rowid).val()==''?'0.00':$('#AfterExciseDutyEdCess'+rowid).val();
|
||||||
|
// // var AfterExciseDutySH=$('#AfterExciseDutySHCess'+rowid).val()==''?'0.00':$('#AfterExciseDutySHCess'+rowid).val();
|
||||||
|
// // var AfterAdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
|
// // var AfterCustomEDcess=$('#AfterCustomEdCess'+rowid).val()==''?'0.00':$('#AfterCustomEdCess'+rowid).val();
|
||||||
|
// // var AfterCustomSHcess=$('#AfterCustomSHCess'+rowid).val()==''?'0.00':$('#AfterCustomSHCess'+rowid).val();
|
||||||
|
// // var AdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
|
// // var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
||||||
|
// // var AvailableModvat=$('#AvailableModvat'+rowid).val()==''?'0.00':$('#AvailableModvat'+rowid).val();
|
||||||
|
// // var Grossexpenses=$('#Grossexpensesduetocustomduty'+rowid).val()==''?'0.00':$('#Grossexpensesduetocustomduty'+rowid).val();
|
||||||
|
// // var RMC=$('#RMCIncludingCustomersPerKG'+rowid).val()==''?'0.00':$('#RMCIncludingCustomersPerKG'+rowid).val();
|
||||||
|
// var AfterLandingCharge= $('#AfterLandingCharge'+rowid).val() == '' ? '0.00' : $('#AfterLandingCharge'+rowid).val();
|
||||||
|
// //console.log(AfterLandingCharge);
|
||||||
|
// var AfterHighseas=$('#AfterHighSeasSalesCharge'+rowid).val()==''?'0.00':$('#AfterHighSeasSalesCharge'+rowid).val();
|
||||||
|
// var AfterCustomduty=$('#AfterCustomDuty'+rowid).val()==''?'0.00':$('#AfterCustomDuty'+rowid).val();
|
||||||
|
// var AfterExcisedutyTax=$('#AfterExciseDuty'+rowid).val()==''?'0.00':$('#AfterExciseDuty'+rowid).val();
|
||||||
|
// var AfterExcisedutyEDcess=$('#AfterExciseDutyEdCess'+rowid).val()==''?'0.00':$('#AfterExciseDutyEdCess'+rowid).val();
|
||||||
|
// var AfterExciseDutySH=$('#AfterExciseDutySHCess'+rowid).val()==''?'0.00':$('#AfterExciseDutySHCess'+rowid).val();
|
||||||
|
// var AfterAdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
|
// var AfterCustomEDcess=$('#AfterCustomEdCess'+rowid).val()==''?'0.00':$('#AfterCustomEdCess'+rowid).val();
|
||||||
|
// var AfterCustomSHcess=$('#AfterCustomSHCess'+rowid).val()==''?'0.00':$('#AfterCustomSHCess'+rowid).val();
|
||||||
|
// //var AdditionalExciseduty=$('#AfterAddlExciseDuty'+rowid).val()==''?'0.00':$('#AfterAddlExciseDuty'+rowid).val();
|
||||||
|
// var Grossdutypayable=$('#Grossdutypayable'+rowid).val()==''?'0.00':$('#Grossdutypayable'+rowid).val();
|
||||||
|
// var AvailableModvat=$('#AvailableModvat'+rowid).val()==''?'0.00':$('#AvailableModvat'+rowid).val();
|
||||||
|
// var Grossexpenses=$('#Grossexpensesduetocustomduty'+rowid).val()==''?'0.00':$('#Grossexpensesduetocustomduty'+rowid).val();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// TotalLanding = parseFloat(TotalLanding) + parseFloat(AfterLandingCharge);
|
||||||
|
// TotalHighseas = parseFloat(TotalHighseas) + parseFloat(AfterHighseas);
|
||||||
|
// TotalCustom = parseFloat(TotalCustom) + parseFloat(AfterCustomduty);
|
||||||
|
// TotalExcise = parseFloat(TotalExcise) + parseFloat(AfterExcisedutyTax);
|
||||||
|
// TotalExciseED = parseFloat(TotalExciseED ) + parseFloat(AfterExcisedutyEDcess);
|
||||||
|
// TotalExciseSH = parseFloat(TotalExciseSH) + parseFloat(AfterExciseDutySH);
|
||||||
|
// TotalCustomED = parseFloat(TotalCustomED) + parseFloat(AfterCustomEDcess);
|
||||||
|
// TotalCustomSH = parseFloat(TotalCustomSH ) + parseFloat(AfterCustomSHcess);
|
||||||
|
// TotalAdditionalExcise = parseFloat(TotalAdditionalExcise ) + parseFloat(AdditionalExciseduty);
|
||||||
|
// TotalGrossDuty = parseFloat(TotalGrossDuty) + parseFloat(Grossdutypayable);
|
||||||
|
// TotalAvlmodvat = parseFloat(TotalAvlmodvat ) + parseFloat(AvailableModvat);
|
||||||
|
// TotalGrossExpense = parseFloat(TotalGrossExpense ) + parseFloat(Grossexpenses);
|
||||||
|
// //TotalRMC=parseFloat(TotalRMC)+parseFloat(RMC);
|
||||||
|
// totvalue = parseFloat(totvalue) + parseFloat(total);
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// }while (i < rows);
|
||||||
|
|
||||||
|
// $('#txttotallanding').val(parseFloat(TotalLanding).toFixed(2));
|
||||||
|
// $('#txttotalhighseas').val(parseFloat(TotalHighseas).toFixed(2));
|
||||||
|
// $('#txttotalcustom').val(parseFloat(TotalCustom).toFixed(2));
|
||||||
|
// $('#txttotalexcise').val(parseFloat(TotalExcise).toFixed(2));
|
||||||
|
// $('#txttotalexciseED').val(parseFloat(TotalExciseED).toFixed(2));
|
||||||
|
// $('#txttotalexciseSH').val(parseFloat(TotalExciseSH).toFixed(2));
|
||||||
|
// $('#txttotalcustomED').val(parseFloat(TotalCustomED).toFixed(2));
|
||||||
|
// $('#txttotalcustomSH').val(parseFloat(TotalCustomSH).toFixed(2));
|
||||||
|
// $('#txttotalAdditionalExciseduty').val(parseFloat(TotalAdditionalExcise).toFixed(2));
|
||||||
|
// $('#txttotalgrossduty').val(parseFloat(TotalGrossDuty).toFixed(2));
|
||||||
|
// $('#txttotalavlmodvat').val(parseFloat(TotalAvlmodvat).toFixed(2));
|
||||||
|
// $('#txttotalgrossexpense').val(parseFloat(TotalGrossExpense).toFixed(2));
|
||||||
|
|
||||||
|
// // $('#txtTotalorderValue').val(parseFloat(totvalue).toFixed(2));
|
||||||
|
// $('#txtToatlOrder').val(parseFloat(totvalue).toFixed(2));
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user