From 3dcaeb1d4f14356f00c9ebe69b0c5ace03c93c2c Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Fri, 21 Mar 2025 12:20:02 +0100 Subject: [PATCH] Corrected Some Rendering Corrected Booking Sum --- pages/banking/statements/[mode]/[[id]].vue | 33 +++++++++++++--------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/pages/banking/statements/[mode]/[[id]].vue b/pages/banking/statements/[mode]/[[id]].vue index c6370c2..76c2009 100644 --- a/pages/banking/statements/[mode]/[[id]].vue +++ b/pages/banking/statements/[mode]/[[id]].vue @@ -35,7 +35,7 @@ const accounts = ref([]) const loading = ref(true) const setup = async () => { if(route.params.id) { - itemInfo.value = (await supabase.from("bankstatements").select("*, statementallocations(*)").eq("id",route.params.id).single()).data //dataStore.bankstatements.find(i => i.id === Number(route.params.id)) + itemInfo.value = (await supabase.from("bankstatements").select("*, statementallocations(*, cd_id(*, customer(*)), ii_id(*))").eq("id",route.params.id).single()).data //dataStore.bankstatements.find(i => i.id === Number(route.params.id)) } if(itemInfo.value) oldItemInfo.value = JSON.parse(JSON.stringify(itemInfo.value)) @@ -373,41 +373,46 @@ setup() variant="outline" color="rose" class="mr-3" - @click="removeAllocation(itemInfo.statementallocations.find(i => i.account === item.account).id)" + @click="removeAllocation(item.id)" /> - + />--> + - + />-->