From 52503a4c92ceee0b8744ec295f4cb7e3c9574243 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sun, 27 Feb 2022 20:02:57 +0000 Subject: [PATCH] Improve frontend --- web/src/pages/Account.vue | 52 +++++++++++++++++++++++++++----- web/src/stores/budget-account.ts | 27 +++++++++++------ 2 files changed, 62 insertions(+), 17 deletions(-) diff --git a/web/src/pages/Account.vue b/web/src/pages/Account.vue index 16dd609..d0fe2f3 100644 --- a/web/src/pages/Account.vue +++ b/web/src/pages/Account.vue @@ -13,31 +13,65 @@ defineProps<{ }>() const accounts = useAccountStore(); +const TargetReconcilingBalance = ref(0); + +function setReconciled(event: Event) { + const target = event.target as HTMLInputElement; + accounts.SetReconciledForAllTransactions(target.checked); +} + +function cancelReconcilation() { + accounts.SetReconciledForAllTransactions(false); + accounts.Reconciling = false; +} + +function submitReconcilation() { + +} + +function createReconcilationTransaction() { + +}