gray-mueller / gray-mueller/food-delivery-platform-for-restaurants-using-python

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

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
bug Enatega Multivendor Admin Dashboard High Priority
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.

Contributor guide

Open the contributing guide

Research direction

Start in the Enatega Admin Dashboard's Management > Orders entry point and reproduce the issue by opening an order in All Orders History. Trace the order-details calculation and verify that the subtotal equals the sum of item prices before taxes, discounts, or additional charges.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.