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

The donation total should display rounded values when the "decimal amounts" option is disabled #6544

Open
1 task
glaubersilva opened this issue Aug 18, 2022 · 4 comments
Assignees
Labels
keep-fresh "Keep Fresh" issues should not be marked as stale. type: bug Existing functionality is broken

Comments

@glaubersilva
Copy link
Contributor

User Story

When using a multi-step form with the "decimal amounts" option disabled, the custom decimal amounts get rounded, but the "donation total" keeps displaying the decimal amount without rounded it.

Details

To disable decimal amounts go to:
Your Form > Form Template > Visual Appearance > Decimal amounts

Expected Behavior

The same rounded value from the custom amount should be displayed on the donation total

Steps to Reproduce

  1. Setup a multi-step form with the "decimal amounts" option disabled
  2. Make a test donation with a custom decimal amount and exit from the input to see the rounded value
  3. Go to the next step in the form and before finishing the donation, on the "donation total" you should see the NOT rounded value

Visuals

decimal-values rounded-bug

Acceptance Criteria

  • The value in the “donation total” accurately reflects the rounded custom decimal amount.
@glaubersilva glaubersilva added the type: bug Existing functionality is broken label Aug 18, 2022
@glaubersilva glaubersilva self-assigned this Aug 18, 2022
@github-actions
Copy link

github-actions bot commented Jan 7, 2023

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days. Note, if this Issue is reporting a bug, please reach out to our support at https://givewp.com/support. If this is a feature request, please see our feedback board at feedback.givewp.com — that’s the best place to make feature requests, unless you’re providing a PR.

@github-actions github-actions bot added the Stale label Jan 7, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for an additional 14 days with no activity.

@glaubersilva glaubersilva added the keep-fresh "Keep Fresh" issues should not be marked as stale. label Feb 9, 2023
@glaubersilva glaubersilva reopened this Feb 9, 2023
@github-actions github-actions bot removed the Stale label Feb 10, 2023
@ash2osh
Copy link

ash2osh commented Jul 1, 2023

same issue here is there a fix ??

@ma-ilsi
Copy link
Contributor

ma-ilsi commented Feb 17, 2024

Hello! I believe the error is caused by fee-recovery frontend code. However, after tracking down everything in dev tools, I came to look at the source file but cannot find the fee-recovery code nor from where it may be generated. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep-fresh "Keep Fresh" issues should not be marked as stale. type: bug Existing functionality is broken
Projects
None yet
Development

No branches or pull requests

3 participants