@if($data->candidate && $data->candidate->user)
Candidate name
{{$data->candidate->user->full_name()}}
Candidate name:
{{$data->candidate->user->full_name()}}
|
@endif
@if($user_info_checkboxes && count($user_info_checkboxes) > 0 && $user_info_checkboxes['short_description'])
Short description
@if($data->candidate->other_info)
{!!$data->candidate->other_info!!}
@else
No description entered by the candidate
@endif
Short description:
@if($data->candidate->other_info)
{{$data->candidate->other_info}}
@else
No description entered by the candidate
@endif
|
@endif
@if($user_info_checkboxes && count($user_info_checkboxes) > 0 && $user_info_checkboxes['availability'])
Availability
@if($data->candidate->date_available_to_start)
{{Carbon\Carbon::parse($data->candidate->date_available_to_start)->format('d/m/Y')}}
@else
No date entered
@endif
Availability
@if($data->candidate->date_available_to_start)
{{Carbon\Carbon::parse($data->candidate->date_available_to_start)->format('d/m/Y')}}
@else
No date
@endif
|
@endif
@if($user_info_checkboxes && count($user_info_checkboxes) > 0 && $user_info_checkboxes['specialism'])
Specialism
@if($data->candidate->specialism && count($data->candidate->specialism) > 0)
@foreach ($data->candidate->specialism as $specialism)
{{ $specialism->title }}@if (!$loop->last), @endif
@endforeach
@else
No specialism selected
@endif
Specialism
@if($data->candidate->specialism && count($data->candidate->specialism) > 0)
@foreach ($data->candidate->specialism as $specialism)
{{ $specialism }}@if (!$loop->last), @endif
@endforeach
@else
No specialism selected
@endif
|
@endif
@if($user_info_checkboxes && count($user_info_checkboxes) > 0 && $user_info_checkboxes['cv'])
CV
@if($data->candidate->client_viewable_cv_file)
CV - Uploaded
@else
No CV uploaded
@endif
CV
@if($data->candidate->client_viewable_cv_file)
CV - Uploaded
@else
No CV uploaded
@endif
|
@endif
@if($user_info_checkboxes && count($user_info_checkboxes) > 0 && $user_info_checkboxes['introduction_video'])
|
@endif
@if($user_info_checkboxes && count($user_info_checkboxes) > 0 && $user_info_checkboxes['strengths_weaknesses'])
Strengths & Weaknesses
@if(count($data->candidate->strenght_weaknesses) > 0)
@foreach ($data->candidate->strenght_weaknesses as $existing_weakness)
{{$existing_weakness->title}}
@php $bg_gray = 5; @endphp
@if($existing_weakness && isset($existing_weakness->pivot->percent))
@php $bg_gray = $bg_gray - $existing_weakness->pivot->percent; @endphp
@for ($i = 1; $i <= $existing_weakness->pivot->percent; $i++)
|
@endfor
@endif
@for ($i = 1; $i <= $bg_gray; $i++)
|
@endfor
@endforeach
@else
No strengths and weaknesses entered
@endif
Strengths & Weaknesses
@if(count($data->candidate->strenght_weaknesses) > 0)
@foreach ($data->candidate->strenght_weaknesses as $existing_weakness)
{{$existing_weakness->title}}
@php $bg_gray = 5; @endphp
@if($existing_weakness && isset($existing_weakness->pivot->percent))
@php $bg_gray = $bg_gray - $existing_weakness->pivot->percent; @endphp
@for ($i = 1; $i <= $existing_weakness->pivot->percent; $i++)
|
@endfor
@endif
@for ($i = 1; $i <= $bg_gray; $i++)
|
@endfor
@endforeach
@else
No strengths and weaknesses entered
@endif
|
@endif