@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}} @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))}}
$folder->id]) }}" method="post"> @csrf @method("patch")
@empty
No items found
@endforelse
@if(!Request::query('search')) {{$folders->appends($_GET)->links('layouts.pagination') }} @endif
@endsection @section('script') @yield('script') @endsection