From 66ee5e7cbc37b49459447fc195a49d6e66efea48 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Wed, 4 Dec 2024 13:36:40 +0100 Subject: [PATCH] Added hotelId --- .../(confirmation)/booking-confirmation/page.tsx | 1 + .../(public)/hotelreservation/(standard)/select-rate/page.tsx | 1 + .../hotelreservation/(standard)/step/enterDetailsTracking.tsx | 1 + .../(live)/(public)/hotelreservation/(standard)/step/page.tsx | 1 + 4 files changed, 4 insertions(+) diff --git a/app/[lang]/(live)/(public)/hotelreservation/(confirmation)/booking-confirmation/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(confirmation)/booking-confirmation/page.tsx index 9469a415f..93c8bd65b 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(confirmation)/booking-confirmation/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(confirmation)/booking-confirmation/page.tsx @@ -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, diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx index 15aa6ca4f..0678d64f6 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/select-rate/page.tsx @@ -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: diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx index 27587f370..53e9ac5fd 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx @@ -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 diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx index a745bd346..bb06f65fe 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/page.tsx @@ -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: }