diff --git a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx index 60da0031b..4cb53d551 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/(standard)/step/enterDetailsTracking.tsx @@ -127,7 +127,7 @@ export default function EnterDetailsTracking(props: Props) { ...initialHotelsTrackingData, rateCode: rate?.rateCode, rateCodeType: roomRate.publicRate.rateType, - rateCodeName: rate?.rateCode, + rateCodeName: "", //TODO: this should be ratedefinition.title and should be fixed when tracking is implemented for multiroom. rateCodeCancellationRule: cancellationRule, revenueCurrencyCode: totalPrice.local?.currency, breakfastOption: breakfast ? "breakfast buffet" : "no breakfast", diff --git a/components/HotelReservation/BookingConfirmation/index.tsx b/components/HotelReservation/BookingConfirmation/index.tsx index de0c1d1fe..e2b3cab82 100644 --- a/components/HotelReservation/BookingConfirmation/index.tsx +++ b/components/HotelReservation/BookingConfirmation/index.tsx @@ -71,8 +71,8 @@ export default async function BookingConfirmation({ hotelID: hotel.operaId, region: hotel?.address.city, rateCode: booking.rateDefinition.rateCode ?? undefined, - rateCodeType: booking.rateDefinition.title ?? undefined, - rateCodeName: booking.rateDefinition.rateCode ?? undefined, + //rateCodeType: , //TODO: Add when available in API. "regular, promotion, corporate etx", + rateCodeName: booking.rateDefinition.title ?? undefined, rateCodeCancellationRule: booking.rateDefinition?.cancellationText ?? undefined, revenueCurrencyCode: booking.currencyCode,