gray-mueller/food-delivery-applications-using-react-native

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

Open

#115 opened on Feb 19, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)auto 404
Enatega Multivendor Admin DashboardHigh Prioritybuggood first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

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