[-] BO : #PSTEST-165 : calculate price without or with tax
This commit is contained in:
1 parent
002cfcc21b
commit
e1261fbdf3
3 files changed
+21
-11
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user