fix: trigger memberPrice modal for membership number too
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
import type { BreakfastPackage } from "@/types/components/hotelReservation/breakfast"
|
||||
import type { BedTypeSchema } from "@/types/components/hotelReservation/enterDetails/bedType"
|
||||
import type { DetailsSchema } from "@/types/components/hotelReservation/enterDetails/details"
|
||||
import type { RoomState } from "@/types/stores/enter-details"
|
||||
|
||||
export interface RoomContextValue {
|
||||
actions: {
|
||||
setIncomplete: () => void
|
||||
updateBedType: (data: BedTypeSchema) => void
|
||||
updateBreakfast: (data: BreakfastPackage | false) => void
|
||||
updateJoin: (join: boolean) => void
|
||||
updateDetails: (data: DetailsSchema) => void
|
||||
}
|
||||
actions: RoomState["actions"]
|
||||
isComplete: RoomState["isComplete"]
|
||||
idx: number
|
||||
room: RoomState["room"]
|
||||
|
||||
@@ -65,6 +65,7 @@ export interface RoomState {
|
||||
updateBedType: (data: BedTypeSchema) => void
|
||||
updateBreakfast: (data: BreakfastPackage | false) => void
|
||||
updateJoin: (join: boolean) => void
|
||||
updatePriceForMembershipNo: (membershipNo: string, isValid: boolean) => void
|
||||
updateDetails: (data: DetailsSchema) => void
|
||||
}
|
||||
isComplete: boolean
|
||||
|
||||
Reference in New Issue
Block a user