@extends('layouts.app') @section("title", "SaveSpace - Departments") @section('pageTitle', 'Departments') @section('head') @endsection @section('content')
@foreach($departments as $department) @if($department->updated_at==NULL) @else @endif @endforeach
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
ID Name Code Created by Created at Updated at Directory Actions
{{$department->id }} {{ $department->name }} {{ $department->code }} {{ $department->getCreatedByName() }} {{ date('d.m.Y - H:i', strtotime($department->created_at)) }}/{{ date('d.m.Y - H:i', strtotime($department->updated_at)) }} {{$department->location}} $department->id]) }}" class="text-secondary" data-toggle="tooltip" title="Edit">
@endsection @section('script') @endsection