Entrega dashboard e correccoes transversais preservando Ofertas instalado
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-15 18:56:39 +02:00
parent 1349789226
commit fb076c174f
117 changed files with 10380 additions and 1905 deletions
+21
View File
@@ -34,6 +34,7 @@ const labels: Record<string, string> = {
investment_capacity: 'Capacidade de investimento declarada',
name: 'Nome da empresa',
registration: 'Referência de registo / NUIT',
legal_form: 'Forma jurídica declarada',
role: 'Função ou relação com a empresa',
description: 'Actividade e observações',
};
@@ -45,9 +46,13 @@ export default function Profile({
countries,
organizations = [],
organizationCountryAvailable = false,
continuation = null,
legalForms = [],
}: {
account: RecordData;
actorId: number;
continuation?: { id: string; title: string; href: string } | null;
legalForms?: { value: string; label: string }[];
companies: Company[];
countries: Country[];
organizations?: Organization[];
@@ -69,6 +74,17 @@ export default function Profile({
);
return (
<Frame title="Perfil de investimento e empresas">
{continuation && (
<aside className={card}>
<p>
Preparação de {continuation.title}. O cadastro no portal
não comprova a constituição legal.
</p>
<Link className="underline" href={continuation.href}>
Voltar ao dossier e associar esta empresa
</Link>
</aside>
)}
<Link className="underline" href="/formas-juridicas">
Comparar formas jurídicas antes de constituir uma entidade
</Link>
@@ -88,6 +104,7 @@ export default function Profile({
actorId={actorId}
editorId="account"
labels={labels}
legalForms={legalForms}
reportDirty={reportDirty}
record={account}
countries={countries}
@@ -132,6 +149,7 @@ export default function Profile({
actorId={actorId}
editorId={company.id}
labels={labels}
legalForms={legalForms}
reportDirty={reportDirty}
record={company}
organizations={organizations}
@@ -140,6 +158,7 @@ export default function Profile({
'name',
'incorporation_country_code',
'registration',
'legal_form',
'sector',
'role',
'description',
@@ -172,6 +191,7 @@ export default function Profile({
actorId={actorId}
editorId="new-company"
labels={labels}
legalForms={legalForms}
reportDirty={reportDirty}
record={{ version: 0, payload: {} }}
company
@@ -180,6 +200,7 @@ export default function Profile({
'name',
'incorporation_country_code',
'registration',
'legal_form',
'sector',
'role',
'description',