@extends('layouts.administrator.master') @section('title') Result @endsection @section('content')

{{ __('Data Keanggotaan Perseorangan Pertapindo') }}

{{ __('Data keanggotaan perseorangan') }}

@if (isset($result->photo)) @else @endif
@role('Super Admin')
@endrole @role('Personal') @if ($result->status_registration > 8) @endif @if ($result->status_registration == $result::VERIFIED) @endif @endrole
Rincian
No Registrasi:{{ isset($result->no_reg) ? $result->no_reg : '-' }}
NIK:{{ isset($result->nik) ? $result->nik : '-' }}
Tempat dan tanggal Lahir:{{ isset($result->place_birth) ? $result->placeBirth->nama : '-' }} , {{ isset($result->date_birth) ? date('d M Y', strtotime($result->date_birth)) : '-' }}
Kontak:{{ isset($result->contact) ? $result->contact : '-' }}
Alamat:{{ isset($result->address) ? $result->address : '-' }}
Status Personil:{{ isset($result->status_personnel) ? $result->statusPersonnel->name : '-' }}
Lama Bekerja:{{ isset($result->length_work) ? $result->length_work . ' Tahun' : '-' }}
Jejak Minat yang diinginkan:{{ isset($result->interested) ? $result->interested : '-' }}
{{--
KYC Status:Approved
Register At:Nov 24, 2019
--}}
Data Perusahaan
{{ isset($result->name_company) ? $result->name_company : '-' }}
{{ isset($result->city) && $result->city ? $result->getCity->nama : '-' }}, {{ isset($result->province) && $result->province ? $result->getProvince->nama : '-' }}
{{ isset($result->type_company) ? $result->type_company : '-' }}
Riwayat Pendidikan
@if (isset($result->education) && !empty($result->education))
@foreach (json_decode($result->education) as $key => $value)
@if ($value->logo_school) @else @endif
{{ isset($value->name_school) ? $value->name_school : '-' }}
{{ isset($value->name_education) ? $value->name_education : '-' }} {{ isset($value->name_major) ? $value->name_major : '-' }} {{ isset($value->start_date) ? date('d M Y', strtotime($value->start_date)) : '-' }} - {{ isset($value->end_date) ? date('d M Y', strtotime($value->end_date)) : 'Sekarang' }}
@endforeach
@else

Tidak ada data

@endif
Riwayat Pengalaman Kerja
@if (isset($result->position) && !empty($result->position))
@foreach (json_decode($result->position) as $key => $value)
@if ($value->logo_company) @else @endif
{{ isset($value->name_position) ? $value->name_position : '-' }}
{{ isset($value->name_company) ? $value->name_company : '-' }} {{ isset($value->start_date) ? date('M Y', strtotime($value->start_date)) : '-' }} - {{ isset($value->end_date) ? date('M Y', strtotime($value->end_date)) : 'Sekarang' }} {{ Helper::countDateRange($value->start_date, $value->end_date == null ? Carbon\Carbon::now() : $value->end_date) }} {{ isset($value->location) ? $value->location : '-' }}
@endforeach
@else

Tidak ada data

@endif
Riwayat Pelatihan
@if (isset($result->experience) && !empty($result->experience))
#
Nomor
Nama
Judul
Lokasi
Tanggal
Dokumen
@foreach (json_decode($result->experience) as $key => $value)
@if ($value->logo_experience) @else @endif
{{ isset($value->no_registration) ? $value->no_registration : '-' }}
{{ isset($value->name_experience) ? $value->name_experience : '-' }}
{{ isset($value->title_experience) ? $value->title_experience : '-' }}
{{ isset($value->location) ? $value->location : '-' }}
{{ isset($value->date) ? date('d M Y', strtotime($value->date)) : '-' }}
@if (isset($value->documents)) Lihat Dokumen @endif
@endforeach
@else

Tidak ada data

@endif
Riwayat Penghargaan
@if (isset($result->performance) && !empty($result->performance))
Penghargaan
Judul
Lokasi
Tanggal
Dokumen
@foreach (json_decode($result->performance) as $key => $value)
{{ isset($value->name_performance) ? $value->name_performance : '-' }}
{{ isset($value->title_performance) ? $value->title_performance : '-' }}
{{ isset($value->location) ? $value->location : '-' }}
{{ isset($value->date) ? date('d M Y', strtotime($value->date)) : '-' }}
@if (isset($value->documents)) Lihat Dokumen @endif
@endforeach
@else

Tidak ada data

@endif
Riwayat Sertifikasi
@if (isset($result->certificate) && !empty($result->certificate))
Nomor
Nama
Jenis
Lokasi
Mulai
Berahkir
Dokumen
@foreach (json_decode($result->certificate) as $key => $value)
{{ optional($value)->no_certificate ?? '-' }}
{{ optional($value)->name_certificate ?? '-' }}
{{ optional($value)->type_certificate ?? '-' }}
{{ optional($value)->location ?? '-' }}
{{ isset($value->start_date) ? date('d M Y', strtotime($value->start_date)) : '-' }}
{{ isset($value->end_date) ? date('d M Y', strtotime($value->end_date)) : '-' }}
@if (isset($value->documents)) Lihat Dokumen @endif
@endforeach
@else

Tidak ada data

@endif
@endsection @push('style') @endpush