{{define "content"}} {{$d := .}} {{$change := sub $d.ThisMonth.TotalCents $d.LastMonth.TotalCents}}

Dashboard

{{if $d.Email}}{{$d.Email}}{{end}}

Net This Month

€0.00

Income

€0.00

Expenses

€0.00

vs Last Month

€0.00

Spending by Category — This Month

{{if $d.ThisMonth.ByCategory}}
{{else}}
No spending data this month.
{{end}}

Balance Trend — 90 Days

{{if $d.BalanceTrend}}
{{else}}
No transactions yet. Import some!
{{end}}
{{if $d.CategoryBudgets}}

Budget vs Actual — This Month

Manage budgets
{{range $cat, $budget := $d.CategoryBudgets}} {{$spent := index $d.ThisMonth.ByCategory $cat}} {{$spentAbs := centsAbs $spent}} {{$color := index $d.CategoryColors $cat}} {{$over := isOver $spentAbs $budget}} {{$pct := clampPct $spentAbs $budget}}
{{if $color}}{{end}} {{$cat}} €{{cents $spentAbs}} / €{{cents $budget}} {{if $over}} ⚠ over budget{{end}}
{{end}}
{{end}}

Recent Transactions

View all
{{range $d.RecentTxns}} {{$color := index $d.CategoryColors .Category}} {{else}} {{end}}
Date Description Category Amount
{{dateShort .Date}} {{.Description}} {{if $color}}{{end}} {{.Category}} {{if lt .AmountCents 0}}−{{else}}+{{end}}€{{cents (centsAbs .AmountCents)}}
No transactions yet. Import some!
{{end}}