{{-- Personal Documents --}}
{{-- @if (auth()->user()->can('download-documents') || auth()->user()->can('delete-documents')) @endif --}} @forelse ($documents as $document) @if ($showDocumentId === $document->id) {{ $document->name }}
@can('download-documents')
Download
@endcan {{ __('Close') }}
@endif @empty @endforelse
Personal Documents Uploaded On Actions
{{-- @if (Str::endsWith($document->path, ['.png', '.jpg', '.jpeg', '.pdf'])) --}} {{ $document->documentCategory->name }} {{-- @else --}} {{-- {{ $document->documentCategory->name }} --}} {{-- @endif --}} {{ $document->created_at->format('d/m/Y') }}
No personal documents found.