{{define "title"}}Tally{{end}}
{{define "content"}}
No receipts yet. Totals will appear here once you add some.
{{else}}Totals by person and receipt-date year, in dollars. Right column is each person's total; bottom row is each year's total.
| Who | {{range .Years}}{{.}} | {{end}}Total |
|---|---|---|
| {{.Person}} | {{range .Cells}}{{if .}}{{.}}{{else}}—{{end}} | {{end}}{{.Total}} |
| Total | {{range .YearTotals}}{{.}} | {{end}}{{.Grand}} |