Adopt changes in MyE&P

This commit is contained in:
Björn Fromme
2021-06-15 18:47:08 +02:00
parent ad82781031
commit 2a7c9290dd
2 changed files with 12 additions and 1 deletions
@@ -101,6 +101,14 @@
<th>Beförderung</th>
<td>{{ getSelectedServicesLabels(participant.transportationIds, services.transportation) }}</td>
</tr>
<tr v-if="participant.surcharges.length > 0">
<th>Zuschläge</th>
<td>
<p v-for="surcharge in participant.surcharges">
{{ surcharge.priceSingle.toFixed(2) }} ({{ surcharge.name }})
</p>
</td>
</tr>
<tr>
<th>Gesamtpreis</th>
<td>{{ calculateSinglePrice(participant).toFixed(2) }} </td>
@@ -307,6 +315,9 @@
if ('S' === participant.data.status && participant.data.cancellationFee) {
singlePrice += participant.data.cancellationFee;
}
for (let surcharge of participant.surcharges) {
singlePrice += surcharge.priceSingle
}
return singlePrice;
},
onAccommodationSelected (accommodation, index) {
@@ -25,7 +25,7 @@
},
props: {
contingents: {
type: Object,
type: Array,
required: true
}
}