varias alteracoes

This commit is contained in:
2026-09-29 08:41:57 +02:00
parent b77714b156
commit 2e0217b486
51 changed files with 2605 additions and 270 deletions
+12
View File
@@ -1,4 +1,5 @@
import { Link, useForm, router } from "@inertiajs/react";
import InvestmentMapPanel from "@/components/investment-map-panel";
import { Management } from "../management/shared";
import { Layout, Field, control, button, labels, kind } from "./shared";
import type { Dossier } from "./shared";
@@ -47,6 +48,17 @@ function Editor({
{kind(record)} · {record.content.code}
</p>
<p className="text-sm">Fonte: {record.source}</p>
{!management && (record.cluster_id || record.corridor_id || record.project_id) && (
<InvestmentMapPanel
filters={
record.cluster_id
? { cluster_id: record.cluster_id }
: record.corridor_id
? { corridor_id: record.corridor_id }
: { project_id: record.project_id! }
}
/>
)}
{zones.length > 0 && (
<section>
<h2 className="text-xl font-bold">ZEE, ZFI e parques relacionados</h2>