From 1bd801e977edb2432bdfb1966dffa8933d4d6244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Mon, 23 Aug 2021 16:28:01 +0200 Subject: [PATCH] Use propert total pax value for running costs calculation --- .../Private/Assets/js/components/GroupsPriceCalculator.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue index 35655cd1..6ce0ede4 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue @@ -383,7 +383,7 @@ export default { if (this.selectedBoard) { return 0; } - return this.nightsCount * this.selectedPax * 1.7; + return this.nightsCount * this.totalPax * 1.7; }, priceTotal() { return this.pricePax.base + this.pricePax.additional + this.priceOptions