Always include running costs into groups price calculation

This commit is contained in:
Björn Fromme
2022-11-29 16:19:32 +01:00
parent aa2a836bbb
commit c1b27e6ce9
@@ -482,9 +482,9 @@ export default {
return price; return price;
}, },
priceRunningCosts() { priceRunningCosts() {
if (this.selectedBoard) { // if (this.selectedBoard) {
return 0; // return 0;
} // }
return this.nightsCount * this.totalPax * this.runningCostsFactor; return this.nightsCount * this.totalPax * this.runningCostsFactor;
}, },
priceTotal() { priceTotal() {