Merged in feature/SW-3616-partner-points-my-stay (pull request #3407)
Feature/SW-3616 partner points my stay * feat(SW-3616): display partner points in my stays * null check roomPointType * Lowercase POINTS in my stay * include other than Scandic points when displaying price details modal Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -17,6 +17,7 @@ interface VatProps {
|
||||
const noVatCurrencies = [
|
||||
CurrencyEnum.CC,
|
||||
CurrencyEnum.POINTS,
|
||||
CurrencyEnum.EUROBONUS,
|
||||
CurrencyEnum.Voucher,
|
||||
CurrencyEnum.Unknown,
|
||||
]
|
||||
|
||||
@@ -176,6 +176,7 @@ export const bookingConfirmationSchema = z
|
||||
rateDefinition: rateDefinitionSchema,
|
||||
reservationStatus: z.string().nullable().default(""),
|
||||
roomPoints: z.number(),
|
||||
roomPointType: z.nullable(z.enum(["Scandic", "EuroBonus"])).catch(null),
|
||||
roomPrice: z.number(),
|
||||
roomTypeCode: z.string().default(""),
|
||||
totalPoints: z.number(),
|
||||
|
||||
Reference in New Issue
Block a user