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

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.

)}
); }