fix(SW-1997): only add points or card if payed with
* fix(SW-1997): only add points or card if payed with
* fix(SW-1997): use buildAncillaries function
Approved-by: Michael Zetterberg
Refactor(SW-2177): Use react aria RadioGroup & Radio for payment options
* fix(SW-SW-2177): enhance accessibility for payment options
* Added keyboard navigation support to payment options.
* Updated CSS to improve focus styles for payment option labels.
* refactor: use RadioGroup & Radio from react aria for payment options
* refactor(SW-2177): replace setValue and watch with useController for payment method handling
* fix(SW-2177): remove comment and use cx for styles on PaymentOption
* fix(SW-2177): Add keyboard focus indicator to payment option
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
fix(sw-2444): view all ancillaries mobile
* fix(sw-2444): view all ancillaries mobile
On mobile the view all button to show all ancillaries shouldn't be
shown. It's already a carousel showing all available ancillaries.
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
Fix(LOY-222): Find my booking url handling
* fix(LOY-222): adapt findMyBooking url based on HIDE_FOR_NEXT_RELEASE
* feat(LOY-222): add current web paths for findMyBooking in multiple languages
* refactor(LOY-222): better env and new url constructions
* refactor(LOY-222): decouple env var handling from getCurrentWebUrl
* fix(LOY-222): update findMyBooking URL construction to use baseUrl
* fix(LOY-222): simplify findMyBooking URL handling for new web urls
* fix(LOY-222): Update Finnish path for hotel reservation lookup
* refactor(LOY-222): rename PUBLIC_URL to NEXT_PUBLIC_PUBLIC_URL for consistency
Approved-by: Christian Andolf
Approved-by: Linus Flood
The pinned version of @formatjs/swc-plugin-experimental has a bug in it that
doesn't allow it to parse ’. But we can't upgrade to the new version due to
incompatibilities between SWC and Next. We can upgrade once we move to Next 15.
fix(SW-2254): disable download invoice if the booking is flex
* fix(SW-2254): disable download invoice if the booking is flex
Approved-by: Simon.Emanuelsson
Feat(SW-1943): add new design for pay ancillaries with points
* fix: hide card and payment info if only quantity with points is selected
* feat(SW-1943): add new design for pay ancillaries with points
* feat(SW-1943): add missing translation
* feat(SW-1943): fix rebase
* feat(SW-1943): remove console log
Approved-by: Linus Flood
Approved-by: Matilda Landström
fix(SW-2222): update next stay url to use PUBLIC_URL and adapt based on release flag
* fix(SW-2222): update next stay url to use PUBLIC_URL and adapt based on release flag
* refactor(SW-2222): change promoUrl variable to const
Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
fix: Hide the breakfast package unitprice for bookings with breakfastIncluded
* fix: Hide the breakfast package unitprice for bookings with breakfastIncluded
Approved-by: Niclas Edenvin
The number of breakfasts and total sums weren’t correctly calculated. This fixes that.
Also changes display logic of when the ancillaries sections are shown
Approved-by: Bianca Widstam
Feat/SW-1997 tracking gla my stay ancillaries
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1997): add tracking for gla my stay and ancillaries
* feat(SW-1997): rebase master
* feat(SW-1997): fix duplicate import
* feat(SW-1997): add hotelId and category for ancillaries, and add more tracking
* feat(SW-1997): remove commments and fix spelling mistake
* feat(SW-1997): if addAncillary failed, but guarantee is successful, default to card in booking
Approved-by: Niclas Edenvin
fix: small design fix, fix bug that redirects to planet, add translations
* fix: small design fix, fix bug that redirects to planet, add translations
* fix: if user does not have enough points, default quantitywithcard to 1
* fix: fix pr comment
Approved-by: Linus Flood
Approved-by: Matilda Landström
Feat/sw-1839 show added breakfast
* Fix wrong space character
* Change to correct CSS variable
* Show added breakfast ancillary in the "My add-ons" section
* Show breakfast info in room card
* Show breakfast in price details table
* Format price
Approved-by: Pontus Dreij
Feat(SW-2083) missing booking codes scenarios my stay
* feat(SW-2083) Show points instead of reward nights
* feat(SW-2083) added support for cheque and voucher for totalPrice
Approved-by: Niclas Edenvin
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay
* feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay
Approved-by: Niclas Edenvin
fix: Add type casting for room package codes
* fix: Add type casting for room package codes
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström