Cash-Anfangswert (erste Lebensphase) editierbar
Deploy App / deploy (push) Successful in 1m44s

Neues Feld Plan.initialCash (additiv, Default 0). computePlan startet die erste Phase
mit diesem Cash-Bestand statt 0. In der Matrix ist die Cash-Zelle der ersten Phase
klickbar und oeffnet ein Popup zum Setzen des Anfangswerts (PATCH /api/plans/{id}).
Szenario-Kopie uebernimmt den Wert. Golden-Test ergaenzt.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 12:48:02 +02:00
parent 7222faa98c
commit 249debe2f4
9 changed files with 85 additions and 10 deletions
+1
View File
@@ -31,6 +31,7 @@ export function toPlanInput(plan: PlanWithRelations): PlanInput {
name: plan.name,
householdType: plan.householdType,
inflationRateDefault: plan.inflationRateDefault,
initialCash: plan.initialCash,
persons: plan.persons.map((p) => ({
id: p.id,
role: p.role,