fix(pitch-deck): reorder betriebliche Aufwendungen + remove footer
All checks were successful
Build pitch-deck / build-push-deploy (push) Successful in 1m12s
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 37s
CI / test-python-voice (push) Successful in 41s
CI / test-bqas (push) Successful in 32s

New order: Detail rows (Steuern, Versicherungen, Raum, Marketing,
Besondere, Fahrzeug, Sonstige) → Summe sonstige → Personalkosten →
Abschreibungen → SUMME Betriebliche Aufwendungen

Removed auto-generated SUMME footer for betriebliche tab
(redundant with SUMME Betriebliche row).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-20 19:08:21 +02:00
parent 96cd79dec5
commit 9fd829eceb

View File

@@ -745,7 +745,7 @@ export default function FinanzplanSlide({ lang, investorId, preferredScenarioId,
})} })}
</tbody> </tbody>
{/* Summenzeile für relevante Sheets */} {/* Summenzeile für relevante Sheets */}
{['personalkosten', 'betriebliche', 'investitionen'].includes(activeSheet) && rows.length > 0 && (() => { {['personalkosten', 'investitionen'].includes(activeSheet) && rows.length > 0 && (() => {
const nonSumRows = rows.filter(r => { const nonSumRows = rows.filter(r => {
const l = getLabel(r) const l = getLabel(r)
return !(r.is_sum_row || l.includes('GESAMT') || l.includes('Summe') || l.includes('Gesamtkosten') || l === 'SUMME') return !(r.is_sum_row || l.includes('GESAMT') || l.includes('Summe') || l.includes('Gesamtkosten') || l === 'SUMME')