fix(pitch-deck): trial churn (25% leave after 3 months) + remove unit_cost label
All checks were successful
Build pitch-deck / build-push-deploy (push) Successful in 1m4s
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 30s
CI / test-python-voice (push) Successful in 36s
CI / test-bqas (push) Successful in 31s

Churn model: 25% of new customers leave after 3 months (trial period).
Remaining customers have normal monthly churn (3% Starter, 2% Pro, 1% Ent).
Churn label shows "25% Trial + X%/Mon".

DB: section 'unit_cost' renamed to 'einkauf' (removed English label from UI).
Code: unit price detection updated for new section name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-20 10:07:45 +02:00
parent 19214bfd66
commit 8e2329be53

View File

@@ -518,7 +518,7 @@ export default function FinanzplanSlide({ lang, investorId, preferredScenarioId,
const isEditable = row.is_editable const isEditable = row.is_editable
// Balance rows show Dec value, flow rows show annual sum // Balance rows show Dec value, flow rows show annual sum
const isBalanceRow = label.includes('Kontostand') || label === 'LIQUIDITÄT' || label === 'LIQUIDITAET' const isBalanceRow = label.includes('Kontostand') || label === 'LIQUIDITÄT' || label === 'LIQUIDITAET'
const isUnitPrice = (row as Record<string, unknown>).section === 'unit_cost' || label.includes('Einkaufspreis') const isUnitPrice = (row as Record<string, unknown>).section === 'unit_cost' || (row as Record<string, unknown>).section === 'einkauf' || label.includes('Einkaufspreis')
let annual = 0 let annual = 0
if (isUnitPrice) { if (isUnitPrice) {