@forelse($files as $file)
{{ $file->original_name ?? $file->collection_name }}
@if($file->preview_url) @if(in_array(strtolower($file->mime_type ?? ''), ['application/pdf', 'text/csv', 'application/vnd.ms-excel', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'text/plain'])) {{ __('admin::home.Files') }} @else @endif @else
{{ __('admin::home.No file attached yet') }}
@endif
@empty
{{ __('admin::home.No file attached yet') }}
@endforelse