From b084f13f0cdd5e87dd068392149dbfac3a7555e2 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Tue, 4 Mar 2025 15:37:38 +0100 Subject: [PATCH 1/4] Corrected Banking page Added Scroll --- pages/banking/statements/[mode]/[[id]].vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pages/banking/statements/[mode]/[[id]].vue b/pages/banking/statements/[mode]/[[id]].vue index a92b728..13a3fd4 100644 --- a/pages/banking/statements/[mode]/[[id]].vue +++ b/pages/banking/statements/[mode]/[[id]].vue @@ -85,7 +85,7 @@ const separateIBAN = (input = "") => { const getDocumentSum = (doc,advanceInvoices = []) => { let sum = 0 - console.log(advanceInvoices) + //console.log(advanceInvoices) doc.rows.forEach(row => { if(row.mode === "normal" || row.mode === "service" || row.mode === "free") { @@ -93,7 +93,7 @@ const getDocumentSum = (doc,advanceInvoices = []) => { } }) - console.log(sum) + //console.log(sum) if(advanceInvoices.length > 0) { advanceInvoices.forEach(i => { @@ -102,7 +102,7 @@ const getDocumentSum = (doc,advanceInvoices = []) => { }) } - console.log(sum) + //console.log(sum) @@ -152,6 +152,9 @@ const selectAccount = (id) => { const manualAllocationSum = ref(itemInfo.value.amount || 0) const saveAllocation = async (allocation) => { + + console.log(allocation) + const {data,error} = await supabase.from("statementallocations").insert({ ...allocation, tenant: profileStore.currentTenant @@ -376,7 +379,7 @@ setup() -
+
Vorhandene Buchungen Date: Tue, 4 Mar 2025 15:44:33 +0100 Subject: [PATCH 2/4] Removed SerialInvoices Added Clearing after Edit --- pages/settings/texttemplates.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/settings/texttemplates.vue b/pages/settings/texttemplates.vue index 5b60ba8..b5b10f6 100644 --- a/pages/settings/texttemplates.vue +++ b/pages/settings/texttemplates.vue @@ -31,7 +31,7 @@ >