Anton Gunnarsson
27b3f41bff
Merged in feat/refactor-enter-details-price-calculation (pull request #3183 )
...
feat: Refactor enter details price calculation
* Refactor getTotalPrice and child functions
* Move price calculations from helper file to specific file
Approved-by: Linus Flood
2025-11-27 13:44:45 +00:00
Anton Gunnarsson
fc02c957d2
Merged in chore/add-tests-to-getTotalPrice (pull request #3178 )
...
chore: Add tests to getTotalPrice
* Add tests to getTotalPrice
Approved-by: Joakim Jäderberg
2025-11-19 14:30:51 +00:00
Anton Gunnarsson
9fbbd3a91b
Merged in chore/add-tests-for-getCorporateChequePrice (pull request #3114 )
...
chore: Add tests for getCorporateChequePrice
* Add tests for getRequestedAdditionalPrice
* simplify types
* Add tests for getCorporateChequePrice
Approved-by: Joakim Jäderberg
2025-11-12 08:33:14 +00:00
Anton Gunnarsson
ba58ae6245
Merged in chore/regular-price-tests (pull request #3075 )
...
chore: Add tests for regular price calculations
* Add tests for calculateRegularPrice
* Add tests for getRegularPrice
* Add multiroom test
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-11-10 08:04:52 +00:00
Anton Gunnarsson
7fc49428c7
Merged in chore/price-calculation-tests (pull request #3072 )
...
chore: Add more price calculation tests
* Add tests and refactor types for getVoucherPrice
* Add tests for sumPackagesRequestedPrice
* Add tests for calculateVat
Approved-by: Joakim Jäderberg
2025-11-04 12:50:51 +00:00
Anton Gunnarsson
dc42a22513
Merged in chore/add-tests-to-getAdditionalPrice (pull request #3065 )
...
chore: Refactor types and add tests to parts of price calcuations
* Add tests to sumPackages
* Refactor types and add tests to getAdditionalPrice
* Don't always generate coverage
* Add tests and refactor types of getRedemptionPrice
Approved-by: Joakim Jäderberg
2025-11-04 12:09:04 +00:00
Hrishikesh Vaipurkar
78ede453a2
Merged in feat/SW-3526-show-sas-eb-points-rate-in- (pull request #2933 )
...
feat(SW-3526): Show EB points rate and label in booking flow
* feat(SW-3526): Show EB points rate and label in booking flow
* feat(SW-3526) Optimized points currency code
* feat(SW-3526) Removed extra multiplication for token expiry after rebase
* feat(SW-3526): Updated to exhaustive check and thow if type error
Approved-by: Anton Gunnarsson
2025-10-15 06:54:44 +00:00
Anton Gunnarsson
b0f3e4afbd
Merged in chore/cleanup-booking-flow (pull request #2824 )
...
chore: Cleanup booking-flow after migration
* Remove unused types
* Clean up exports, types, unused files etc in booking-flow
Approved-by: Joakim Jäderberg
2025-09-18 07:28:05 +00:00
Anton Gunnarsson
5a86cbaafe
Merged in chore/update-eslint-configs (pull request #2812 )
...
chore: Extend eslint configs from @typescript-eslint/recommended
* Change to typescript recommended in scandic-web
* Remove comment
* Change to recommended ts config in partner-sas
* Change to recommended ts lint config in booking-flow
Approved-by: Linus Flood
2025-09-17 07:55:11 +00:00
Joakim Jäderberg
7dee6d5083
Merged in chore/move-enter-details (pull request #2778 )
...
Chore/move enter details
Approved-by: Anton Gunnarsson
2025-09-11 07:16:24 +00:00