diff --git a/web-app/src/pages/AccountPage.vue b/web-app/src/pages/AccountPage.vue index 69636c2..65c0b78 100644 --- a/web-app/src/pages/AccountPage.vue +++ b/web-app/src/pages/AccountPage.vue @@ -58,6 +58,17 @@ async function addValueRecord() { history.value?.reload() } } + +async function addCreditTransaction() { + await router.push( + `/profiles/${getSelectedProfile(route)}/add-transaction?credited-account=${account.value?.id}`, + ) +} +async function addDebitTransaction() { + await router.push( + `/profiles/${getSelectedProfile(route)}/add-transaction?debited-account=${account.value?.id}`, + ) +}