Basic Information
{{ $staff->staff_no ?? '-' }}
@can('hr_staffs_view_info')
{{ $staff->other_id ?? '-' }}
@endcan
{{ $staff->first_name ?? '-' }}
{{ $staff->last_name ?? '-' }}
{{ $staff->gender->base_setup_name ?? '-' }}
@can('hr_staffs_view_info')
{{ $staff->religion ?? '-' }}
@endcan
{{ $staff->country->name ?? '-' }}
{{ $staff->marital_status ?? '-' }}
{{ $staff->date_of_birth ?? '-' }}
{{ $staff->age ?? '-' }}
@if (optional($staff->jobTitle)->slug === 'teacher')
@if ($staff->intro_video_url) @php $introVideoLink = \Illuminate\Support\Str::startsWith($staff->intro_video_url, ['http://', 'https://']) ? $staff->intro_video_url : asset($staff->intro_video_url); @endphp {{ \Illuminate\Support\Str::startsWith($staff->intro_video_url, ['http://', 'https://']) ? $staff->intro_video_url : basename($staff->intro_video_url) }} @else - @endif
@endif @if ($staff->jobTitle && in_array(strtolower($staff->jobTitle->slug), ['teacher', 'tester'], true))
@php $accents = is_array($staff->accent) ? $staff->accent : ($staff->accent ? [$staff->accent] : []); @endphp
@if (!empty($accents))
@foreach ($accents as $acc) {{ \App\Models\Staff::ACCENTS[strtolower($acc)] ?? ucfirst($acc) }} @endforeach
@else - @endif
{{ $staff->biography ?? '-' }}
@endif
@can('hr_staffs_view_info')
Identification
{{ $staff->id_number ?? '-' }}
{{ $staff->id_expiry_date ?? '-' }}
@endcan @if ($canViewStaffContactDetails ?? false)
Contact Information
{{ $staff->email ?? '-' }}
@can('hr_staffs_view_info')
{{ $staff->other_email ?? '-' }}
@endcan
{{ $staff->mobile_dial_code ?? '-' }} {{ $staff->mobile ?? '-' }}
{{ $staff->another_mobile_dial_code ?? '-' }} {{ $staff->another_mobile ?? '-' }}
@can('hr_staffs_view_info')
{{ $staff->current_address ?? '-' }}
@endcan
{{ $staff->city ?? '-' }}
Emergency Contacts
@if (isset($staff) && $staff->contacts->isNotEmpty()) @foreach ($staff->contacts as $index => $contact) @if($index > 0)
@endif
{{ $contact->emergency_name ?? '-' }}
{{ $contact->emergency_relationship ?? '-' }}
{{ $contact->emergency_mobile ?? '-' }}
{{ $contact->emergency_home_telephone ?? '-' }}
{{ $contact->emergency_work_telephone ?? '-' }}
@endforeach @else

No emergency contacts available

@endif
@endif