gray-mueller / gray-mueller/food-delivery-applications-using-react-native
Enatega Admin Dashboard: Incorrect Subtotal Calculation in All Orders History.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
In the All Orders History section, the subtotal values are not being calculated correctly. This discrepancy can lead to confusion for users when reviewing their order details.
### To Reproduce
Steps to reproduce the behavior:
1. Go to 'Enatega Admin Dashboard'.
2. Click on Management dropdown, select orders.
3. See error now open any of the order details to see order calculations.
### Expected behavior
The subtotal should correctly reflect the sum of all item prices in an order before applying taxes, discounts, or additional charges.
Desktop (please complete the following information):
> OS: [e.g. Windows]
> Browser [e.g. Chrome]
> Version [e.g. Latest]
Contributor guide
Research direction
Start in the Enatega Admin Dashboard by reproducing the issue through Management > orders, then open an order's details and inspect the subtotal calculation entry point. Compare the displayed subtotal with the sum of all item prices before taxes, discounts, or additional charges. Done means the All Orders History order details show the correct subtotal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100