DAK Zweitmeinungs-Portal – Case Management & Reporting
Find a file
CCS Admin 95e84a6978 fix: filter report data by max KW when generating reports
Previously, generate_full_report() ignored the kw parameter for data
filtering — it was only stored as metadata. This caused all reports to
contain data up to the latest available KW, making historical reports
(e.g., for KW 8) identical to the current one.

Now all 5 sheet calculation functions accept an optional max_kw parameter.
When generating a report for a specific KW, only cases with kw <= max_kw
are included. Dashboard and vorjahr callers are unaffected (max_kw=None).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 23:16:20 +00:00
backend fix: filter report data by max KW when generating reports 2026-02-26 23:16:20 +00:00
deploy feat: add Passenger app.js for Plesk deployment 2026-02-24 08:55:47 +00:00
docs/plans feat: add inline report viewer with 5-tab sheet display 2026-02-26 22:57:35 +00:00
frontend fix: correct double /api/ prefix in report download URL 2026-02-26 23:10:12 +00:00
.gitignore feat: add avatar upload/delete endpoints with static file serving 2026-02-26 09:39:21 +00:00
Dak_projekt_spezifikation_final.md feat: project scaffolding with FastAPI, config, database connection 2026-02-24 07:24:00 +00:00