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
The category purchase values in new purchase / edit purchase should be constrained to be non-negative
Why?
Hygiene
Details
To see this, sign in as [email protected], then click "Purchases" and "New Purchase" in the left-hand menu.
Enter enough information to be able to save, including at least one negative number in the "purchase total for..." (still have the purchase total add up to the 4 category totals. Save.
It allows it! And shouldn't.
Put in checks so that none of the 'Purchase Total for..." fields can be negative.
Criteria for completion
behaviour as described above
tests to confirm behaviour as described above.
The text was updated successfully, but these errors were encountered:
Summary
The category purchase values in new purchase / edit purchase should be constrained to be non-negative
Why?
Hygiene
Details
To see this, sign in as [email protected], then click "Purchases" and "New Purchase" in the left-hand menu.
Enter enough information to be able to save, including at least one negative number in the "purchase total for..." (still have the purchase total add up to the 4 category totals. Save.
It allows it! And shouldn't.
Put in checks so that none of the 'Purchase Total for..." fields can be negative.
Criteria for completion
The text was updated successfully, but these errors were encountered: