@extends('layouts.app') @section("title", "Departments") @section('pageTitle', 'Department List') @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"> $category->id]) }}" data-target="#deleteModal" data-toggle="modal" title="Delete">
@endsection @section('script') @endsection