diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/Events.vue b/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/Events.vue
index f3a46b2c..d332992d 100644
--- a/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/Events.vue
+++ b/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/components/Events.vue
@@ -12,7 +12,7 @@
Preis |
offen |
Status |
- Best./Rg. |
+ Dokumente |
@@ -21,14 +21,19 @@
{{ event.reisedatum | date }} |
{{ event.reise }} |
-
+
- {{ customer.name }}, {{ customer.vorname }}
|
- {{ event.preis }} EUR |
+ {{ event.preis }} € |
{{ calculateBalance(event) }} |
{{ status[event.status] }} |
- |
+
+ Bestätigung
+
+ Reiseinfos
+
+ |
@@ -71,11 +76,11 @@
}
return dayjs(date).format('DD.MM.YYYY');
},
- getDownloadUrl (event) {
+ getDownloadUrl (event, type) {
return this.$store.state.config.myEpApiBaseUrl
+ '/api/events/'
+ event.id
- + '/confirmation?token='
+ + '/' + type + '?token='
+ this.$store.getters.authToken;
},
calculateBalance (event) {
@@ -86,7 +91,7 @@
const payment = parseFloat(event.zahlung.replace(',', '.'));
const balance = price - payment;
if (balance > 0) {
- return balance.toFixed(2).replace('.', ',') + ' EUR';
+ return balance.toFixed(2).replace('.', ',') + ' €';
}
return '-';