Personal Data Sheet
{{ $employee->full_name }}
{{ $employee->employee_number }} ยท {{ $employee->position_title }}
@foreach(['date_of_birth','place_of_birth','sex','civil_status','citizenship','residential_address','mobile_number','email_address','gsis_bp_number','pagibig_mid_number','philhealth_number','tin'] as $field)| {{ ucwords(str_replace('_',' ',$field)) }} | {{ $employee->$field }} |
@endforeach
@foreach(['educationalBackgrounds'=>'Education','eligibilities'=>'Civil service eligibility','workExperiences'=>'Work experience','trainings'=>'Training','voluntaryWorks'=>'Voluntary work','otherInformation'=>'Other information','governmentRelations'=>'Government relations'] as $relation=>$label){{ $label }}
@forelse($employee->$relation as $row)@foreach($row->toArray() as $key=>$value)@if(!in_array($key,['id','employee_id','created_at','updated_at']) && is_scalar($value))| {{ ucwords(str_replace('_',' ',$key)) }} | {{ $value }} |
@endif @endforeach
@emptyNo records supplied.
@endforelse @endforeachPersonnel data summary. Transfer to the prescribed CSC form where required.