nashtech-garage/yas

[Order] Order Total is calculated incorrectly

Opened this issue · 2 comments

This happened because there is currently no backend APIs for tax and delivery fee calculation yet and those values are hard coded into the front end without being added into the total. I think we need to implement said APIs first to solve this issue.

Tasks:

  • Implements a bulk tax percent API that will retrieve the tax rate for multiple tax class at a specific location
  • Implement a tax amount API that will calculate the tax amount based on the list of check out items.
  • Add or subtract tax amount from the total based on the tax includes/excludes configuration.