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
@@ -25,6 +25,7 @@ import { MarketAnalysisPlan } from '@/components/market-analysis-plan';
import { FinancialRatiosPlan } from '@/components/financial-ratios-plan';
import { PlanEconomicClassification } from '@/components/plan-economic-classification';
import { FinancialPlanDetails } from '@/components/financial-plan-details';
import { StartupAssetRequirements } from '@/components/startup-asset-requirements';
const emptyPlan: BusinessFinancialPlanInput = {
currency: '',
@@ -945,6 +946,7 @@ export function SimulationBusinessPlan({
)}
<PlanEconomicClassification plan={plan} onChange={savePlan} />
<FinancialPlanDetails plan={plan} onChange={savePlan} />
<StartupAssetRequirements plan={plan} onChange={savePlan} />
<IntegralFinancialPlan plan={plan} onChange={savePlan} />
<MarketAnalysisPlan plan={plan} onChange={savePlan} />
<FinancialRatiosPlan plan={plan} onChange={savePlan} />
@@ -1084,12 +1086,14 @@ export function SimulationBusinessPlan({
</p>
</>
)}
<MoneyInput
label="Saldo de caixa inicial"
value={plan.openingCash}
allowNegative
onChange={(value) => update('openingCash', value)}
/>
{!plan.startupAssetRequirements && (
<MoneyInput
label="Saldo de caixa inicial"
value={plan.openingCash}
allowNegative
onChange={(value) => update('openingCash', value)}
/>
)}
<label className="block text-sm font-medium">
Horizonte (meses)
<input