Merge balance and balanceassignments

This commit is contained in:
2021-12-07 15:33:08 +00:00
parent 0b0b20c5ec
commit 6bcf94661e
3 changed files with 19 additions and 16 deletions

View File

@ -20,6 +20,14 @@
<a href="{{printf "/budget/%s/%d/%d" .Budget.ID .Next.Year .Next.Month}}">Next Month</a>
</div>
<table class="container col-lg-12" id="content">
<tr>
<th>Group</th>
<th>Category</th>
<th></th>
<th></th>
<th>Balance</th>
<th>Activity</th>
</tr>
{{range .Categories}}
<tr>
<td>{{.Group}}</td>
@ -29,7 +37,6 @@
<td>
</td>
{{template "amount-cell" .Balance}}
{{template "amount-cell" .BalanceAssignments}}
{{template "amount-cell" .Activity}}
</tr>
{{end}}