feat: add packages info to summary

This commit is contained in:
Christel Westerberg
2024-11-12 10:06:13 +01:00
parent dbb5367df2
commit dc3516f4e1
16 changed files with 116 additions and 105 deletions

View File

@@ -1,6 +1,8 @@
import { RoomPackageCodeEnum } from "../selectRate/roomFilter"
import { Child } from "../selectRate/selectRate"
import { Packages } from "@/types/requests/packages"
interface Room {
adults: number
roomTypeCode: string
@@ -16,7 +18,7 @@ export interface BookingData {
}
type Price = {
price: string
price: number
currency: string
}
@@ -27,4 +29,5 @@ export type RoomsData = {
adults: number
children?: Child[]
cancellationText: string
packages: Packages | null
}

View File

@@ -28,7 +28,7 @@ export interface BreakfastSelectionProps extends SectionProps {
export interface DetailsProps extends SectionProps {}
export interface PaymentProps {
roomPrice: string
roomPrice: number
otherPaymentOptions: string[]
savedCreditCards: CreditCard[] | null
mustBeGuaranteed: boolean