lambertf917 / lambertf917/ubereats-clone-app-using-react-native
Enatega Admin Dashboard: Actual Price and Discounted Price are not correctly calculating under price input field
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Go to 'Enatega Admin Dashboard'
Open any store, go to its product management dropdown click on Product option.
Now add a new product there, add a variation for that product.
See error now enter price for the variation and apply discount on it now see under the price field Actual Price and Discounted Price are not correctly calculating under price input field.
Expected behavior
The Actual Price and Discounted Price are not being calculated correctly under the price input field. The displayed values do not reflect the expected calculations based on the discount percentage.
Screenshots
Image
Desktop (please complete the following information):
OS: [e.g. Windows ]
Browser [e.g. Chrome]
Version [e.g. Latest]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Enatega Admin Dashboard product-management flow described in the reproduction steps, then reproduce the issue by adding a product variation and applying a discount. Inspect the calculation and displayed Actual Price and Discounted Price values under the price input. Done means both values reflect the expected discount-percentage calculation.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100