English Boards > V3 Development
How to setup business model like this
emre:
* Do you have products that does not have %25 state tax?
* Does menu prices includes both taxes? For example what do you say when the price of pizza asked?
talenat:
No we do not have a product without 25% state tax.
For pizza we only have 25% state tax and that is for all foods.
Local tax is applied only to soft drinks, alcohol drinks, vines, beer and cigarettes.
emre:
How do you calculate taxes from final price if both taxes applies? For example what will be the tax amounts for 10€ alcohol drink?
talenat:
Lets define variables like this:
FP - final price
ST - state tax percentage
STa - state tax amount
LT - local tax percentage
LTa - local tax amount
If FP = 10€ ST = 25% and LT = 3%
Formulas for calculation are:
STa = (FP * ST) / (100 +ST + LT)
LTa =(FP * LT) / (100 + ST + LT)
From that formulas we will have
STa = (10 * 25 ) / (100 + 25 + 3) = 1.95 €
LTa = (10 * 3 ) / (100 + 25 + 3) = 0.23 €
If there is only state tax (ST) then LT = 0 and this backward method is still valid for calculation.
As you can see adding additional field to tax should not be a big problem since those who don't have additional tax on products will have that field 0 and calculation is correct.
emre:
Good I'll check how can we apply it and let you know now the progress. Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version