-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Taxation] Add validation of negative tax rate #13731
[Taxation] Add validation of negative tax rate #13731
Conversation
coldic3
commented
Mar 7, 2022
•
edited
Loading
edited
Q | A |
---|---|
Branch? | master |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Related tickets | |
License | MIT |
src/Sylius/Bundle/TaxationBundle/Resources/translations/validators.en.yml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/TaxationBundle/Resources/translations/validators.pl.yml
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/TaxationBundle/Resources/translations/validators.en.yml
Show resolved
Hide resolved
src/Sylius/Bundle/TaxationBundle/Resources/translations/validators.pl.yml
Outdated
Show resolved
Hide resolved
e868b40
to
64d7919
Compare
features/taxation/managing_tax_rates/tax_rate_validation.feature
Outdated
Show resolved
Hide resolved
The base of this pull-request was changed, you need fetch and reset your local branch Unless you added new commits (to this branch) locally that you did not push yet, Feel free to ask for assistance when you get stuck 👍 |
64d7919
to
dc727c5
Compare
2231002
to
92d3561
Compare
Co-authored-by: Adam Kasperczak <adamkasperczak123@gmail.com>
Co-authored-by: Grzegorz Sadowski <sadowskigp@gmail.com>
8c6d34d
to
523a4ea
Compare
Thank you, Kevin! 🥇 |
…ic3) This PR was merged into the 1.10 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.10 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | mentioned in #13731 (comment) | License | MIT As far as "I want to..." statement is a kind of user action the step should be 'When'. Commits ------- 984488d [Behat] Use "When" for user actions where possible
Guys, why not use https://symfony.com/doc/current/reference/constraints/PositiveOrZero.html. In many cases 0% is also a perfectly fine tax percentage. This is now no longer possible because the |