marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native
Enatega Admin Dashboard: Incorrect Subtotal Calculation in All Orders History.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- 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:
Go to 'Enatega Admin Dashboard'.
Click on Management dropdown, select orders.
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
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 by reproducing the incorrect subtotal in the Enatega Admin Dashboard through Management > Orders, then open an order's details and trace where its calculations are assembled. Compare the displayed subtotal with the sum of item prices before taxes, discounts, or additional charges; done means the All Orders History details show the correct value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100