Versions Compared

Key

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

...

  1. This feature will be in the path:

    1. RBI Sanity Studio > Marketing Content > Features > Feature Fees > Fee Config

      1. This menu needs to be shown just IBERIA markets

        image-20240424-110751.png

  2. The fields:

    • Default Config

      • It is a boolean

      • It isn’t required

      • Disable toggle, in other words, the configuration isn't a default configuration;

        image-20240424-111514.pngimage-20240424-111325.png
      • Enabled toggle, in other words, the configuration is a default configuration;

        image-20240424-111738.png
    • Configuration Title

      • It is a string field

      • It is required

        image-20240424-112303.png
      • When there is a value

        image-20240424-112229.png
    • Fee Type

      • It is a list field

      • It is required

        image-20240424-112448.png
      • When there is a value

        image-20240424-112536.png
      • Possible values:

        • Delivery Fee

        • Service Fee

          image-20240424-112805.png
    • Fee Expiration Date

      • It is a date field with mask YYYY-MM-DD

      • When the the Default Config toggle field disabled

        • It isn’t required

        • Will be hidden

      • When the the Default Config toggle field enabled

        • It is required

        • Will be shown

          image-20240424-113919.png

      • When there is a value

        • Just in the start date field

          image-20240424-114719.png
        • Just in the end date field

          image-20240424-114857.png
        • There is value in both field

          image-20240424-114831.png
    • Fee Discount Message

      • It is a translation field

        • In this field, there will be possibility add the discount message with all language enabled to this market;

      • It is required

        image-20240424-115232.png
      • When there is value

        image-20240424-115310.png

  3. As the Fee Config document is used in the Fee Restaurant Config document the user can change the toggle even if the document is already published. As we don't find a way to control this we need to ensure that the user will not be able to change the value of the toggle after the first publish.

    1. After the first publish, will disable the fields:

      1. Default Config

      2. Fee Type

    2. Like that the video:

      video_1280.mp4
Note

If need to change the value field (Default Config or Fee Type), must delete the specific document and create a new document with the new values.

  1. This is a page with all fields

    image-20240424-122103.pngImage Modified

Fee Restaurant Config

  1. This feature will be in the path:

    1. RBI Sanity Studio > Marketing Content > Features > Feature Fees > Fee Restaurant Config

      1. This menu needs to be shown just IBERIA markets

        image-20240424-120429.png
  2. The fields:

    1. Fee Restaurant Configuration Title

      1. It is a string field

      2. It is required

        image-20240424-120148.png
      3. When there is value

        image-20240424-120319.png
    2. Restaurants Group

      1. It is a list item field

      2. It is required

        image-20240424-120729.png
      3. When there is an item

        image-20240424-120954.png
    3. Delivery Fee Config

      1. It is collapsed

        1. When collapse is disabled

          image-20240424-121935.png
        2. When collapse is enabled

          image-20240424-121917.png
      2. It is required

        1. Default Config

          1. It is a list item field

          2. It is required

            image-20240424-122354.png
          3. The list must filter and show just the default config on the Delivery Fee types

            image-20240424-122841.png
          4. Will be able to add just ONE Default Config

            image-20240424-122635.png
            1. If Add more the 1, will validate the field

              image-20240424-123049.png
        2. Other Config

          1. It is a list item field

          2. It isn’t required

            image-20240424-123500.png
          3. When there is an item

            1. The list must filter and show just the default config on the Delivery Fee types

              image-20240424-123717.png
            2. Will be able to add just ONE Other Config

              image-20240424-124310.png
            3. If Add more the 1, will validate the field

              image-20240424-124427.png
    4. Service Fee Config

      1. It is collapsed

        1. When collapse is disabled

          image-20240424-131854.png
        2. When collapse is enabled

          image-20240424-131914.png
      2. It is required

        1. Default Config

          1. It is a list item field

          2. It is required

            image-20240424-131958.png
          3. The list must filter and show just the default config on the Service Fee types

            image-20240424-132218.png
          4. Will be able to add just ONE Default Config

            image-20240424-132258.png
            1. If Add more the 1, will validate the field

              image-20240424-132326.png
        2. Other Config

          1. It is a list item field

          2. It isn’t required

            image-20240424-132501.png
          3. When there is an item

            1. The list must filter and show just the default config on the Service Fee types

              image-20240424-132559.png
            2. Will be able to add just ONE Other Config

              image-20240424-132610.png
            3. If Add more the 1, will validate the field

              image-20240424-132635.png
  3. This is a page with all fields

    image-20240424-132825.png

...