@extends('layouts.app') @section("title", "SaveSpace - Folders") @section('content')
@if(auth()->user()->hasPermission('manage_all_folders')) Add folder @endif
Storage Status
{{$diskUse}}
{{round($diskUsedSize,2)}} GB / {{round($diskTotalSize,2)}} GB ({{$diskUse}})
@if(!Request::query('id'))

Folders


@else

{{ $deptName }} - {{$deptCode}}


@endif
@forelse($folders as $folder)
{{$folder->name}}
Number of files: {{$folder->files->count()}}

Version: {{$folder->version}}

Archive ID: {{$folder->arch_id}}

Department: {{$folder->department->name}}

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