gray-mueller / gray-mueller/online-food-ordering-platform-in-python

Negative Commission Rates Accepted

Open
#1,642 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
An issue has been identified in the Multivendor Admin Dashboard where the commission rates for vendors are accepting negative values.

To Reproduce
Steps to reproduce the behavior:

Log in to the Multivendor Admin Dashboard.
Navigate to the section where commission rates for vendors are configured.
Attempt to set a negative value for the commission rate.
Expected behavior
The system should prevent users from entering or saving negative values for commission rates, as negative rates are not valid in this context.

Screenshots
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/152266796/1cbcd911-8f36-43bc-8de1-8498ea3b5a78

Desktop:

Browser: chrome

Contributor guide

Open the contributing guide

Research direction

No file or test is identified in the issue. Start by locating the Multivendor Admin Dashboard's vendor commission-rate input and its validation or save handling. Done means negative commission values are rejected and cannot be saved; add or update coverage if the relevant test area is found.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.