From 2324f62721c1103695c67cde37c4a69270fc7612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rodrigues?= Date: Sat, 13 Jun 2026 16:41:48 +0100 Subject: [PATCH] feat: add fixed costs panel to dashboard Co-Authored-By: Claude Sonnet 4.6 --- .../api/main/templates/dashboard.html | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/apps/finance/services/api/main/templates/dashboard.html b/apps/finance/services/api/main/templates/dashboard.html index 02b62a7..48fc4de 100644 --- a/apps/finance/services/api/main/templates/dashboard.html +++ b/apps/finance/services/api/main/templates/dashboard.html @@ -224,4 +224,35 @@ + +{{if $d.RecurringExpenses}} +
+
+

Fixed costs

+ auto-detected · 3-month average +
+
+ {{range $d.RecurringExpenses}} + {{$color := index $d.CategoryColors .Category}} +
+
+ {{if $color}}{{end}} +
+
{{.Category}}
+
committed monthly cost
+
+
+
+
− €{{cents .MonthlyCents}}
+
/ month
+
+
+ {{end}} +
+ Total fixed + − €{{cents $d.BankShouldBe}} +
+
+
+{{end}} {{end}}