From 868c4aefec7de0de5b6a8a0bcdf963140456f93e Mon Sep 17 00:00:00 2001 From: Bianca Widstam Date: Wed, 7 May 2025 13:58:06 +0000 Subject: [PATCH] Merged in fix/SW-2608-add-per-night-child-breakfast (pull request #1993) fix(SW-2608): add per night for children breakfast * fix(SW-2608): add per night for children breakfast * fix(SW-2608): capitalized according to figma Approved-by: Michael Zetterberg --- .../AddAncillaryFlowModal/index.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/index.tsx index 246c076f6..7fa22551f 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/index.tsx @@ -440,7 +440,7 @@ function BreakfastPriceList() { {intl.formatMessage( { - defaultMessage: "{price} / Adult / night", + defaultMessage: "{price} / Adult / Night", }, { price: `${breakfastData.priceAdult} ${breakfastData.currency}`, @@ -456,12 +456,16 @@ function BreakfastPriceList() { - {/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */} - {`${breakfastData.priceChild} ${breakfastData.currency} / ${intl.formatMessage( - { - defaultMessage: "Years", - } - )} 4-12`} + + {intl.formatMessage( + { + defaultMessage: "{price} / Years 4-12 / Night", + }, + { + price: `${breakfastData.priceChild} ${breakfastData.currency}`, + } + )} + )}