diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/actionButtons.module.css b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/actionButtons.module.css
index 875ee841b..f5822f169 100644
--- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/actionButtons.module.css
+++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/actionButtons.module.css
@@ -2,12 +2,12 @@
display: flex;
gap: var(--Spacing-x4);
justify-content: flex-end;
- padding: var(--Space-x2) var(--Space-x15) 0;
+ padding: var(--Space-x2) var(--Space-x15) 0 0;
}
.confirmButtons {
display: flex;
- padding: 0 var(--Space-x15);
+ padding-left: var(--Space-x15);
justify-content: space-between;
align-items: baseline;
}
diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx
index 892548b18..782d21eae 100644
--- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx
+++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx
@@ -25,6 +25,7 @@ export default function ActionButtons({
}: ActionButtonsProps) {
const {
currentStep,
+ isBreakfast,
prevStep,
prevStepMobile,
selectQuantity,
@@ -33,6 +34,7 @@ export default function ActionButtons({
selectedAncillary,
} = useAddAncillaryStore((state) => ({
currentStep: state.currentStep,
+ isBreakfast: state.isBreakfast,
prevStep: state.prevStep,
prevStepMobile: state.prevStepMobile,
selectQuantity: state.selectQuantity,
@@ -96,19 +98,13 @@ export default function ActionButtons({
{intl.formatMessage({
defaultMessage: "Price details",
})}
- {isPriceDetailsOpen ? (
-
+ {intl.formatMessage( + { + defaultMessage: + "{totalNights, plural, one {# night} other {# nights}}", + }, + { + totalNights: breakfastData.nrOfNights, + } + ) + + /* eslint-disable-next-line formatjs/no-literal-string-in-jsx */ + " / " + + intl.formatMessage( + { + defaultMessage: + "{value, plural, one {# guest} other {# guests}}", + }, + { + value: + breakfastData.nrOfAdults + + breakfastData.nrOfPayingChildren + + breakfastData.nrOfFreeChildren, + } + )} +
++ {intl.formatMessage( + { + defaultMessage: + "{totalNights, plural, one {# night} other {# nights}}", + }, + { + totalNights: breakfastData.nrOfNights, + } + ) + + /* eslint-disable-next-line formatjs/no-literal-string-in-jsx */ + " / " + + intl.formatMessage( + { + defaultMessage: + "{value, plural, one {# guest} other {# guests}}", + }, + { + value: + breakfastData.nrOfAdults + + breakfastData.nrOfPayingChildren + + breakfastData.nrOfFreeChildren, + } + )} +
+@@ -185,7 +249,7 @@ export default function PriceDetails({
- {isBreakfast ? (
-
+ {formatPrice( intl, selectedAncillary.price.total, selectedAncillary.price.currency - ) - )} -
+ )} + + )}