{{-- CV --}} @permission('candidate-write') @endpermission

CV

@if($wordCv) @endif @if($pdfCv) @endif @if(!$wordCv && !$pdfCv) No CV uploaded yet! @endif
{{-- Documents --}} @foreach($documentTypes as $documentType) @permission('candidate-write')
Attach
@endpermission

{{ $documentType->name }}

@foreach($candidate->uploads as $upload) @if($upload->document_type_id == $documentType->id) @endif @endforeach @if(!$candidate->uploads->contains('document_type_id',$documentType->id)) @if($documentType->id == 2) No payslip uploaded yet! @elseif($documentType->id == 3) No identification documents uploaded yet! @elseif($documentType->id == 4) No documents uploaded here! @elseif($documentType->id == 5) No documents uploaded here! @endif @endif
@endforeach {{-- Refereche Check --}}

Reference Check

@foreach($candidate->uploads->where('type','reference-check')->all() as $reference) @endforeach @if(!$candidate->uploads->where('type','reference-check')->first()) No reference checks are received yet! @endif {{-- Contracts --}}

Contracts

@foreach($candidate->uploads->where('type','contract') as $contract) @endforeach @if(!$candidate->uploads->where('type','contract')->first()) No contract uploaded yet! @endif
@push('pageJs') @endpush @push('pageModals') @endpush