Integrate supplied institutions by location category and type through investor dossiers
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
import {
|
||||
financialCategories,
|
||||
financialTypes,
|
||||
evidenceLabels,
|
||||
} from '@/components/funding-classification';
|
||||
import {
|
||||
ProactiveSummary,
|
||||
proactiveView,
|
||||
@@ -45,6 +50,18 @@ type Path = {
|
||||
programme_id: string;
|
||||
version: number;
|
||||
need: string;
|
||||
institution_key?: string;
|
||||
categories?: string[];
|
||||
institution_types?: string[];
|
||||
location?: {
|
||||
id: string;
|
||||
label: string;
|
||||
address?: string;
|
||||
source_reference: string;
|
||||
source_document_sha256?: string;
|
||||
evidence_status?: string;
|
||||
location_text?: string;
|
||||
} | null;
|
||||
opportunity: string | null;
|
||||
notice: string;
|
||||
product?: {
|
||||
@@ -1077,14 +1094,14 @@ export default function InvestmentPath(path: Path) {
|
||||
id="financiamento"
|
||||
className="rounded-xl border bg-white p-4"
|
||||
>
|
||||
<h2>Referências de financiamento do dossier</h2>
|
||||
<h2>Instituições e serviços ligados ao processo</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
|
||||
Pesquisar bancos, seguradoras e outras instituições
|
||||
</Link>
|
||||
)}
|
||||
{(path.funding_selections ?? []).map((row) => (
|
||||
@@ -1101,6 +1118,41 @@ export default function InvestmentPath(path: Path) {
|
||||
'Condições por confirmar'}
|
||||
</p>
|
||||
<p>{row.notice}</p>
|
||||
<p>
|
||||
Identidade:{' '}
|
||||
{row.institution_key ?? 'Referência anterior'} ·
|
||||
Categoria:{' '}
|
||||
{(row.categories ?? [])
|
||||
.map((k) => financialCategories[k] ?? k)
|
||||
.join(' · ') || 'Por classificar'}{' '}
|
||||
· Tipo:{' '}
|
||||
{(row.institution_types ?? [])
|
||||
.map((k) => financialTypes[k] ?? k)
|
||||
.join(' · ') || 'Por classificar'}
|
||||
</p>
|
||||
{row.location && (
|
||||
<section>
|
||||
<h4>
|
||||
Sede/balcão escolhido: {row.location.label}
|
||||
</h4>
|
||||
<p>
|
||||
{row.location.location_text} ·{' '}
|
||||
{row.location.address}
|
||||
</p>
|
||||
<p>
|
||||
{row.location.evidence_status
|
||||
? evidenceLabels[
|
||||
row.location.evidence_status
|
||||
]
|
||||
: ''}{' '}
|
||||
· {row.location.source_reference}
|
||||
</p>
|
||||
<p>
|
||||
SHA-256 da origem:{' '}
|
||||
{row.location.source_document_sha256}
|
||||
</p>
|
||||
</section>
|
||||
)}
|
||||
<Link
|
||||
className="underline"
|
||||
href={`/fundos/${row.programme_id}?context=${path.case.id}${row.opportunity ? '&opportunity=' + encodeURIComponent(row.opportunity) : ''}`}
|
||||
|
||||
Reference in New Issue
Block a user