[-] BO : fix #PSTEST-388
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12389 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ function calcPriceTE()
|
||||
var priceTI = parseFloat(document.getElementById('priceTI').value.replace(/,/g, '.'));
|
||||
var newPrice = ps_round(priceTI - getEcotaxTaxIncluded(), 2) / ((tax / 100) + 1);
|
||||
document.getElementById('priceTE').value = (isNaN(newPrice) == true || newPrice < 0) ? '' :
|
||||
ps_round(newPrice.toFixed(6), 6);
|
||||
ps_round(newPrice.toFixed(2), 2);
|
||||
document.getElementById('finalPrice').innerHTML = (isNaN(newPrice) == true || newPrice < 0) ? '' :
|
||||
ps_round(priceTI.toFixed(2), 2);
|
||||
document.getElementById('finalPriceWithoutTax').innerHTML = (isNaN(newPrice) == true || newPrice < 0) ? '' :
|
||||
|
||||
Reference in New Issue
Block a user