Implement budget display

This commit is contained in:
2022-01-23 22:24:02 +00:00
parent aae8bbb44e
commit 6086447126
2 changed files with 40 additions and 1 deletions

View File

@ -1,8 +1,14 @@
<script>
export default {
mounted () {
this.$store.dispatch("fetchBudget", this.$route.params.budgetid)
}
}
</script>
<template>
<h1>Budget</h1>
<p>{{ $route.params.budgetid }}</p>
<p v-for="account in $store.getters.Accounts">{{ account.Name }} / {{ account.Balance.Int / 100 }}</p>
</template>