diff --git a/application/views/importpo.php b/application/views/importpo.php index 76572077..3cecb5ba 100755 --- a/application/views/importpo.php +++ b/application/views/importpo.php @@ -2112,7 +2112,7 @@ function Ratechange(){ var txtQuantity = parseFloat( $('#Quantity').val()); var txtUnitPrice = parseFloat($('#Rate').val()); var Tot = txtQuantity * txtUnitPrice - console.log(Tot); + //console.log(Tot); $('#txtBasicValue').val(Math.round(Tot)); $('#imBasicPrice').val(Math.round(Tot)); @@ -2140,6 +2140,7 @@ function Ratechange(){ $('#EditimBasicPrice').val(EditTot); $('#EditExchangeRt').val(txtexchangerate); $('#EditINRBasicvalue').val(EditBasicINR); + Calculateloadingcharge(); } @@ -2244,7 +2245,17 @@ $('#TotalExp').val(''); var result= ; //$('#AfterLandingCharge').val(parseFloat(Math.round(result))); - $('#AfterLandingCharge').val(parseFloat(result).toFixed(2)); + if(isNaN(result)) + { + $('#AfterLandingCharge').val(''); + } + else{ + $('#AfterLandingCharge').val(parseFloat(Math.round(result))); + } + + + + //$('#AfterLandingCharge').val(parseFloat(result).toFixed(2)); CalculateHighseassalescharge(); //alert();