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
Describe the bug
In the Manage Inventory page of facility, user is able to enter negative values resulting in incorrect logs. Also, the Minimum Quantity Required can be set as negative value as well.
Pranshu1902
changed the title
Manage Inventory allows negative values as well
Manage Inventory & Min Quantity Required allows negative values as well
Mar 22, 2024
Describe the bug
In the Manage Inventory page of facility, user is able to enter negative values resulting in incorrect logs. Also, the
Minimum Quantity Required
can be set as negative value as well.To Reproduce
Steps to reproduce the behavior:
Manage Inventory
-1
Expected behavior
Values less than 0 should be rejected both by the frontend and the backend
Screenshots
Screencast from 2024-03-22 13-14-21.webm
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: