@php $viewPermission = user()->permission('view_job_application'); $deletePermission = user()->permission('delete_job_application'); @endphp @forelse($files as $file) @if ($file->icon == 'images') @else @endif @empty @endforelse