Negative quantity in order
GeorgeLeithead opened this issue · 0 comments
GeorgeLeithead commented
Describe the bug
When setting up an order, it is possible to incorrectly have as an order a negative quantity.
To Reproduce
Steps to reproduce the behavior:
- Go to orders
- Set the quantity to 3
- Set the rungs to 7
- Click on order
- The order confirmation view shows as a quantity for order #7 a value of -3
Expected behavior
When ordering the quantity should either be validated as being greater than the number of rungs, or the order confirmation should only list the number of rungs where the quantity is 1 or greater.
Smartphone (please complete the following information):
- Device: Laptop
- OS: Windows 10
- Browser: N/A
- Version: 1.0.2.0