fix(pitch-deck): fix Liquidität engine label mismatches + MilestonesSlide types
All checks were successful
Build pitch-deck / build-push-deploy (push) Successful in 1m38s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 38s
CI / test-python-voice (push) Successful in 36s
CI / test-bqas (push) Successful in 33s

Engine now uses dynamic row_type-based summation instead of hardcoded label
strings that differed between scenarios (e.g. 'Summe ERTRÄGE' vs
'Summe EINZAHLUNGEN'), fixing stale 9.2M value in Wandeldarlehen scenarios.
Rolling balance now includes all financing cash flows via ÜBERSCHUSS chain.

MilestonesSlide: widen Theme type to union so t.key comparisons compile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-04-23 22:07:00 +02:00
parent 6694ab84a1
commit 71b6f8f181
2 changed files with 28 additions and 53 deletions

View File

@@ -147,7 +147,7 @@ const THEMES = {
},
}
type Theme = typeof THEMES.dark
type Theme = typeof THEMES.dark | typeof THEMES.light
// ── Data ──────────────────────────────────────────────────────────────────────
const TODAY_POSITION = 0.56