gray-mueller / gray-mueller/online-food-ordering-system-using-java
Order Acceptance Functionality in Enatega Multivendor Restaurant App
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Issue: Order Acceptance Functionality in Enatega Multivendor Restaurant App
Description:
In the restaurant app, there is an issue with the order acceptance functionality. When a restaurant receives an order and tries to accept it, the system does not process the acceptance correctly. This prevents the order from moving to the next stage and causes confusion and delays in the order fulfillment process.
Expected Behavior:
When a restaurant receives an order, they should be able to accept it by clicking on the "Accept" button or a similar action.
After accepting the order, the system should update the order status to reflect that it has been accepted.
The order should then move to the next stage, such as "Preparing" or "In Progress," depending on the restaurant's workflow.
The restaurant staff should be able to view the accepted orders separately from pending or rejected orders.
Current Behavior:
When the restaurant staff tries to accept an order, the app does not respond appropriately and crash.
There is no clear separation of accepted orders, making it difficult for the staff to prioritize and manage orders effectively.
Steps to Reproduce:
Log in to the restaurant app as a staff member with the necessary permissions.
Navigate to the order section or the page where new orders are displayed.
Locate a pending order that has not been accepted yet.
Attempt to accept the order by clicking on the designated acceptance button or action.
Observe the system's response and check if the order status and workflow stage update correctly.
Expected Resolution:
The issue with the order acceptance functionality needs to be investigated and resolved. The system should allow restaurants to accept orders successfully, update the order status accordingly, and move the order to the appropriate workflow stage. This will ensure a smooth and efficient order processing experience for both the restaurant and the customers.
res.app.crash.mp4
Contributor guide
Research direction
Start by reproducing the crash in the restaurant app using the steps in the issue, and review the attached res.app.crash.mp4. Trace what happens after clicking Accept, including the order status and workflow stage, then verify that accepted orders are separated from pending and rejected orders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100