diff --git a/pitch-deck/components/slides/FinanzplanSlide.tsx b/pitch-deck/components/slides/FinanzplanSlide.tsx index b04d1b0..6c58158 100644 --- a/pitch-deck/components/slides/FinanzplanSlide.tsx +++ b/pitch-deck/components/slides/FinanzplanSlide.tsx @@ -579,7 +579,15 @@ export default function FinanzplanSlide({ lang, investorId, preferredScenarioId, !rLabel.includes('Personalkosten') && !rLabel.includes('Abschreibungen') && !rLabel.includes('Summe') && !rLabel.includes('SUMME') }) } else if (label.includes('SUMME Betriebliche')) { - sourceRows = rows.filter(r => !r.is_sum_row && !getLabel(r).includes('Summe') && !getLabel(r).includes('SUMME') && (r.category as string) !== 'summe') + // Include ALL rows: personal + abschreibungen + all detail rows (but not other sum rows) + sourceRows = rows.filter(r => { + const rCat = r.category as string || '' + const rLabel = getLabel(r) + // Include Personalkosten and Abschreibungen (they have is_sum_row=true but are real data) + if (rLabel === 'Personalkosten' || rLabel === 'Abschreibungen') return true + // Exclude sum rows and category "summe" + return !r.is_sum_row && rCat !== 'summe' && !rLabel.includes('Summe') && !rLabel.includes('SUMME') + }) } // === Liquidität: row_type-based sums ===