@extends('layouts.app') @section("title", "SaveSpace - Departments") @section('head') @endsection @section('content')
@foreach($departments as $department) @if($department->updated_at==NULL) @else @endif @if(auth()->user()->hasPermission('manage_all_departments')) @else @endif @endforeach
ID Name Code Folders Created by Created at Updated at Directory Actions
{{$department->id }} $department->id]) }}" class="text-linkedin">{{ $department->name }} {{ $department->code }} {{ $department->no_of_folders }} {{ $department->getCreatedByName() }} {{ date('d.m.Y - H:i', strtotime($department->created_at)) }}/{{ date('d.m.Y - H:i', strtotime($department->updated_at)) }} @if(auth()->user()->hasPermission('download_data')) $department->id]) }}" class="text-danger ml-2"title="Download"> @endif @if(auth()->user()->hasPermission('delete_data')) @endif
@endsection @section('script') @yield('script') @endsection