fix: apply correct label for new age group in price calculator

addresses #86997e7e9
This commit is contained in:
Björn Fromme
2025-06-02 14:04:52 +02:00
parent 6e54fd6181
commit a099a9d226
2 changed files with 5 additions and 5 deletions
@@ -54,12 +54,12 @@
</div> </div>
<div> <div>
<label class="mb-2 font-bold"> <label class="mb-2 font-bold">
davon Kinder 3-5 Jahre* davon Kinder 4-5 Jahre*
</label> </label>
<input type="number" <input type="number"
class="form-field" class="form-field"
min="0" min="0"
v-model.number="childrenCount3to5" v-model.number="minorsCount"
@change="onPaxUpdated()" @change="onPaxUpdated()"
v-show="nightsCount > 0"/> v-show="nightsCount > 0"/>
<p class="text-sm italic" <p class="text-sm italic"
@@ -453,7 +453,7 @@ export default {
selectedRange: [], selectedRange: [],
selectedPax: 30, selectedPax: 30,
childrenCount: 0, childrenCount: 0,
childrenCount3to5: 0, minorsCount: 0,
adolescentsCount: 0, adolescentsCount: 0,
selectedOptions: [], selectedOptions: [],
selectedBoard: null, selectedBoard: null,
@@ -578,7 +578,7 @@ export default {
'tx_epproducts_ajax[groupsPriceInquiry][nights]': this.nightsCount, 'tx_epproducts_ajax[groupsPriceInquiry][nights]': this.nightsCount,
'tx_epproducts_ajax[groupsPriceInquiry][pax]': this.selectedPax, 'tx_epproducts_ajax[groupsPriceInquiry][pax]': this.selectedPax,
'tx_epproducts_ajax[groupsPriceInquiry][children]': this.childrenCount, 'tx_epproducts_ajax[groupsPriceInquiry][children]': this.childrenCount,
'tx_epproducts_ajax[groupsPriceInquiry][minors]': this.childrenCount3to5, 'tx_epproducts_ajax[groupsPriceInquiry][minors]': this.minorsCount,
'tx_epproducts_ajax[groupsPriceInquiry][adolescents]': this.adolescentsCount, 'tx_epproducts_ajax[groupsPriceInquiry][adolescents]': this.adolescentsCount,
'tx_epproducts_ajax[groupsPriceInquiry][summary][paxBase]': this.formatCurrency(this.pricePax.base), 'tx_epproducts_ajax[groupsPriceInquiry][summary][paxBase]': this.formatCurrency(this.pricePax.base),
'tx_epproducts_ajax[groupsPriceInquiry][summary][paxAdditional]': this.formatCurrency(this.pricePax.additional), 'tx_epproducts_ajax[groupsPriceInquiry][summary][paxAdditional]': this.formatCurrency(this.pricePax.additional),
@@ -71,7 +71,7 @@
<td>{children -> v:or(alternative: '-')}</td> <td>{children -> v:or(alternative: '-')}</td>
</tr> </tr>
<tr> <tr>
<th>Anzahl Kinder 3-5 Jahre</th> <th>Anzahl Kinder 4-5 Jahre</th>
<td>{minors -> v:or(alternative: '-')}</td> <td>{minors -> v:or(alternative: '-')}</td>
</tr> </tr>
<f:if condition="{adolescentsAge}"> <f:if condition="{adolescentsAge}">