{{define "content"}} {{$d := .}}
| {{$d.T.Get "reports.col_month"}} | {{range $cat, $_ := $d.CategoryNames}} {{$color := index $d.CategoryColors $cat}}{{if $color}}{{end}}{{$cat}} | {{end}}{{$d.T.Get "reports.col_total"}} |
|---|---|---|
| {{$row.Month}} | {{range $cat, $_ := $d.CategoryNames}} {{$v := index $row.Totals $cat}}{{if $v}}€{{cents $v}}{{else}}—{{end}} | {{end}}€{{cents $total}} |