lambertf917 / lambertf917/food-ordering-system-source-code
Cloned Restaurant in Admin Panel Does Not Copy Minimum Order and Delivery Time Correctly
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
While cloning a restaurant in the Enatega admin panel, the "Minimum Order" and "Delivery Time" values are not being cloned correctly. There is a mismatch between the original restaurant and the cloned version.
To Reproduce
Steps to reproduce the behavior:
Go to the Enatega admin panel.
Select a restaurant with specific "Minimum Order" and "Delivery Time" values.
Click on "Clone Restaurant."
Open the cloned restaurant's details.
See that the "Minimum Order" and "Delivery Time" values differ from the original restaurant.
Expected behavior
The cloned restaurant should have the exact same "Minimum Order" and "Delivery Time" values as the original restaurant.
Additional context
This inconsistency could lead to operational issues, such as incorrect pricing or unrealistic delivery estimates shown to customers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Enatega admin panel by reproducing the Clone Restaurant flow with known Minimum Order and Delivery Time values. Trace how those fields are copied from the original restaurant, then verify that the cloned restaurant preserves both values exactly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100