{{ __('Departments') }}

@can('departments create') @endcan
@if (session()->has('message'))
{{ session('message') }}
@endif @if ($confirmingDeletionId)

{{ __('Confirm Deletion') }}

{{ __('Are you sure you want to delete this department?') }}

@endif
@if(!request('administrate_id')) @endif @forelse ($departments as $dept) @if(!request('administrate_id')) @endif @empty @endforelse
# {{ __('Name') }}{{ __('Administrate') }}{{ __('Description') }} {{ __('Position') }} {{ __('Image') }} {{ __('Actions') }}
{{ $loop->iteration + ($departments->currentPage() - 1) * $departments->perPage() }} {{ $dept->name }}{{ optional($dept->administrate)->name }}{{ Str::limit($dept->description, 30) }} {{ $dept->positions()->count() }} @if ($dept->image) @else @endif @can('departments edit') @endcan @can('departments delete') @endcan {{ __('Positions') }} {{ __('View') }}
{{ __('No departments found.') }}