@if($documents->count())
| File |
Folder |
Status |
Uploaded |
Action |
@foreach($documents as $doc)
|
{{ $doc->file_name }}
@if($doc->download_url)
@endif
|
{{ $doc->folder->name ?? 'N/A' }} |
{{ ucfirst($doc->status ?? 'pending') }}
@if($doc->approver)
Approved by: {{ $doc->approver->name }}
@endif
@if($doc->rejected_remarks)
Reason: {{ Str::limit($doc->rejected_remarks, 50) }}
@endif
|
{{ $doc->created_at->format('M d, Y') }} |
|
@endforeach
{{ $documents->links() }}
@else
No documents uploaded yet
Upload your first document
@endif