@include('admin.candidats.stylepdf')
@php $path = public_path('assets/images/logo/head-pdf-2.png'); $type = pathinfo($path, PATHINFO_EXTENSION); $data = file_get_contents($path); $base64 = 'data:image/'.$type.';base64,'.base64_encode($data); @endphp
SELARAS RECRUITMENT
{!! format_tanggal($d->submission_date) !!} {{ $d->type_save === 'draft' ? ' / DRAFT' : '' }}

{{ $rec->position_name ?? '{ POSITION }' }}
@php $path = public_path('storage/'.$d->pict_raw); $type = pathinfo($path, PATHINFO_EXTENSION); $data = file_get_contents($path); $base64 = 'data:image/'.$type.';base64,'.base64_encode($data); @endphp

CANDIDATE PROFILE

NAME:{{ $d->name }}
PLACE, DOB:{{ $d->place_of_birth }}, {{ format_tanggal($d->date_of_birth, 'dob') }}
CURRENT ADDRESS:{{ $d->address }}
MARITAL STATUS:{{ $d->marital_status_name }} NUMBER OF CHILDREN:{{ $d->children }}
RELIGION:{{ $d->religion_name }}
SIM:{{ $d->sim_name }}

PROFESSIONAL SUMMARY

{{ $d->summary }}

SKILLS

PROFESSIONAL EXPERIENCE

@foreach($d->experiences as $v)
{{ $v->company }} ({{ format_tanggal($v->start_date, 'month_year') }} - {{ $v->is_present ? 'Present' : format_tanggal($v->end_date, 'month_year') }})
{{ $v->position }}
Reason for Leaving: {{ $v->reason ?: '-' }}
@endforeach

ACCOMPLISHMENTS

EDUCATION

@foreach($d->educations as $v)

{{ $v->degree }}
{{ $v->institution }} ({{ $v->start_year }} - {{ $v->is_present ? 'Present' : $v->end_year }})

@endforeach

ORGANIZATIONAL EXPERIENCE

@foreach($d->organizations as $v)

{{ $v->organization_name }}
{{ $v->position }} ({{ format_tanggal($v->start_year, 'month_year') }} - {{ $v->is_present ? 'Present' : format_tanggal($v->end_year, 'month_year') }})

@endforeach

LANGUAGES

CERTIFICATIONS

COMPENSATION & BENEFIT

Current Salary : Rp {{ number_format($d->compensation->current_salary ?? 0,0,',','.') }}
Benefit : {{ collect($d->compensation->benefit_name)->implode(', ') ?: '-' }}
Expected Salary : Rp {{ number_format($d->compensation->expected_min ?? 0,0,',','.') }} - Rp {{ number_format($d->compensation->expected_max ?? 0,0,',','.') }}
Availability : {{ $d->notice_period_name }}