Versions Compared

Key

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

...

Expand
titleTASK 1 - [intl-whitelabel-cmsapp] - Create Feature Fee page on sanitya new query to get the Sanity values
  • Create a new Fragment and change the RestaurantGroup queries

    image-20240415-092445.pngImage Removed

  • Run apollo generate to create the sanity graphql method
    Expand
    titleTASK 2 1 - [intl-whitelabel-app] - Create hook to get the sanity infos
    • Create a hook to get the Fee values

    • We can use the: frontend/src/hooks/use-restaurant-groups/use-restaurant-groups.ts

    • Or we can create a new hook using the useResturantGroupByGroupIdQuery query also used in the hook above

      config values;

    Expand
    titleTASK 3 - Create a method to validate the fee config values
    • Create a feature flag to use the new fields or validation (if using the existing hook);Create a method to validate the fee values described in the Whitelabel Acceptance Criteria:

    Expand
    titleTASK 4 - Add the promotion description on table fee modal
    • Add the Fee discount message on the table fee modal

      • The message needs to use the method created to validate he the fee values

    Screenshots

    N/A

    Unit Test

    ...