Skip to content

Negative quantity in order #5

@GeorgeLeithead

Description

@GeorgeLeithead

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:

  1. Go to orders
  2. Set the quantity to 3
  3. Set the rungs to 7
  4. Click on order
  5. 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.

Screenshots
BugQR1
BugQR2

Smartphone (please complete the following information):

  • Device: Laptop
  • OS: Windows 10
  • Browser: N/A
  • Version: 1.0.2.0

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions