Enatega customer app: Cancelled Orders in Order History Show “Delivered on NaN undefined”

Open Beginner friendly
#558 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Half a day
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend

Research direction

Start by reproducing the cancelled-order path in the Enatega customer app: place an order, cancel it, and open Order History. Trace the status and delivery-date display for cancelled orders, then verify that the completed behavior shows a relevant cancelled status without “Delivered on NaN undefined.”

Written by the indexing model from the issue text.

Description

Describe the bug
In the Order History section, cancelled orders incorrectly display the text “Delivered on NaN undefined” instead of showing a relevant status.

To Reproduce
Steps to reproduce the behavior:

Login to the app.
Place an order
cancel the order
go to order history
check the status of the cancelled order
cancelled orders show "Delivered on NaN undefined"
Expected behavior
Cancelled orders should not display the "delivered on..." text.

Smartphone (please complete the following information):

Device: [Infinix]
OS: [Android]
Browser [app]

Labels: Enatega Multivendor Customer App, Bug

Dominant language
TypeScript
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 gray-mueller/restaurant-ordering-system-using-react-js

All issues in gray-mueller/restaurant-ordering-system-using-react-js

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.