Prepare supplied financial directory with product coverage and native dossier continuity

This commit is contained in:
2026-11-10 18:51:23 +02:00
parent c8e0a7ee39
commit 5ff9402fd0
25 changed files with 2730 additions and 37 deletions
+54
View File
@@ -39,6 +39,20 @@ type Step = {
source_paragraph: number;
};
type Path = {
funding_selections?: {
id: string;
title: string;
programme_id: string;
version: number;
need: string;
opportunity: string | null;
notice: string;
product?: {
title: string;
conditions?: string;
availability: string;
} | null;
}[];
preparation_action?: {
id: string;
title: string;
@@ -786,6 +800,8 @@ export default function InvestmentPath(path: Path) {
{
(
{
funding:
'Instituições financeiras e apoios',
preparation: 'Preparação APIEX e SWOT',
simulator: 'Plano e simulador',
desk: 'Balcão e histórico',
@@ -1057,6 +1073,44 @@ export default function InvestmentPath(path: Path) {
Anexar ou conferir no Balcão
</Link>
</section>
<section
id="financiamento"
className="rounded-xl border bg-white p-4"
>
<h2>Referências de financiamento do dossier</h2>
<p>
Escolhas privadas para preparação; não são candidaturas
enviadas nem concessões de financiamento.
</p>
{path.tools.funding && (
<Link className="underline" href={path.tools.funding}>
Pesquisar instituições e apoios para este investimento
</Link>
)}
{(path.funding_selections ?? []).map((row) => (
<article key={row.id}>
<h3>
{row.title} · versão consultada {row.version}
</h3>
<p>
{row.product?.title ?? 'Produto por confirmar'} ·{' '}
{row.need}
</p>
<p>
{row.product?.conditions ||
'Condições por confirmar'}
</p>
<p>{row.notice}</p>
<Link
className="underline"
href={`/fundos/${row.programme_id}?context=${path.case.id}${row.opportunity ? '&opportunity=' + encodeURIComponent(row.opportunity) : ''}`}
>
Consultar ficha actual (pode ter sido alterada ou
retirada)
</Link>
</article>
))}
</section>
<details id="tarefas" className="space-y-3 rounded-xl border p-4">
<summary className="cursor-pointer text-lg font-semibold">
Acompanhamento interno