{{ $title }}

@php $sno = 1 @endphp @foreach ($staff_list as $key) @endforeach
S/N Category Title Surname Forenames Staff id Gender DOB Phone Emergency phone E-mail Religion Specialization Full/ Part-time Date employed Station Staff rank Physical address Nationality Country
{{ $sno++ }} {{ $key->category }} {{ $key->title }} {{ $key->surname }} {{ $key->forenames }} {{ $key->staff_id }} {{ $key->gender }} {{ $key->dob }} {{ $key->phone }} {{ $key->emergency_contacts }} {{ $key->email }} {{ $key->religion }} {{ $key->specialization }} {{ $key->part_time?'Part-time':'Full-time' }} {{ $key->appointed_on }} {{ $key->campus->name }} {{ $key->rank }} {{ $key->address }} {{ $key->nationality }} {{ $key->country }}