diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue index 256199e9..5c802f7e 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue @@ -101,6 +101,14 @@ Beförderung {{ getSelectedServicesLabels(participant.transportationIds, services.transportation) }} + + Zuschläge + +

+ {{ surcharge.priceSingle.toFixed(2) }} € ({{ surcharge.name }}) +

+ + Gesamtpreis {{ calculateSinglePrice(participant).toFixed(2) }} € @@ -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) { diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ContingentsOverview.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ContingentsOverview.vue index 6d08e765..19a2d639 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ContingentsOverview.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/ContingentsOverview.vue @@ -25,7 +25,7 @@ }, props: { contingents: { - type: Object, + type: Array, required: true } }