@extends('layouts.app') @section("title", "SaveSpace - Dashboard") @section('head') @endsection @section('content')

Total Departments

{{ $departments->count() }}

Number of folders

{{ $folders->count() }}

Total Files

{{ $files->count() }}

Recent Files
@foreach($recentFiles as $file) @if($file->updated_at==NULL) @else @endif @endforeach
Image Name Created at Updated at Folder name Folder archive ID Directory Actions
@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 }} {{ date('d.m.Y - H:i', strtotime($file->created_at)) }}/{{ date('d.m.Y - H:i', strtotime($file->updated_at)) }}{{ \App\Models\Folder::find($file->folder_id)->name }} {{ \App\Models\Folder::find($file->folder_id)->arch_id }} $file->id]) }}" class="text-danger ml-2"title="Download">
Largest departments
View
@foreach($largestDepartments as $department) @endforeach
Department Number of folders
{{$department->name}} {{$department->no_of_folders}}
@endsection @section('script')
@endsection