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
This commit is contained in:
Anton Gunnarsson
2025-11-27 13:44:45 +00:00
parent 5ac7e5deac
commit 27b3f41bff
5 changed files with 755 additions and 865 deletions

View File

@@ -16,10 +16,10 @@ import {
import { EnterDetailsStepEnum } from "../../stores/enter-details/enterDetailsStep"
import {
clearSessionStorage,
getTotalPrice,
readFromSessionStorage,
writeToSessionStorage,
} from "../../stores/enter-details/helpers"
import { getTotalPrice } from "../../stores/enter-details/priceCalculations"
import { isSameBooking } from "../../utils/isSameBooking"
import type { Lang } from "@scandic-hotels/common/constants/language"