@if(!Request::query('id'))
Folders
@else
{{ $deptName }} - {{$deptCode}}
@endif
@forelse($folders as $folder)
{{$folder->name}}
@if($folder->is_important)
@endif
Number of files: {{$folder->files->count()}}
{{$folder->arch_id}}
Note: {{$folder->note}}
Created
{{ $folder->created_at->diffForHumans() }}, {{ date('d.m.Y', strtotime($folder->created_at))}}
@empty
No items found
@endforelse
@if(!Request::query('search'))
{{$folders->appends($_GET)->links('layouts.pagination') }}
@endif
@endsection
@section('script')
@yield('script')
@endsection