@foreach(['employee_number'=>'Employee number','name'=>'Full name','job_title'=>'Job title'] as $field=>$label)
{{ $label }}
@endforeach
Employment type @foreach(['permanent','fixed_term','part_time','casual','contractor','intern'] as $value)employment_type??'permanent')===$value)>{{ ucfirst(str_replace('_',' ',$value)) }} @endforeach
Employment status @foreach(['active','on_leave','inactive','terminated'] as $value)status??'active')===$value)>{{ ucfirst(str_replace('_',' ',$value)) }} @endforeach
@foreach(['starts_on'=>'Start date','ends_on'=>'End date'] as $field=>$label)
{{ $label }}
@endforeach
Branch Organisation-wide / linked account assignment @foreach($facilities as $facility)facility_id)===(string)$facility->id)>{{ $facility->name }} @endforeach
Department No department / linked account assignment @foreach($departments as $department)department_id)===(string)$department->id)>{{ $department->name }} @endforeach
Unit / section No unit / linked account assignment @foreach($units as $unit)unit_id)===(string)$unit->id)>{{ ucfirst($unit->kind) }}: {{ $unit->name }} @endforeach
@if(!$employee?->exists)
Link an existing staff login (optional) No login needed @foreach($members as $member)membership_id)===(string)$member->id)>{{ $member->user?->name }} ยท {{ $member->user?->email }} @endforeach
@endif
@foreach(['email'=>'Contact email','phone'=>'Phone','emergency_contact'=>'Emergency contact'] as $field=>$label)
{{ $label }}
@endforeach
Private staff address
@include('hms.partials.address-fields',['addressRecord'=>$employee])