Enatega Admin Dashboard: Incorrect Subtotal Calculation in All Orders History.

Open
#345 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the issue through the Enatega Admin Dashboard: Management, Orders, then open an order in All Orders History. Trace the subtotal calculation used in the order details view and compare it with the sum of item prices before taxes, discounts, or additional charges. Done means the displayed subtotal matches that sum.

Written by the indexing model from the issue text.

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]
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raymondjames090/food-ordering-system-java-eclipse

All issues in raymondjames090/food-ordering-system-java-eclipse

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.