Merged in feat/SW-1076-no-room-availability (pull request #1467)
Feat/SW-1076 no room availability * fix: update booking error codes * feat(SW-1076): handle no room availabilty on enter-details * fix: parse to json in api mutation instead of expecting json * fix: remove 'isComplete' state from sectionAccordion because it was not needed Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -13,6 +13,7 @@ export interface Room {
|
||||
roomRate: RoomRate
|
||||
roomType: string
|
||||
roomTypeCode: string
|
||||
isAvailable: boolean
|
||||
}
|
||||
|
||||
export interface RoomProviderProps extends React.PropsWithChildren {
|
||||
|
||||
@@ -22,6 +22,7 @@ import type {
|
||||
import type { Packages } from "../requests/packages"
|
||||
|
||||
export interface InitialRoomData {
|
||||
isAvailable: boolean
|
||||
bedType?: BedTypeSchema // used when there is only one bedtype to preselect it
|
||||
bedTypes: BedTypeSelection[]
|
||||
breakfastIncluded: boolean
|
||||
|
||||
Reference in New Issue
Block a user