Merged in fix/SW-2553-sidepeeks (pull request #1919)
Fix/SW-2553 sidepeeks * fix(SW-2553): apply sidepeek display logic * chore: move convertToChildType and getPriceType utils * fix: apply PR requested changes * fix(SW-2553): fix roomNumber for multiroom * fix(SW-2553): fix sidepeek for my-stay page Approved-by: Michael Zetterberg Approved-by: Bianca Widstam Approved-by: Matilda Landström
This commit is contained in:
committed by
Bianca Widstam
parent
f5f9aba2e5
commit
0c7836fa59
@@ -6,4 +6,5 @@ export interface RoomProps {
|
||||
checkOutTime: string
|
||||
img: NonNullable<BookingConfirmation["room"]>["images"][number]
|
||||
roomName: NonNullable<BookingConfirmation["room"]>["name"]
|
||||
roomNumber?: number
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { CurrencyEnum } from "../enums/currency"
|
||||
import type { RoomCategories } from "../hotel"
|
||||
import type { Room } from "../stores/booking-confirmation"
|
||||
|
||||
export interface BookingConfirmationProviderProps
|
||||
@@ -7,6 +8,7 @@ export interface BookingConfirmationProviderProps
|
||||
currencyCode: CurrencyEnum
|
||||
fromDate: Date
|
||||
rooms: (Room | null)[]
|
||||
roomCategories: RoomCategories
|
||||
toDate: Date
|
||||
vat: number
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { ChildBedTypeEnum } from "@/constants/booking"
|
||||
import type { CurrencyEnum } from "../enums/currency"
|
||||
import type { RoomCategories } from "../hotel"
|
||||
import type {
|
||||
BookingConfirmation,
|
||||
PackageSchema,
|
||||
@@ -43,6 +44,7 @@ export interface InitialState {
|
||||
rooms: (Room | null)[]
|
||||
toDate: Date
|
||||
currencyCode: CurrencyEnum
|
||||
roomCategories: RoomCategories
|
||||
vat: number
|
||||
isVatCurrency: boolean
|
||||
formattedTotalCost: string
|
||||
|
||||
@@ -76,6 +76,7 @@ export interface MyStayState {
|
||||
savedCreditCards: CreditCard[] | null
|
||||
totalPoints: number
|
||||
totalPrice: string
|
||||
roomCategories: RoomCategories
|
||||
}
|
||||
|
||||
export interface InitialState
|
||||
|
||||
Reference in New Issue
Block a user