{{template "base" .}} {{define "content"}} {{$d := .}}

{{$d.T.Get "household.title"}}

{{if not $d.HasHousehold}}

{{$d.T.Get "household.link_title"}}

{{$d.T.Get "household.link_desc"}}

{{else}}
{{$d.T.Get "household.linked_partner"}}
{{$d.PartnerEmail}}
{{$d.T.Get "household.this_month_title"}}

{{$d.T.Get "household.combined_income"}}

€{{cents $d.CombinedIncomeCents}}

{{$d.T.Get "household.my_income"}}

€{{cents $d.MyIncomeCents}}

{{$d.T.Get "household.partner_income"}}

€{{cents $d.PartnerIncomeCents}}

{{$d.T.Get "household.combined_expenses"}}

€{{cents $d.CombinedExpenseCents}}

{{$d.T.Get "household.disposable"}}

{{if ge $d.CombinedDisposable 0}}
€{{cents $d.CombinedDisposable}}
{{else}}
-€{{cents (centsAbs $d.CombinedDisposable)}}
{{end}}
{{if or $d.MyGoals $d.PartnerGoals}}
{{$d.T.Get "household.goals_title"}}
{{$d.T.Get "household.your_goals"}}
{{range $d.MyGoals}}
{{.Name}} {{if .Committed}}{{$d.T.Get "household.committed_badge"}}{{end}}
{{else}}
{{$d.T.Get "household.no_goals"}}
{{end}}
{{$d.T.Get "household.partner_goals"}}
{{range $d.PartnerGoals}}
{{.Name}} {{if .Committed}}{{$d.T.Get "household.committed_badge"}}{{end}}
{{else}}
{{$d.T.Get "household.no_goals"}}
{{end}}
{{end}} {{end}} {{end}}