Merge branch 'develop'
This commit is contained in:
@@ -101,6 +101,14 @@
|
|||||||
<th>Beförderung</th>
|
<th>Beförderung</th>
|
||||||
<td>{{ getSelectedServicesLabels(participant.transportationIds, services.transportation) }}</td>
|
<td>{{ getSelectedServicesLabels(participant.transportationIds, services.transportation) }}</td>
|
||||||
</tr>
|
</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>
|
<tr>
|
||||||
<th>Gesamtpreis</th>
|
<th>Gesamtpreis</th>
|
||||||
<td>{{ calculateSinglePrice(participant).toFixed(2) }} €</td>
|
<td>{{ calculateSinglePrice(participant).toFixed(2) }} €</td>
|
||||||
@@ -307,6 +315,9 @@
|
|||||||
if ('S' === participant.data.status && participant.data.cancellationFee) {
|
if ('S' === participant.data.status && participant.data.cancellationFee) {
|
||||||
singlePrice += participant.data.cancellationFee;
|
singlePrice += participant.data.cancellationFee;
|
||||||
}
|
}
|
||||||
|
for (let surcharge of participant.surcharges) {
|
||||||
|
singlePrice += surcharge.priceSingle
|
||||||
|
}
|
||||||
return singlePrice;
|
return singlePrice;
|
||||||
},
|
},
|
||||||
onAccommodationSelected (accommodation, index) {
|
onAccommodationSelected (accommodation, index) {
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
contingents: {
|
contingents: {
|
||||||
type: Object,
|
type: Array,
|
||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user