You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prevent negative values from being used in money raised field in donations
Why?
This is mostly a hygiene change, but It's not a donation if the essentials bank is paying for it .
Details
The first screen in question is reached if you:
Sign in as [email protected]
Click on Donation
Click on New Donation
The field is labelled "Money raised in dollars"
The second screen in question is reached if you:
Sign in as [email protected]
Click on Donation
Click on All Donations
Click View beside a donation
Click "Make a correction"
The field is labelled "Money raised in dollars"
You should not be able to enter a negative value in either of these places.
Updating the validation on the model level should take care of both of them, but please confirm.
Criteria for completion
Behaviour as described above
automated tests to support the behaviour
The text was updated successfully, but these errors were encountered:
Summary
Prevent negative values from being used in money raised field in donations
Why?
This is mostly a hygiene change, but It's not a donation if the essentials bank is paying for it .
Details
The first screen in question is reached if you:
Sign in as [email protected]
Click on Donation
Click on New Donation
The field is labelled "Money raised in dollars"
The second screen in question is reached if you:
Sign in as [email protected]
Click on Donation
Click on All Donations
Click View beside a donation
Click "Make a correction"
The field is labelled "Money raised in dollars"
You should not be able to enter a negative value in either of these places.
Updating the validation on the model level should take care of both of them, but please confirm.
Criteria for completion
The text was updated successfully, but these errors were encountered: