Versions Compared

Key

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

...

  • In the file src/modules/quote/quote.service.ts in retrieveFirstQuote function we can adjust the return in catch and in this catch we can get the error of restaurant closed and manipulate this error, and change for return the status correct and the nextOpenDate.

  • Return the restaurantsData as well, because we need this information to check services modes and hours for working.

...

The return after this changes:

...

  • We need to pass the next open date

  • The button "Use Different Address“ return to screen of search delivery.

Task 4 - Create a validation for enable/disable “Order Pickup” button

  • Need to validate if restaurant has a service mode "Order Pickup", case not we need to disable this button

    • validate if it has service mode correct

    • validate if this service mode is opened

    The button "Use Different Address“ return to screen of search delivery.

POC - intl-whitelabel-app

...