Files
@forelse($files as $file)
@if(in_array(explode('.', $file->name)[1], $excelExt))
@else @if(in_array(explode('.', $file->name)[1], $textExt))
@else @if(explode('.', $file->name)[1] == 'pdf')
@else @if(in_array(explode('.', $file->name)[1], $imageExt))
@else
@endif
@endif
@endif
@endif
{{$file->name}}
{{ $file->getSize($file->location) }} MB
@empty
No items found
@endforelse
@if(!Request::query('search'))
{{$files->appends($_GET)->links('layouts.pagination') }}
@endif