fix: remove demonstration scenario from investor simulator and exports
This commit is contained in:
@@ -23,7 +23,6 @@ import {
|
||||
} from '@/lib/simulation-contract';
|
||||
import { buildFinancialFiscalBridge } from '@/lib/financial-fiscal-bridge';
|
||||
import { BusinessPlanWarnings } from '@/components/business-plan-warnings';
|
||||
import { SimulationAnnualExample } from '@/components/simulation-annual-example';
|
||||
import { IntegralFinancialPlan } from '@/components/integral-financial-plan';
|
||||
import { MarketAnalysisPlan } from '@/components/market-analysis-plan';
|
||||
import { FinancialRatiosPlan } from '@/components/financial-ratios-plan';
|
||||
@@ -159,7 +158,6 @@ export function SimulationBusinessPlan({
|
||||
);
|
||||
const [workingPlan, setWorkingPlan] =
|
||||
useState<BusinessFinancialPlanInput | null>(null);
|
||||
const [showExample, setShowExample] = useState(false);
|
||||
useEffect(() => setWorkingPlan(null), [snapshot]);
|
||||
if (hasOversizedStoredSnapshot) {
|
||||
return (
|
||||
@@ -926,30 +924,12 @@ export function SimulationBusinessPlan({
|
||||
</p>
|
||||
)}
|
||||
<p className="my-3 text-sm text-slate-700">
|
||||
Projecção indicativa com valores de exemplo editáveis ou
|
||||
pressupostos introduzidos pela pessoa. Facturação, cobranças,
|
||||
despesas, pagamentos, juros e capital reembolsado ficam
|
||||
separados. Não calcula impostos, não converte moedas e não
|
||||
substitui um plano contabilístico validado.
|
||||
Projecção indicativa com pressupostos introduzidos pelo
|
||||
investidor. Facturação, cobranças, despesas, pagamentos, juros e
|
||||
capital reembolsado ficam separados. Não calcula impostos, não
|
||||
converte moedas e não substitui um plano contabilístico
|
||||
validado.
|
||||
</p>
|
||||
<button
|
||||
type="button"
|
||||
className="rounded border px-3 py-2 text-sm"
|
||||
onClick={() => setShowExample((previous) => !previous)}
|
||||
>
|
||||
{showExample
|
||||
? 'Fechar cenário de exemplo'
|
||||
: 'Carregar cenário anual de exemplo'}
|
||||
</button>
|
||||
{showExample && (
|
||||
<SimulationAnnualExample
|
||||
currency={currency}
|
||||
snapshot={plan.annualExampleSnapshot}
|
||||
onSnapshotChange={(annualExampleSnapshot) =>
|
||||
savePlan({ ...plan, annualExampleSnapshot })
|
||||
}
|
||||
/>
|
||||
)}
|
||||
<PlanEconomicClassification plan={plan} onChange={savePlan} />
|
||||
<FinancialPlanDetails plan={plan} onChange={savePlan} />
|
||||
<FinancialDayTerms plan={plan} onChange={savePlan} />
|
||||
|
||||
Reference in New Issue
Block a user