marthaegrimaldi / marthaegrimaldi/food-ordering-application-using-react-native

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

Open
#204 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1
Forks
1
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

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.

Research direction

Start in the customer app's order details page and reproduce the flow by placing a Pickup Order, having the restaurant accept it, and attempting cancellation. Trace where the Cancel option is enabled, and consider the issue done when it is disabled after restaurant acceptance on all devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
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.