feat: persist investor warning limits and preserve financial snapshots in QA

This commit is contained in:
2026-11-21 20:55:34 +02:00
parent c144425e77
commit a4ecc8a5a9
26 changed files with 1239 additions and 48 deletions
+4 -1
View File
@@ -100,7 +100,10 @@ export function financialPlanWarnings(
? undefined
: (metrics.directCosts * 12) / count,
};
const warnings = businessPlanWarnings(adjusted).map((w) => ({
const warnings = businessPlanWarnings(
adjusted,
plan.warningLimits,
).map((w) => ({
...w,
id: `${year}-${w.id}`,
message: `${year}: ${w.message}`,