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

Fix: Allow negative monetary values with a current code #6358

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

stumpylog
Copy link
Member

@stumpylog stumpylog commented Apr 10, 2024

Proposed change

Closes #6353

Type of change

  • Bug fix: non-breaking change which fixes an issue.
  • New feature / Enhancement: non-breaking change which adds functionality. Please read the important note above.
  • Breaking change: fix or feature that would cause existing functionality to not work as expected.
  • Documentation only.
  • Other. Please explain:

Checklist:

  • I have read & agree with the contributing guidelines.
  • If applicable, I have included testing coverage for new code in this PR, for backend and / or front-end changes.
  • If applicable, I have tested my code for new features & regressions on both mobile & desktop devices, using the latest version of major browsers.
  • If applicable, I have checked that all tests pass, see documentation.
  • I have run all pre-commit hooks, see documentation.
  • I have made corresponding changes to the documentation as needed.
  • I have checked my modifications for any breaking changes.

Copy link

codecov bot commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.12%. Comparing base (d06faa2) to head (5ca731b).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #6358   +/-   ##
=======================================
  Coverage   97.12%   97.12%           
=======================================
  Files         420      420           
  Lines       16920    16920           
  Branches     1211     1209    -2     
=======================================
  Hits        16434    16434           
  Misses        486      486           
Flag Coverage Δ
backend 95.94% <ø> (ø)
frontend 98.56% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@shamoon shamoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks stumpy, confirming the frontend bit:

Screenshot 2024-04-10 at 7 03 52 AM

@stumpylog stumpylog marked this pull request as ready for review April 10, 2024 14:30
@stumpylog stumpylog requested review from a team as code owners April 10, 2024 14:30
@stumpylog stumpylog merged commit 95c24a5 into dev Apr 10, 2024
31 checks passed
@stumpylog stumpylog deleted the fix-6353-negative-currency branch April 10, 2024 14:33
@shamoon shamoon added this to the Next Release milestone Apr 10, 2024
shamoon added a commit that referenced this pull request Apr 15, 2024
* Updates the currency validation to allow an optional negative

* Update frontend regex

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. See our contributing guidelines for more details.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] Custom field of type currency does not allow negative values
2 participants