gray-mueller / gray-mueller/roadside-assistance-system-react-native

Enatega Customer Application: Cancelled Orders Display history Issue

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When an order is cancelled, it is still displayed under the "Current Orders" section. Instead, the cancelled order should be moved to the "Past Orders" section with the status marked as "Cancelled" for better organization and clarity.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Customer Application'
Click on 'Restaurants' and select any food add to cart.
Place an order.
See error Cancel that order now go to profile menu button and select Order History under Current heading there is the history of In progress, Delivered orders but not the orders that has been cancelled by the customer in any case.
Expected behavior
They should display all relevant details such as: Order ID, Restaurant name, Items in the order, Reason for cancellation (if provided),
Date and time of cancellation.
These orders should not appear under the "Completed" or "Delivered" sections but should remain listed for tracking purposes.

Screenshots

Image

Image

Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g. Android]
Browser [e.g.Application]
Version [e.g. 14]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the cancellation flow in the Enatega Customer Application: place an order, cancel it, and inspect Order History. Trace how Current Orders and Past Orders classify cancelled orders. Done means cancelled orders appear in Past Orders with a Cancelled status and relevant details, not in Current, Completed, or Delivered sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.