diff --git a/apps/scandic-web/stores/enter-details/helpers.ts b/apps/scandic-web/stores/enter-details/helpers.ts index 369c48623..a276739ec 100644 --- a/apps/scandic-web/stores/enter-details/helpers.ts +++ b/apps/scandic-web/stores/enter-details/helpers.ts @@ -340,6 +340,7 @@ function getRequestedAdditionalPrice( breakfast: BreakfastPackage | false | undefined, nights: number, packages: Packages | null, + cheques: number, additionalPrice = 0, additionalPriceCurrency: CurrencyEnum | null | undefined ) { @@ -350,6 +351,8 @@ function getRequestedAdditionalPrice( } } + total.requested.price = add(total.requested.price, cheques) + const breakfastRequestedPrice = (breakfast ? breakfast.requestedPrice?.price || 0 : 0) * nights * adults const pkgsSumRequested = sumPackagesRequestedPrice(packages) @@ -414,6 +417,7 @@ export function getCorporateChequePrice(rooms: TRoom[], nights: number) { room.breakfast, nights, room.roomFeatures, + corporateCheque.requestedPrice.numberOfCheques, corporateCheque.requestedPrice?.additionalPricePerStay, corporateCheque.requestedPrice?.currency )