@extends('admin.layouts.grid') @section('title', admin_trans('Departments')) @section('container', 'container-max-lg') @section('link', route('admin.departments.create')) @section('content')
@foreach ($departments as $department) @endforeach
# {{ admin_trans('Name') }} {{ admin_trans('Status') }} {{ admin_trans('Created date') }}
{{ $department->id }} {{ $department->name }} @if ($department->isActive()) {{ admin_trans('Active') }} @else {{ admin_trans('Disabled') }} @endif {{ dateFormat($department->created_at) }}
@endsection