gray-mueller / gray-mueller/grocery-delivery-app-using-php
Enatega SingleVendor Admin Allowing Negative Values in Discount, Stock, and Price Fields
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I have identified a critical issue in the Enatega SingleVendor Admin system where it currently allows users to input negative values in fields related to discount, stock, price, and potentially other crucial parameters.
To Reproduce
Steps to reproduce the behavior:
Log in to the Enatega SingleVendor Admin system.
Navigate to the product management section or any relevant area where discount, stock, or price fields are editable.
Attempt to input a negative value in the discount, stock, or price fields.
Expected behavior
Log in to the Enatega SingleVendor Admin system.
Navigate to the product management section or any relevant area where discount, stock, or price fields are editable.
Attempt to input a negative value in the discount, stock, or price fields.
Screenshots
image
Desktop:
Browser : chrome
Additional context
Please investigate and address this issue promptly to ensure the Enatega SingleVendor Admin system maintains a high level of reliability and accuracy in data processing.
Thank you for your attention to this matter.
Contributor guide
Research direction
No source files or tests are identified. Start in the Enatega SingleVendor Admin product-management area and trace the discount, stock, and price fields and their validation; check whether related editable fields share the same behavior. Done means negative values are rejected for the reported fields and the relevant admin flows are verified in Chrome.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100