Feat/SW-1077 enter details edit room
* feat(SW-1077): persist state when changing rooms
* fix: issue with step state when closing accordion and transition to correct room when modifying step
Approved-by: Pontus Dreij
feat(SW-1259): Enter details multiroom
* refactor: remove per-step URLs
* WIP: map multiroom data
* fix: lint errors in details page
* fix: made useEnterDetailsStore tests pass
* fix: WIP refactor enter details store
* fix: WIP enter details store update
* fix: added room index to select correct room
* fix: added logic for navigating between steps and rooms
* fix: update summary to work with store changes
* fix: added room and total price calculation
* fix: removed unused code and added test for breakfast included
* refactor: move store selectors into helpers
* refactor: session storage state for multiroom booking
* feat: update enter details accordion navigation
* fix: added room index to each form component so they select correct room
* fix: added unique id to input to handle case when multiple inputs have same name
* fix: update payment step with store changes
* fix: rebase issues
* fix: now you should only be able to go to a step if previous room is completed
* refactor: cleanup
* fix: if no availability just skip that room for now
* fix: add select-rate Summary and adjust typings
Approved-by: Arvid Norlin
fix: increase retry for getting booking status and dont show spinner if timeout occurs
* fix: increase retry for getting booking status and dont show spinner if timeout occurrs
Approved-by: Arvid Norlin
Added siteversion to all events and fixed payment status
* Added siteversion to all events and fixed payment status
* Fixed bug
Approved-by: Erik Tiekstra
fix: update booking status schema and affected code
* fix: update booking api schema and affected code
* fix: update meta prop in booking response schema
Approved-by: Arvid Norlin
Feat/SW-1007 saved payment cards now shown based on supported cards by hotel
* fix(SW-1007): refactored savedCards to only show supported payment cards
* fix(SW-1007): show error message even if metadata is null
* fix: merge changes that were missed
* fix: remove use server
Approved-by: Christel Westerberg
Feat/SW-755 price change non happy
* fix(SW-755): dont show field error if checkbox has no children
* feat(SW-755): Price change route + dialog WIP
* fix(SW-755): minor refactoring
* fix(SW-755): added logging to price change route
* fix(SW-755): remove redundant search param logic
* fix(SW-755): moved enum cast to zod instead
* fix(SW-755): move prop type to types folder
* fix(SW-755): Added suspense to Payment and refactored payment options hook
* fix(SW-755): seperated terms and conditions copy from the checkbox label
* fix(SW-755): add currency format and fixed wrong translation
* fix(SW-755): change from undefined to null
* fix(SW-755): added extra type safety to payment options
Approved-by: Christian Andolf
Approved-by: Simon.Emanuelsson
Fix/SW-933 incorrect ratecode when creating booking as a member
* fix(SW-933): Added check if member to select correct rate code in create booking
* fix(SW-933): set member price in summary when "join" is true
* fix(SW-933): change "price" -> "amount" and fix bool expression
* fix(SW-933): added check for membership number in summary
Approved-by: Christel Westerberg
Feat/SW-618 payment non happy path
* feat(SW-618): filter out expired saved cards
* feat(SW-618): Added payment error codes and way of showing messages based on code
* feat(SW-618): show error message if max retries has been reached and remove search param after showing toast
* fix(SW-618): move fallback error codes
* fix(SW-618): remove ref from stopping useEffect to run twice
* fix(SW-618): refactored logic for toast message and minor fixes
* fix(SW-618): remove error message enum due to static analysis problems
Approved-by: Christian Andolf
Approved-by: Arvid Norlin
Feat/SW-618 payment non happy path
* feat(SW-618): filter out expired saved cards
* feat(SW-618): Added payment error codes and way of showing messages based on code
* feat(SW-618): show error message if max retries has been reached and remove search param after showing toast
* fix(SW-618): move fallback error codes
* fix(SW-618): remove ref from stopping useEffect to run twice
* fix(SW-618): refactored logic for toast message and minor fixes
* fix(SW-618): remove error message enum due to static analysis problems
Approved-by: Christian Andolf
Approved-by: Arvid Norlin
feat(SW-659): Receive query params from Planet callbacks
* feat(SW-659): read confirmation number from url and update callback url if dev
* fix(SW-659): moved callback url into env variable
Approved-by: Simon.Emanuelsson