{{define "title"}}Tally{{end}} {{define "content"}}
← Add receipt Recent · Manage · Export

Tally

{{if .Empty}}

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.

{{range .Years}}{{end}} {{range .Rows}} {{range .Cells}}{{end}} {{end}} {{range .YearTotals}}{{end}}
Who{{.}}Total
{{.Person}}{{if .}}{{.}}{{else}}{{end}}{{.Total}}
Total{{.}}{{.Grand}}
{{end}} {{end}}