Implement single account transaction-list

This commit is contained in:
2021-12-02 21:44:35 +00:00
parent f2e8721aa8
commit 871b11bbcc
7 changed files with 56 additions and 48 deletions

View File

@@ -10,8 +10,8 @@
{{define "main"}}
{{range .Accounts}}
<div class="budget-item">
<a href="account/{{.ID}}">{{.Name}}</a>
<span class="time">{{printf "%.2f" .GetBalance}}</span>
<a href="/account/{{.ID}}">{{.Name}}</a>
<span class="time">{{printf "%.2f" .Balance.GetFloat64}}</span>
</div>
{{end}}
{{end}}