@forelse($documents as $document) @php $downloadUrl = route('partner.lot.document.download', [ 'program' => $program->token, 'lot' => $lot->token, 'document' => $document->token, ]); $previewUrl = route('partner.lot.document.preview', [ 'program' => $program->token, 'lot' => $lot->token, 'document' => $document->token, ]); $documentTitle = trim((string) ($document->name ?: 'Document')); $documentTypeValue = (string) ($document->type ?? ''); $documentTypeLabel = trim((string) ($document->type_enum?->label() ?? '-')); @endphp @empty @endforelse
{{ $documentTitle }}
{{ $documentTypeLabel }} @if($document->created_at) {{ $document->created_at->format('d/m/Y H:i') }} @else - @endif
Aucun document ne correspond aux filtres.
@foreach($documents as $document) @endforeach