Merged in fix/ratecodetype-tracking-2 (pull request #1314)
fix/ratecode-tracking-fix * fix/ratecode-tracking-fix
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user