From eb9fc722aafe10df4459ab42904782820fb54c5c Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sun, 27 Feb 2022 19:20:13 +0000 Subject: [PATCH] Show reconcile button and current reconciling-balance --- web/src/components/TransactionRow.vue | 34 +++++++++++-------- web/src/pages/Account.vue | 27 ++++++++------- web/src/stores/budget-account.ts | 47 +++++++++++++++++---------- 3 files changed, 65 insertions(+), 43 deletions(-) diff --git a/web/src/components/TransactionRow.vue b/web/src/components/TransactionRow.vue index f209b22..197ac91 100644 --- a/web/src/components/TransactionRow.vue +++ b/web/src/components/TransactionRow.vue @@ -1,7 +1,7 @@ diff --git a/web/src/pages/Account.vue b/web/src/pages/Account.vue index 2738214..16dd609 100644 --- a/web/src/pages/Account.vue +++ b/web/src/pages/Account.vue @@ -5,35 +5,39 @@ import TransactionRow from "../components/TransactionRow.vue"; import TransactionInputRow from "../components/TransactionInputRow.vue"; import { useAccountStore } from "../stores/budget-account"; import EditAccount from "../dialogs/EditAccount.vue"; +import Button from "../components/Button.vue"; -const props = defineProps<{ +defineProps<{ budgetid: string accountid: string }>() -const accountStore = useAccountStore(); -const CurrentAccount = computed(() => accountStore.CurrentAccount); -const TransactionsList = computed(() => accountStore.TransactionsList); - +const accounts = useAccountStore();