feat(investment): prepare evidence-led territorial needs and ideas in existing workflows

This commit is contained in:
2026-10-27 09:35:20 +02:00
parent f8d57bddf9
commit 3439f35038
22 changed files with 605 additions and 14 deletions
+2 -1
View File
@@ -60,6 +60,7 @@ export default function Catalogue({
setInvestmentSelection(next); sessionStorage.setItem('investment-opportunity-selection', JSON.stringify(next));
}
const form = useForm({
perspective: String(filters.perspective ?? ''),
association_type: String(filters.association_type ?? ''),
association_target: String(filters.association_target ?? ''),
association_purpose: String(filters.association_purpose ?? ''),
@@ -601,7 +602,7 @@ export default function Catalogue({
</h2>
<p>{r.summary}</p>
<p className="font-semibold">{money(r)}</p>
<p>{r.maturity_label}</p>
<p>{r.proactive?(r.proactive.group==='ideas'?'Ideia em preparação':r.proactive.group==='needs'?'Necessidade identificada':'O que existe'):r.maturity_label}</p>
<div className="flex flex-wrap gap-4">
<Link
className="underline"
+2
View File
@@ -1,3 +1,4 @@
import {ProactiveSummary} from '@/components/proactive-investment';
import EducationalGuides from '@/components/educational-guides';
import InvestmentComplements, { type ComplementOption } from '@/components/investment-complements';
import { searchTerritoryHref, investmentPreparationHref } from '@/lib/search-territory';
@@ -53,6 +54,7 @@ export default function Detail({
<Link href={returnUrl} className="underline">
Voltar à pesquisa
</Link>
<ProactiveSummary value={r.proactive}/>
{dossierOrigin && (
<p>
<Link
+1
View File
@@ -44,6 +44,7 @@ export type References = {
sectors: { id: number; name: string; slug: string }[];
};
export type Opportunity = {
proactive?: import('@/components/proactive-investment').ProactivePublic;
id: number;
title: string;
slug: string;