31 lines
688 B
HTML
31 lines
688 B
HTML
{{template "base" .}}
|
|
|
|
{{define "title"}}Budget{{end}}
|
|
|
|
{{define "new"}}
|
|
{{template "transaction-new"}}
|
|
{{end}}
|
|
|
|
{{define "main"}}
|
|
<div class="budget-item">
|
|
<a href="#newtransactionmodal" data-toggle="modal" data-target="#newtransactionmodal">New Transaction</a>
|
|
<span class="time"></span>
|
|
</div>
|
|
<table class="container col-lg-12" id="content">
|
|
{{range .Transactions}}
|
|
<tr>
|
|
<td>{{.Date}}</td>
|
|
<td>
|
|
{{.Account}}
|
|
</td>
|
|
<td>
|
|
{{.Payee}}
|
|
</td>
|
|
<td>
|
|
<a href="transaction/{{.ID}}">{{.Memo}}</a>
|
|
</td>
|
|
{{template "amount-cell" .Amount}}
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
{{end}} |