@php $show_docs = []; @endphp
@if($data['candidate'])
Full Name
|
{{$data['candidate']->fullName()}}
|
@if($photographic_proof = $data['candidate']->documents->firstWhere('slug', 'photographic_proof'))
@if($photographic_proof && $photographic_proof->consoltunt_seen_docs && $photographic_proof->consoltunt_approved_the_docs)
@php $key = str_replace(' ', '_', strtolower($photographic_proof->document_title)); @endphp
{{$photographic_proof->document_title}}
|
{{$photographic_proof->document_value}}
|
{{--
View file
| --}}
@if($photographic_proof->type && $photographic_proof->type == 'media')
@php
$show_docs[$key]['title'] = $photographic_proof->document_title;
$show_docs[$key]['path'] = $photographic_proof->path;
@endphp
@endif
@endif
@endif
@if($photographic_proof = $data['candidate']->documents->firstWhere('slug', 'dbs_certificate'))
@if($photographic_proof && $photographic_proof->consoltunt_seen_docs && $photographic_proof->consoltunt_approved_the_docs)
@php $key = str_replace(' ', '_', strtolower($photographic_proof->document_title)); @endphp
{{$photographic_proof->document_title}}
|
{{$photographic_proof->document_value}}
|
{{--
View file
| --}}
Issue date
|
{{Carbon\Carbon::parse($photographic_proof->docs_expiration_date)->toFormattedDateString()}}
|
{{--
View file
| --}}
@if($photographic_proof->type && $photographic_proof->type == 'media')
@php
$show_docs[$key]['title'] = $photographic_proof->document_title;
$show_docs[$key]['path'] = $photographic_proof->path;
@endphp
@endif
@endif
@endif
@if($data['candidate']->date_finished_regestration_form)
Registration Date:
|
{{Carbon\Carbon::parse($data['candidate']->date_finished_regestration_form)->toFormattedDateString()}}
|
|
@endif
@if($data['candidate']->vetting_form_info_answers)
@foreach ($data['candidate']->vetting_form_info_answers as $vetting_answer)
@if($vetting_answer->checked_by_consultant)
{{$vetting_answer->title}}
|
@if($vetting_answer->answer == 1)
Yes, {{Carbon\Carbon::parse($vetting_answer->date_checked)->toFormattedDateString()}}
@else
No, {{Carbon\Carbon::parse($vetting_answer->date_checked)->toFormattedDateString()}}
@endif
|
@endif
@endforeach
@endif
@if($data['candidate']->share_code && $data['candidate']->share_code->consoltunt_seen_share_code && $data['candidate']->share_code->consoltunt_approved_share_code)
Right to work in the UK / Share code
|
Yes, {{Carbon\Carbon::parse($data['candidate']->share_code->approved_share_code_date)->toFormattedDateString()}}
|
{{--
@if($data['candidate']->share_code->share_code_path)
View file
@endif
| --}}
@if($data['candidate']->share_code->type == 'media')
@php
$show_docs['sharecode']['title'] = 'Sharecode';
$show_docs['sharecode']['path'] = $data['candidate']->share_code->share_code_path;
@endphp
@endif
@if($data['candidate']->share_code->police_check_path && $data['candidate']->share_code->consoltunt_seen_police_check && $data['candidate']->share_code->consoltunt_approved_police_check)
Overseas Criminal Police Check
|
Yes
|
{{--
@if($data['candidate']->share_code->police_check_path)
View file
@endif
| --}}
@if($data['candidate']->share_code->police_check_path)
@php
$show_docs['policecheck']['title'] = 'Oversee policecheck';
$show_docs['policecheck']['path'] = $data['candidate']->share_code->police_check_path;
@endphp
@endif
@endif
@elseif($data['candidate']->TrustIdCheckUp && $data['candidate']->TrustIdCheckUp->consoltunt_seen_docs && $data['candidate']->TrustIdCheckUp->consoltunt_approved_the_docs)
Right to work in the UK / TrustId check up
|
Yes,
{{Carbon\Carbon::parse($data['candidate']->TrustIdCheckUp->approved_date)->toFormattedDateString()}}
|
{{--
@if($data['candidate']->TrustIdCheckUp->pdf)
View file
@endif
| --}}
@endif
@endif