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

Enatega Customer App: Once Pickup-Order is accepted from restaurant, user should not be allowed to Cancel that order

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

Description

Describe the bug
Users are able to cancel a Pickup Order even after the restaurant has accepted it. Once the restaurant confirms the order, the cancellation option should be disabled to prevent disruptions.

To Reproduce
Steps to reproduce the behavior:

Place a Pickup Order through the system.
Wait for the restaurant to accept the order.
Go to the order details page.
Attempt to cancel the order.

Expected behavior
Once the restaurant accepts a Pickup Order, the "Cancel" option should be disabled, preventing users from canceling.

Smartphone (please complete the following information):

Device: [All Devices ]

Contributor guide

Open the contributing guide

Research direction

Start by locating the customer app's order details screen and the code controlling the Cancel option for pickup orders. Reproduce the issue by accepting a pickup order from the restaurant, then inspect how the restaurant-accepted state is handled. Done means the Cancel option is disabled after acceptance while remaining available before acceptance, with the relevant customer-app checks passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.