Dashboard nach Feld gruppieren und Verkaufs-Hinweise integrieren

This commit is contained in:
Kai
2026-02-16 14:40:04 +01:00
parent b1c502a919
commit 2255318993
4 changed files with 66 additions and 25 deletions

View File

@@ -68,6 +68,7 @@ func (a *App) handleDashboard(w http.ResponseWriter, r *http.Request) {
Calendar: buildCalendar(plans, crops, products, stepMap, customTasks, doneMap, settings.CurrentMonth, settings.CurrentDay, settings.DaysPerMonth, 14),
PlanningCount: len(plans),
}
data.TodayGroups = groupTasksByField(data.TodayTasks)
a.renderTemplate(w, "templates/dashboard.html", data)
}