lambertf917 / lambertf917/food-ordering-system-source-code

Cloned Restaurant in Admin Panel Does Not Copy Minimum Order and Delivery Time Correctly

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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.