@php
$fields = [
['Date of Birth', $employee->date_of_birth?->format('F j, Y')],
['Place of Birth', $employee->place_of_birth],
['Gender', $employee->gender],
['Marital Status', $employee->marital_status],
['Citizenship', $employee->citizenship],
['National ID', $employee->national_id],
['Present Address', $employee->present_address],
['Permanent Address', $employee->permanent_address],
['Phone', $employee->user->phone ?? null],
['Email', $employee->user->email ?? null],
['Emergency Contact', $employee->emergency_contact_name],
['Emergency Phone', $employee->emergency_contact_phone],
];
@endphp
@foreach($fields as [$label, $value])
@if($value)
{{ $label }}
{{ $value }}
@endif
@endforeach