Scope parks and downstream investment requests to the treated opportunity

This commit is contained in:
2026-10-23 17:49:22 +02:00
parent ad4160f040
commit 4a01e9e2b7
25 changed files with 408 additions and 39 deletions
@@ -1,3 +1,4 @@
import { InvestmentConsumerIdentity } from '@/components/investment-consumer-identity';
import { Link, router, useForm } from '@inertiajs/react';
import { useState } from 'react';
@@ -103,6 +104,7 @@ export default function LandCase({
};
return (
<main className="mx-auto max-w-5xl space-y-6 p-6">
<InvestmentConsumerIdentity raw={payload.context_opportunity_snapshot}/>
<header className="space-y-2">
{returnDossier && <Link className="underline" href={returnDossier.url}>Voltar ao dossier: {returnDossier.title}</Link>}
<Link href="/investidor/terra-duat" className="underline">
@@ -1,3 +1,4 @@
import { InvestmentConsumerIdentity } from '@/components/investment-consumer-identity';
import { displayValue } from '@/lib/display-value';
import type { ReactNode } from 'react';
type Props = {
@@ -44,6 +45,7 @@ export default function PrintCase({
Imprimir / guardar como PDF
</button>
</div>
<InvestmentConsumerIdentity raw={p.context_opportunity_snapshot}/>
<header className="space-y-2 border-b pb-4">
<p>InvesteMoz · modelo de preparação · {modelVersion}</p>
<h1 className="text-2xl font-bold">