Merged in fix/sw-1897-member-price-modal (pull request #1856)

fix(sw-1897): show member price modal immediately

* fix(sw-1897): show member price modal immediately

* Make checkbox fully controlled

* Remove action in the store that wasn't used


Approved-by: Hrishikesh Vaipurkar
This commit is contained in:
Niclas Edenvin
2025-04-25 09:55:24 +00:00
parent 0011cbe8d2
commit 3a958c4dd1
8 changed files with 87 additions and 66 deletions

View File

@@ -7,6 +7,7 @@ export interface RoomContextValue {
actions: {
updateBedType: (data: BedTypeSchema) => void
updateBreakfast: (data: BreakfastPackage | false) => void
updateJoin: (join: boolean) => void
updateDetails: (data: DetailsSchema) => void
}
isComplete: RoomState["isComplete"]

View File

@@ -61,8 +61,8 @@ export interface RoomState {
actions: {
updateBedType: (data: BedTypeSchema) => void
updateBreakfast: (data: BreakfastPackage | false) => void
updateJoin: (join: boolean) => void
updateDetails: (data: DetailsSchema) => void
updateMultiroomDetails: (data: MultiroomDetailsSchema) => void
}
isComplete: boolean
room: Room