Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Currently in PLK ES, if the restaurant have a service mode “Delivery” type, and the time of service this restaurant is out of service, the user can set this restaurant, but can’t the order, because the restaurant is out of service.

This is confused e not intuitive, so to resolve this problem, we can add a new modal in this flow, and this modal informed the user about the restaurant is out of service at this moment and start the service in other hour.

In the code, we have this modal:

src/components/modal-no-delivery-stores-open/no-stores-open-delivery-modal.tsx

...

But we don’t can find the flow for this modal, we need to force the URL to work this modal.

But this component can be improved, and we can use in our flow.

The flow in code for get this page is:

src/pages/store-locator/new-ui/store-locator.tsx

...

src/pages/store-locator/new-ui/store-locator-routes.tsx

...

src/pages/store-locator/routes/delivery-routes.tsx

...

In this code, have an information, the store with closed status not be used currently.