{{define "title"}}Payments Ledger{{end}} {{define "content"}}

Payments Ledger

All bank transactions from the payments sheet, grouped by member. Names are matched against the attendance sheet.

{{if .Error}}

{{.Error}}

{{end}}
{{range $person := .Data.SortedPeople}}

{{$person}}

{{range $tx := index $.Data.GroupedPayments $person}} {{end}}
Date Amount Purpose Bank Message
{{$tx.Date}} {{printf "%.0f" $tx.Amount}} CZK {{$tx.Purpose}} {{$tx.Message}}
{{end}}
{{end}}