Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tax rate in tax summary section of order in admin UI is rounded. E.g., it shows 10 instead of 9.5 #2339

Closed
haydave opened this issue Aug 8, 2023 · 0 comments
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@haydave
Copy link

haydave commented Aug 8, 2023

To Reproduce
Steps to reproduce the behavior:

  1. Create order where tax percent is decimal (e.g. California).
  2. Go to admin ui and observe tax summary section of that order
  3. You will see that tax rate is rounded.

Expected behavior
I should see the same percentage of tax as in the checkout process.

Environment (please complete the following information):

  • @vendure/core version: ^2.0.2
  • Nodejs version: v16.15.0
  • Database (mysql/postgres etc): postgress

Additional context
Looks like the default behavior of the Angular percentPipe
tax-summary
Example row where percent is used.

@haydave haydave added the type: bug 🐛 Something isn't working label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants