gray-mueller / gray-mueller/full-stack-document-solution

Enatega Customer Application: Cancelled Orders Display history Issue

未关闭
#43 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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]

贡献指南

打开贡献指南

调研方向

从 Enatega Customer Application 开始,跟踪已取消订单如何在 Order History 的 Current Orders 和 Past Orders 中呈现。复现一次客户取消操作,然后验证订单是否以 Cancelled 状态移至 Past Orders,并显示可用的订单详情,同时不会出现在 Completed 或 Delivered 下。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。