Prepare supplied financial directory with product coverage and native dossier continuity
This commit is contained in:
@@ -2,7 +2,9 @@ import { Link } from '@inertiajs/react';
|
||||
import { Frame, card, button } from '@/pages/investment/shared';
|
||||
export default function Manage({
|
||||
items,
|
||||
references = [],
|
||||
}: {
|
||||
references?: { code: string; title: string }[];
|
||||
items: {
|
||||
data: {
|
||||
id: string;
|
||||
@@ -21,12 +23,25 @@ export default function Manage({
|
||||
<Link className="ml-4 underline" href="/fundos">
|
||||
Catálogo público
|
||||
</Link>
|
||||
<Link
|
||||
className="ml-4 underline"
|
||||
href="/management/fundos/referencias/fdel"
|
||||
>
|
||||
Preparar referência FDEL
|
||||
</Link>
|
||||
<details className={card}>
|
||||
<summary>
|
||||
Preparar referências fornecidas ({references.length})
|
||||
</summary>
|
||||
<p>
|
||||
Prepara rascunhos privados; repetições reutilizam a ficha e
|
||||
preservam edições. Publicação é conferida separadamente.
|
||||
</p>
|
||||
{references.map((r) => (
|
||||
<p key={r.code}>
|
||||
<Link
|
||||
className="underline"
|
||||
href={`/management/fundos/referencias/${r.code}`}
|
||||
>
|
||||
{r.title}
|
||||
</Link>
|
||||
</p>
|
||||
))}
|
||||
</details>
|
||||
{items.data.map((item) => (
|
||||
<article className={card} key={item.id}>
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user