diff --git a/frontend/src/components/Transaction.vue b/frontend/src/components/Transaction.vue index 4358a3596..4071e809d 100644 --- a/frontend/src/components/Transaction.vue +++ b/frontend/src/components/Transaction.vue @@ -19,40 +19,40 @@ - + {{ getLinesByType(gdtEntryType).description }} - + {{ getLinesByType(gdtEntryType).descriptiontext }} - + {{ $t('gdt.credit') }} - + {{ getLinesByType(gdtEntryType).credittext }} - + {{ $t('form.memo') }} - + {{ comment }} - + {{ $t('form.date') }} - + {{ $d($moment(date), 'long') }} {{ $i18n.locale === 'de' ? 'Uhr' : '' }} diff --git a/frontend/src/components/TransactionCollapse.vue b/frontend/src/components/TransactionCollapse.vue index 444012820..aacc3b4f6 100644 --- a/frontend/src/components/TransactionCollapse.vue +++ b/frontend/src/components/TransactionCollapse.vue @@ -4,21 +4,21 @@ style="border: 0px; background-color: #f1f1f1" > -
+ {{ getLinesByType(gdtEntryType).headline }} -
+
-
+
{{ getLinesByType(gdtEntryType).first }}
{{ getLinesByType(gdtEntryType).second }}
-
-
+ +
{{ getLinesByType(gdtEntryType).firstMath }}
{{ getLinesByType(gdtEntryType).secondMath }}
-
+
@@ -33,6 +33,8 @@ export default { }, methods: { getLinesByType(givenType) { + if (givenType === 2 || givenType === 3 || givenType === 5 || givenType === 6) givenType = 1 + const linesByType = { 1: { headline: this.$t('gdt.calculation'),