Added hotelId

This commit is contained in:
Linus Flood
2024-12-04 13:36:40 +01:00
parent c3429e2860
commit 66ee5e7cbc
4 changed files with 4 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ export default async function BookingConfirmationPage({
searchType: "hotel",
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
country: hotel?.address.country,
hotelID: hotel.operaId,
region: hotel?.address.city,
rateCode: booking.rateDefinition.rateCode ?? undefined,
rateCodeType: booking.rateDefinition.title ?? undefined,

View File

@@ -94,6 +94,7 @@ export default async function SelectRatePage({
searchType: "hotel",
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
country: hotelAttributes?.address.country,
hotelID: hotelAttributes?.operaId,
region: hotelAttributes?.address.city,
availableResults: roomCategories?.length,
//lowestRoomPrice:

View File

@@ -118,6 +118,7 @@ export default function EnterDetailsTracking(props: Props) {
bedType: bedType?.description,
roomTypeCode: bedType?.roomTypeCode,
roomPrice: roomPrice.local.price,
//discount: public - member rates?.
}
return data

View File

@@ -181,6 +181,7 @@ export default async function StepPage({
searchType: "hotel",
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
country: hotelAttributes?.address.country,
hotelID: hotelAttributes?.operaId,
region: hotelAttributes?.address.city,
//lowestRoomPrice:
}