// fixed js error related to #PSTEST-166

This commit is contained in:
mMarinetti
2011-12-29 13:13:42 +00:00
parent 2877eaa7cc
commit 0d875d1677
+2 -2
View File
@@ -70,8 +70,8 @@ function calcPriceTI()
document.getElementById('finalPriceWithoutTax').innerHTML = (isNaN(priceTE) == true || priceTE < 0) ? '' :
(ps_round(priceTE, 2) + getEcotaxTaxExcluded()).toFixed(2);
calcReduction();
document.getElementById('priceTI').value = (parseFloat(document.getElementById('priceTI').value) + getEcotaxTaxIncluded()).toFixed(2);
document.getElementById('finalPrice').innerHTML = parseFloat(document.getElementById('priceTI').value.toFixed(2));
$('#priceTI').value = (parseFloat($('#priceTI').val()) + getEcotaxTaxIncluded()).toFixed(2);
$('#finalPrice').innerHTML = parseFloat($('#priceTI').val()).toFixed(2);
}
function calcPriceTE()