feat: add Price details modal
This commit is contained in:
@@ -14,6 +14,11 @@ interface TPrice {
|
||||
price: number
|
||||
}
|
||||
|
||||
export interface RoomPrice {
|
||||
perNight: Price
|
||||
perStay: Price
|
||||
}
|
||||
|
||||
export interface Price {
|
||||
requested: TPrice | undefined
|
||||
local: TPrice
|
||||
@@ -52,14 +57,15 @@ export interface DetailsState {
|
||||
isValid: Record<StepEnum, boolean>
|
||||
packages: Packages | null
|
||||
roomRate: DetailsProviderProps["roomRate"]
|
||||
roomPrice: Price
|
||||
roomPrice: RoomPrice
|
||||
steps: StepEnum[]
|
||||
totalPrice: Price
|
||||
searchParamString: string
|
||||
vat: number
|
||||
}
|
||||
|
||||
export type InitialState = Pick<DetailsState, "booking" | "packages"> &
|
||||
Pick<DetailsProviderProps, "roomRate"> & {
|
||||
Pick<DetailsProviderProps, "roomRate" | "vat"> & {
|
||||
bedType?: BedTypeSchema
|
||||
breakfast?: false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user