gray-mueller / gray-mueller/online-food-ordering-system-using-java
Enatega Customer App: Once Pickup-Order is accepted from restaurant, user should not be allowed to Cancel that order
- Dominant language
- JavaScript
- Stars
- 0
- 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
Assessment
This issue has not been assessed yet.