diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx
index 7374d70e8..ab0e9c01d 100644
--- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx
+++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx
@@ -173,7 +173,7 @@ export default function PriceDetailsModal() {
diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx
index c13621f6c..1e4219901 100644
--- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx
+++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx
@@ -53,13 +53,13 @@ export default function ReceiptRoom({
{room.rateDefinition.isMemberRate ? (
- {room.formattedTotalCost}
+ {room.formattedRoomCost}
) : (
- {room.formattedTotalCost}
+ {room.formattedRoomCost}
)}
diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/utils.ts b/apps/scandic-web/components/HotelReservation/BookingConfirmation/utils.ts
index ea855fdee..68b5b6cc1 100644
--- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/utils.ts
+++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/utils.ts
@@ -19,13 +19,13 @@ export function mapRoomState(
(pkg) => pkg.code === BreakfastPackageEnum.FREE_MEMBER_BREAKFAST
)
- let formattedTotalCost = formatPrice(
+ let formattedRoomCost = formatPrice(
intl,
- booking.totalPrice,
+ booking.roomPrice,
booking.currencyCode
)
if (booking.roomPoints) {
- formattedTotalCost = formatPrice(
+ formattedRoomCost = formatPrice(
intl,
booking.roomPoints,
CurrencyEnum.POINTS,
@@ -33,7 +33,7 @@ export function mapRoomState(
booking.currencyCode
)
} else if (booking.cheques) {
- formattedTotalCost = formatPrice(
+ formattedRoomCost = formatPrice(
intl,
booking.cheques,
CurrencyEnum.CC,
@@ -41,7 +41,7 @@ export function mapRoomState(
booking.currencyCode
)
} else if (booking.vouchers) {
- formattedTotalCost = formatPrice(
+ formattedRoomCost = formatPrice(
intl,
booking.vouchers,
CurrencyEnum.Voucher
@@ -58,7 +58,7 @@ export function mapRoomState(
childBedPreferences: booking.childBedPreferences,
confirmationNumber: booking.confirmationNumber,
currencyCode: booking.currencyCode,
- formattedTotalCost,
+ formattedRoomCost,
fromDate: booking.checkInDate,
name: room.name,
packages: booking.packages,
diff --git a/apps/scandic-web/types/stores/booking-confirmation.ts b/apps/scandic-web/types/stores/booking-confirmation.ts
index c587781d7..ebe1d46d1 100644
--- a/apps/scandic-web/types/stores/booking-confirmation.ts
+++ b/apps/scandic-web/types/stores/booking-confirmation.ts
@@ -22,7 +22,7 @@ export interface Room {
fromDate: Date
name: string
packages: BookingConfirmation["booking"]["packages"]
- formattedTotalCost: string
+ formattedRoomCost: string
rateDefinition: BookingConfirmation["booking"]["rateDefinition"]
roomFeatures?: PackageSchema[] | null
roomPoints: number