@php $viewContractFilePermission = user()->permission('view_contract_files'); $deleteContractFilePermission = user()->permission('delete_contract_files'); @endphp @forelse($files as $file) @if ($viewContractFilePermission == 'all' || ($viewContractFilePermission == 'added' && $file->added_by == user()->id)) @endif @empty
- @lang('messages.noFileUploaded') -
@endforelse