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

-NaN in Promo codes administration page when Fixed amount #862

Closed
danielezonca opened this issue Jan 24, 2020 · 0 comments
Closed

-NaN in Promo codes administration page when Fixed amount #862

danielezonca opened this issue Jan 24, 2020 · 0 comments

Comments

@danielezonca
Copy link

Describe the bug
Visualization problem in Promo codes administration page if the promo code has fixed amount of discount. The table reports a -NaN as value instead of the fixed amount

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Promo codes'
  2. Create a promo code with Fixed amount of discount
    create_promo_code
  3. Save
  4. See error
    error_nan

Expected behavior
Show the amount of the fixed discount

cbellone added a commit that referenced this issue Feb 16, 2020
(cherry picked from commit bd491dd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants