Added hotelId
This commit is contained in:
@@ -62,6 +62,7 @@ export default async function BookingConfirmationPage({
|
|||||||
searchType: "hotel",
|
searchType: "hotel",
|
||||||
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
||||||
country: hotel?.address.country,
|
country: hotel?.address.country,
|
||||||
|
hotelID: hotel.operaId,
|
||||||
region: hotel?.address.city,
|
region: hotel?.address.city,
|
||||||
rateCode: booking.rateDefinition.rateCode ?? undefined,
|
rateCode: booking.rateDefinition.rateCode ?? undefined,
|
||||||
rateCodeType: booking.rateDefinition.title ?? undefined,
|
rateCodeType: booking.rateDefinition.title ?? undefined,
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ export default async function SelectRatePage({
|
|||||||
searchType: "hotel",
|
searchType: "hotel",
|
||||||
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
||||||
country: hotelAttributes?.address.country,
|
country: hotelAttributes?.address.country,
|
||||||
|
hotelID: hotelAttributes?.operaId,
|
||||||
region: hotelAttributes?.address.city,
|
region: hotelAttributes?.address.city,
|
||||||
availableResults: roomCategories?.length,
|
availableResults: roomCategories?.length,
|
||||||
//lowestRoomPrice:
|
//lowestRoomPrice:
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ export default function EnterDetailsTracking(props: Props) {
|
|||||||
bedType: bedType?.description,
|
bedType: bedType?.description,
|
||||||
roomTypeCode: bedType?.roomTypeCode,
|
roomTypeCode: bedType?.roomTypeCode,
|
||||||
roomPrice: roomPrice.local.price,
|
roomPrice: roomPrice.local.price,
|
||||||
|
//discount: public - member rates?.
|
||||||
}
|
}
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|||||||
@@ -181,6 +181,7 @@ export default async function StepPage({
|
|||||||
searchType: "hotel",
|
searchType: "hotel",
|
||||||
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
bookingTypeofDay: isWeekend(arrivalDate) ? "weekend" : "weekday",
|
||||||
country: hotelAttributes?.address.country,
|
country: hotelAttributes?.address.country,
|
||||||
|
hotelID: hotelAttributes?.operaId,
|
||||||
region: hotelAttributes?.address.city,
|
region: hotelAttributes?.address.city,
|
||||||
//lowestRoomPrice:
|
//lowestRoomPrice:
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user