Assistent auf zwei Schritte, Pensionsalter fix 65, Horizont abgeleitet
Deploy App / deploy (push) Successful in 1m57s
Deploy App / deploy (push) Successful in 1m57s
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1989,8 +1989,8 @@ export function computePlan(plan: PlanInput, sample?: PlanSample, options?: Comp
|
||||
personId: p.id,
|
||||
role: p.role,
|
||||
retirementAge: retirementAge.get(p.id) ?? AHV_REFERENCE_AGE,
|
||||
// Alter am Planende -- abgeleitet aus dem Horizont, nicht erfasst.
|
||||
planningHorizonAge: typeof plan.planningHorizonYears === "number" ? p.age + plan.planningHorizonYears : null,
|
||||
// Alter am Planende -- abgeleitet aus der Summe der Lebensphasen.
|
||||
planningHorizonAge: totalYears > 0 ? p.age + totalYears : null,
|
||||
ahvAnnual: Math.round(ahvFinalByPerson.get(p.id) ?? 0),
|
||||
ahvFromAge: Math.round(ahvStartAge(rd)),
|
||||
ahvDraw: ahvDrawLabel(rd),
|
||||
|
||||
Reference in New Issue
Block a user