{{ $category?($category=='A'?'Teaching staff':'Administrating staff'):'Staff list' }}
@include('components.controls',['data' => $staff_list]) @if (count($staff_list))
@endif
@include('components.loading')
@forelse ($staff_list as $key) @empty @endforelse
# Surname Forenames Gender DOB Phone Station
{{ ++$offset }} {{ $key->surname }} {{ $key->forenames }} {{ $key->gender }} {{ $key->dob }} {{ $key->phone }} {{ $key->campus->name }}
@if (staff($key->id)->category != "T")   @endif
 
No staff
@include('staff.add') @include('staff.edit') @include('staff.staff_roles') @include('staff.import')