gray-mueller / gray-mueller/full-stack-laundry-system

Enatega Admin Dashboard: Actual Price and Discounted Price are not correctly calculating under price input field

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
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

Open the contributing guide

Research direction

Reproduce the issue in the Enatega Admin Dashboard by opening a store's product management, creating a product variation, entering a price, and applying a discount. Trace the product variation form's price and discount calculation, then verify that the displayed Actual Price and Discounted Price match the expected discount percentage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.