{{-- @php $addFilePermission = user()->permission('add_project_files'); $viewFilePermission = user()->permission('view_project_files'); $deleteFilePermission = user()->permission('delete_project_files'); @endphp --}}
{{-- @if (($addFilePermission == 'all' || $addFilePermission == 'added' || $order->project_admin == user()->id) && !$order->trashed()) --}}
@lang('app.cancel')
{{-- @endif --}} {{-- @if ($viewFilePermission == 'all' || ($viewFilePermission == 'added' && user()->id == $order->added_by) || ($viewFilePermission == 'owned' && user()->id == $order->client_id)) --}}
@forelse($order->files as $file) @if ($file->icon == 'images') @else @endif {{-- @if ($viewFilePermission == 'all' || ($viewFilePermission == 'added' && $file->added_by == user()->id)) --}} {{-- @endif --}} @empty
- @lang('messages.noFileUploaded') -
@endforelse
{{-- @endif --}}