patriciaperez90/restaurant-ordering-system

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

Open

#127 opened on Feb 28, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (0 forks)auto 404
Enatega MultiVendor Customer AppHigh prioritybuggood first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

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:

  1. Place a Pickup Order through the system.
  2. Wait for the restaurant to accept the order.
  3. Go to the order details page.
  4. 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