@forelse($inventory->files as $file) @if ($viewPermission == 'all' || ($viewPermission == 'added' && $file->added_by == user()->id))
@if ($file->icon == 'images') @else @endif
@endif @empty
- @lang('messages.noFileUploaded') -
@endforelse