feat(qa): separate startup resources and trace original example rows

This commit is contained in:
2026-11-20 17:43:34 +02:00
parent 41968bc537
commit 9f7dd7df6d
15 changed files with 1484 additions and 37 deletions
@@ -8,6 +8,7 @@ import { InvestmentReportTables } from './investment-report-tables';
import { BusinessPlanWarnings } from './business-plan-warnings';
import { financialPlanWarnings } from '@/lib/financial-plan-warnings';
import { buildAnnualExampleTables } from '@/lib/annual-example-report';
import { StartupAssetRequirements } from './startup-asset-requirements';
export function IntegralFinancialPlan({
plan,
@@ -81,6 +82,7 @@ export function IntegralFinancialPlan({
em falta permanecem por determinar; indique zero apenas quando
aplicável.
</p>
<StartupAssetRequirements plan={plan} onChange={onChange} />
<div className="grid gap-3 sm:grid-cols-2">
<label className="grid gap-1 text-sm">
Ano inicial
@@ -96,16 +98,18 @@ export function IntegralFinancialPlan({
}
/>
</label>
{numeric(
'Activos fixos anteriores (valor líquido)',
a.openingFixedAssets,
(openingFixedAssets) => update({ openingFixedAssets }),
)}
{numeric(
'Outros activos anteriores',
a.openingOtherAssets,
(openingOtherAssets) => update({ openingOtherAssets }),
)}
{!plan.startupAssetRequirements &&
numeric(
'Activos fixos anteriores (valor líquido)',
a.openingFixedAssets,
(openingFixedAssets) => update({ openingFixedAssets }),
)}
{!plan.startupAssetRequirements &&
numeric(
'Outros activos anteriores',
a.openingOtherAssets,
(openingOtherAssets) => update({ openingOtherAssets }),
)}
{numeric(
'Capital e resultados anteriores',
a.openingEquity,