Close Map
{{-- --}}
{{--
Name Surname
8/10
Job Title
24km away
Name Surname
8/10
Job Title
24km away
--}}
Candidates
@if($applicants && count($applicants) > 0) @foreach ( $applicants as $applicant)
{{$applicant->candidate->user->first_name}} {{$applicant->candidate->user->last_name}}
@if(!$applicant->candidate->compliant) Not compliant @else
@endif
Job Title
{{round($applicant->distance, 2)}}km away
  • View profile
  • {{-- {{dd($job->short_list->candidates)}} {{dd($job->id, $applicant->candidate->job_applications()->where('school_job_id', 1)->exists())}} {{dd($applicant->candidate->job_applications->job_applications()->where('school_job_id', $job->id)->exists())}} --}} @if($job->short_list && $job->short_list->candidates()->where('candidate_id', $applicant->candidate->id)->exists()) Remove from shortlist
    @else Add to shortlist
    @endif
@endforeach @else

No applicants

@endif
{{-- pagination --}} @if($applicants)
{{ $applicants->onEachSide(1)->links() }}
@endif {{-- end pagination --}}
{{--
--}} @push('scripts') {{-- --}} @endpush