Merged in feat/SW-1308-booking-codes-track-b (pull request #1607)

Feat/SW-1308 booking codes track b

* feat: SW-1308 Booking codes track b

* feat: SW-1308 Booking codes Track B implementation

* feat: SW-1308 Optimized after rebase


Approved-by: Arvid Norlin
This commit is contained in:
Hrishikesh Vaipurkar
2025-03-24 11:23:11 +00:00
parent 5643bcc62a
commit b0674d07f5
66 changed files with 1612 additions and 285 deletions

View File

@@ -22,6 +22,12 @@ export default function RoomProvider({
const selectRateRedemption = useRatesStore((state) =>
state.actions.selectRateRedemption(idx)
)
const selectRateCheque = useRatesStore((state) =>
state.actions.selectRateCheque(idx)
)
const selectRateVoucher = useRatesStore((state) =>
state.actions.selectRateVoucher(idx)
)
const roomNr = idx + 1
return (
<RoomContext.Provider
@@ -33,6 +39,8 @@ export default function RoomProvider({
selectFilter,
selectRate,
selectRateRedemption,
selectRateCheque,
selectRateVoucher,
},
isActiveRoom: activeRoom === idx,
isMainRoom: roomNr === 1,