import { Head, Link } from '@inertiajs/react';
export default function OfferPreparations({
records,
canCreate,
}: {
records: {
data: {
id: number;
title: string | null;
reference: string;
state: string;
}[];
prev_page_url: string | null;
next_page_url: string | null;
};
canCreate: boolean;
}) {
return (
Prepare e guarde as suas ofertas num espaço privado.
As minhas ofertas
Ainda não existem ofertas neste âmbito.
)}{record.reference} ·{' '} {record.state === 'submitted' ? 'Submissão privada registada' : 'Rascunho privado'}