Is there an existing issue for this?
Current Behavior
Users should not be able to save a purchase that is empty.
We checked production to make sure that our users were not currently doing this to preserve comments and they are not. See slack conversation here.
Expected Behavior
- User should not be able to save a New Purchase with 0 quantity
- User should still be able to save a purchase with greater than 0 quantity
Steps To Reproduce
Steps to Reproduce:
- Click on Purchases in side bar
- Click on New Purchase
- Fill out the new purchase form and either leave out the quantity or explicitly enter a 0 quantity.
- Notice that the purchase can be saved
Environment
Criteria for Completion
Anything else?
No response
Code of Conduct
Is there an existing issue for this?
Current Behavior
Users should not be able to save a purchase that is empty.
We checked production to make sure that our users were not currently doing this to preserve comments and they are not. See slack conversation here.
Expected Behavior
Steps To Reproduce
Steps to Reproduce:
Environment
Criteria for Completion
Anything else?
No response
Code of Conduct