From a47426af70377b9c843be08fb8b6cdd7db244bab Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Tue, 1 Apr 2025 16:19:13 +0200 Subject: [PATCH] Added Statement Description to Allocations --- pages/banking/statements/[mode]/[[id]].vue | 37 +++++++++++++++++----- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/pages/banking/statements/[mode]/[[id]].vue b/pages/banking/statements/[mode]/[[id]].vue index 381120f..c0e1859 100644 --- a/pages/banking/statements/[mode]/[[id]].vue +++ b/pages/banking/statements/[mode]/[[id]].vue @@ -144,6 +144,7 @@ const selectAccount = (id) => { const manualAllocationSum = ref(itemInfo.value.amount || 0) const allocationDescription = ref("") const showMoreWithoutRecipe = ref(false) +const showMoreText = ref(false) const saveAllocation = async (allocation) => { @@ -392,7 +393,15 @@ const archiveStatement = async () => { - {{itemInfo.text}} + {{ showMoreText ? "Weniger anzeigen" : "Mehr anzeigen" }} + + + +

{{showMoreText ? itemInfo.text : itemInfo.text.substring(0,200)}}

@@ -418,7 +427,7 @@ const archiveStatement = async () => { -
+
Vorhandene Buchungen { {{displayCurrency(item.amount)}}
+

Beschreibung:

+

{{item.description}}

@@ -449,11 +460,13 @@ const archiveStatement = async () => { {{displayCurrency(item.amount)}}
+

Beschreibung:

+

{{item.description}}

@@ -467,11 +480,13 @@ const archiveStatement = async () => { {{displayCurrency(item.amount)}} +

Beschreibung:

+

{{item.description}}

@@ -485,11 +500,13 @@ const archiveStatement = async () => { {{displayCurrency(item.amount)}} +

Beschreibung:

+

{{item.description}}

@@ -503,11 +520,13 @@ const archiveStatement = async () => { {{displayCurrency(item.amount)}} +

Beschreibung:

+

{{item.description}}

@@ -521,11 +540,13 @@ const archiveStatement = async () => { {{displayCurrency(item.amount)}} +

Beschreibung:

+

{{item.description}}