import { Head, Link } from '@inertiajs/react'; import { offerStates } from '@/lib/offer-editorial'; import OfferNavigation from '@/components/offer-navigation'; export default function OfferPreparations({ records, canCreate, filters = {}, }: { records: { data: { id: number; title: string | null; reference: string; state: string; availability?: string; }[]; prev_page_url: string | null; next_page_url: string | null; }; canCreate: boolean; filters?: { state?: string; operational?: boolean; pending_reports?: boolean; }; }) { return (

{filters.operational || filters.pending_reports ? 'Ofertas — acompanhamento' : 'As minhas ofertas'}

Prepare e guarde as suas ofertas num espaço privado.

{canCreate && ( Preparar oferta )}
{!records.data.length && (

Ainda não existem ofertas neste âmbito.

)}
); }