[-] BO : #PSTEST-165 : calculate price without or with tax

This commit is contained in:
lLefevre committed 2011-12-28 09:24:47 +00:00
1 parent 002cfcc21b
commit e1261fbdf3
3 files changed
+21 -11

No files matched your search

+9
View File
@@ -49,6 +49,15 @@ function formatPrice(price)
return (Math.round(fixedToSix) == fixedToSix + 0.000001 ? fixedToSix + 0.000001 : fixedToSix);
}
function calcPrice()
{
var priceType = $('#priceType').val();
if (priceType == 'TE')
calcPriceTI();
else
calcPriceTE();
}
function calcPriceTI()
{
var tax = getTax();