Implement budget display
This commit is contained in:
@ -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>
|
Reference in New Issue
Block a user