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,
|
...initialHotelsTrackingData,
|
||||||
rateCode: rate?.rateCode,
|
rateCode: rate?.rateCode,
|
||||||
rateCodeType: roomRate.publicRate.rateType,
|
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,
|
rateCodeCancellationRule: cancellationRule,
|
||||||
revenueCurrencyCode: totalPrice.local?.currency,
|
revenueCurrencyCode: totalPrice.local?.currency,
|
||||||
breakfastOption: breakfast ? "breakfast buffet" : "no breakfast",
|
breakfastOption: breakfast ? "breakfast buffet" : "no breakfast",
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ export default async function BookingConfirmation({
|
|||||||
hotelID: hotel.operaId,
|
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: , //TODO: Add when available in API. "regular, promotion, corporate etx",
|
||||||
rateCodeName: booking.rateDefinition.rateCode ?? undefined,
|
rateCodeName: booking.rateDefinition.title ?? undefined,
|
||||||
rateCodeCancellationRule:
|
rateCodeCancellationRule:
|
||||||
booking.rateDefinition?.cancellationText ?? undefined,
|
booking.rateDefinition?.cancellationText ?? undefined,
|
||||||
revenueCurrencyCode: booking.currencyCode,
|
revenueCurrencyCode: booking.currencyCode,
|
||||||
|
|||||||
Reference in New Issue
Block a user