You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect to see tax of $10 in total ($5 corresponding to each tax slab) and subtotal of $100
Actual result
Only half the tax is calculated and that too is incorrectly calculated.
System information (Akaunting, PHP versions)
Akaunting - 1.3.4
PHP - 7.2.10
Additional comments
The tax calculation should sum up all the rates for inclusive type and calculate the base price. The taxes should then be calculated over this base price and also be summed together.
The text was updated successfully, but these errors were encountered:
As an additional comment, there should probably be a limitation on different tax types being used together. For eg. if inclusive and normal type tax types are added - it would be a bit of a mess wrt calculation of base price
Steps to reproduce the issue
Expected result
Expect to see tax of $10 in total ($5 corresponding to each tax slab) and subtotal of $100
Actual result
Only half the tax is calculated and that too is incorrectly calculated.
System information (Akaunting, PHP versions)
Akaunting - 1.3.4
PHP - 7.2.10
Additional comments
The tax calculation should sum up all the rates for inclusive type and calculate the base price. The taxes should then be calculated over this base price and also be summed together.
The text was updated successfully, but these errors were encountered: