Commit Graph

20 Commits

Author SHA1 Message Date
Pontus Dreij
ed9dbded5d Merged in feat/SW-1504-UI-update-breakfast-component (pull request #1284)
feat(SW-1504): Used AncillaryCard and added to breakfast choice

* feat(SW-1504): Craeted AncillaryCard and added to breakfast choice

* feat(SW-1504): Using of AncillaryCard

* feat(SW-1504) Removed unused imports

* feat(SW-1504): Added price text

* feat(SW-1504): added /night per adult

* feat(SW-1504) Removed type prop


Approved-by: Arvid Norlin
2025-02-14 15:43:14 +00:00
Tobias Johansson
b394d54c3f Merged in feat/enter-details-multiroom (pull request #1280)
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
2025-02-11 14:24:24 +00:00
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +01:00
Christel Westerberg
bcae63e3fc fix: rename children to childrenInRoom 2025-01-14 12:25:17 +01:00
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01:00
Christel Westerberg
139accb8ed fix: align price formatting 2025-01-02 13:46:51 +01:00
Christel Westerberg
4210218852 fix: persist selection of bed and breakfast if same room 2024-12-10 15:42:44 +01:00
Tobias Johansson
b341c96838 Merged in fix/revert-breakfast-price-change (pull request #1064)
fix: revert price removal of "no breakfast" option


Approved-by: Simon.Emanuelsson
2024-12-10 13:24:29 +00:00
Tobias Johansson
9b1d70b3be Merged in feat/SW-1026-breakfast-for-kids (pull request #1038)
feat(SW-1026): added info regarding children breakfast

* feat(SW-1026): added info regarding children breakfast

* fix: remove hardcoded currency

* fix(SW-1026): remove price for no breakfast

* fix: missing translation


Approved-by: Christian Andolf
Approved-by: Arvid Norlin
2024-12-09 14:58:54 +00:00
Simon Emanuelsson
ccb15593ea feat: merge stores, fix auto navigation, split summary 2024-11-27 10:20:14 +01:00
Arvid Norlin
ac0d671811 fix(SW-957 SW-958): Make selected EnterDetailsCards clickable 2024-11-21 15:34:44 +01:00
Simon Emanuelsson
c6fc500d9e feat: make steps of enter details flow dynamic depending on data 2024-11-19 08:05:14 +01:00
Pontus Dreij
b4a015b47a feat(sw-697): Added default values 2024-11-04 16:36:24 +01:00
Pontus Dreij
04df824ea1 feat(697): Made new fields optional 2024-11-04 16:09:31 +01:00
Pontus Dreij
7f9af6c12e feat(SW-697): Update package structure on price from API 2024-11-04 14:20:46 +01:00
Christel Westerberg
85fdefb5ac feat: save search params from select-rate to store 2024-10-30 15:47:20 +01:00
Simon Emanuelsson
62f549e85d feat: get breakfast package from API 2024-10-29 15:39:21 +01:00
Christel Westerberg
c9684dee11 feat: add validation to enter details flow 2024-10-10 16:48:38 +02:00
Simon Emanuelsson
155b6683c4 feat: rename form/card to form/choicecard 2024-10-08 14:08:55 +02:00
Simon Emanuelsson
372ec171f5 feat: breakfast choice 2024-10-08 09:59:48 +02:00