From 81b44b357c05f0afd190021c516c56b92a4262e1 Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Mon, 24 Mar 2025 08:04:25 +0000 Subject: [PATCH] Merged in fix/confirmation-payment-details-text (pull request #1596) fix: update Payment Details text * fix: update Payment Details text Approved-by: Simon.Emanuelsson --- .../BookingConfirmation/PaymentDetails/index.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/PaymentDetails/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/PaymentDetails/index.tsx index 2210613bf..d25257c4d 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/PaymentDetails/index.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/PaymentDetails/index.tsx @@ -33,12 +33,11 @@ export default function PaymentDetails() {
{hasAllRoomsLoaded ? ( - {intl.formatMessage( - { id: "{amount} has been paid" }, - { - amount: formatPrice(intl, grandTotal, currencyCode), - } - )} + {`${intl.formatMessage({ id: "Total cost" })}: ${formatPrice( + intl, + grandTotal, + currencyCode + )}`} ) : (