feat: persist investor warning limits and preserve financial snapshots in QA

This commit is contained in:
2026-11-21 20:55:34 +02:00
parent c144425e77
commit a4ecc8a5a9
26 changed files with 1239 additions and 48 deletions
@@ -1,3 +1,4 @@
import { WarningLimitsEditor } from './warning-limits-editor';
import { SupplierAdvancesEditor } from '@/components/supplier-advances';
import { PeriodInvestmentsEditor } from '@/components/period-investments';
import CurrencySelect from '@/components/currency-select';
@@ -954,6 +955,7 @@ export function SimulationBusinessPlan({
<FinancialDayTerms plan={plan} onChange={savePlan} />
<SupplierAdvancesEditor plan={plan} onChange={savePlan} />
<PeriodInvestmentsEditor plan={plan} onChange={savePlan} />
<WarningLimitsEditor plan={plan} onChange={savePlan} />
<StartupAssetRequirements
plan={plan}
onChange={savePlan}
@@ -2580,6 +2582,7 @@ export function SimulationBusinessPlan({
{!plan.reportAssumptions &&
plan.reportSource !== 'annual_example' && (
<BusinessPlanWarnings
limits={plan.warningLimits}
metrics={{
currency,
fundingGap: Number(result.fundingGap),