@include('layouts.talentHeader')
Progress Timeline for : {{$timeLine->job_title}}

@if($timeLine->job_start_date) Requisition Date : {{date("M j, Y", strtotime($timeLine->job_start_date))}}, @endif @if($timeLine->job_end_date) Estimated Close Date : {{date("M j, Y", strtotime($timeLine->job_end_date))}}, @endif Hiring Manager : {{$timeLine->user->name}}

Job Approval Date

{{date("M j, Y", strtotime($timeLine->job_approval_date))}}
@if(count($timeLine->hhrequest) != 0)

Freelancers

@foreach($timeLine->hhrequest as $request)

{{$request->user->name}}

Assigned at

{{date("M j, Y", strtotime($timeLine->created_at))}}
@endforeach
@endif @if(count($timeLine->employeeJob) != 0)

Recruiters

@foreach($timeLine->employeeJob as $rec)

{{$rec->user->name}}

Assigned at

{{date("M j, Y", strtotime($rec->created_at))}}
@endforeach
@endif @if(count($timeLine->hhsharedcandidates) != 0)

Freelancer Candidates

@foreach($timeLine->hhsharedcandidates as $candidate) @php($cmtCount = (new \App\Http\Controllers\JobController())->countCandComment($timeLine->id, $candidate->hh_candidates->id))

{{$candidate->hh_candidates->name}}

{{date("M j, Y", strtotime($candidate->created_at))}}

Comments({{count($cmtCount)}})

@endforeach
@endif @if(count($timeLine->job_application) != 0)

Direct Applicants

@foreach($timeLine->job_application as $applicant) @php($cmtCount = (new \App\Http\Controllers\JobController())->countCandComment($timeLine->id, $applicant->id)) @endforeach
@endif @if(count($timeLine->clientCandidate) != 0)

Agency Candidates

@foreach($timeLine->clientCandidate as $empCand) @if($empCand->empCandidate) @php($cmtCount = (new \App\Http\Controllers\JobController())->countCandComment($timeLine->id, $empCand->empCandidate->id))

{{$empCand->empCandidate->name}}

{{date("M j, Y", strtotime($empCand->created_at))}}

Comments({{count($cmtCount)}})

@endif @endforeach
@endif @if(count($timeLine->potentialCandidate) != 0)

Potential Candidates

@foreach($timeLine->potentialCandidate as $applicant) @php($cmtCount = (new \App\Http\Controllers\JobController())->countCandComment($timeLine->id, $applicant->id))

{{$applicant->name}}

{{date("M j, Y", strtotime($applicant->created_at))}}
@endforeach
@endif @if(count($timeLine->questionnaireHasInvitations) != 0)

Questionnaire Invitation

{{-- @php($answers = (new \App\Http\Controllers\QuestionnaireController())->getAnswersForTimeline($invitation->id)) --}}
@foreach($timeLine->questionnaireHasInvitations as $invitation)

{{$invitation->recipient->name}}

Sent on

{{date("M j, Y", strtotime($invitation->created_at))}}
@endforeach
@endif @if(count($timeLine->f2fInterview) != 0)

F2F Interview

@foreach($timeLine->f2fInterview as $f2f)

{{$f2f->applicant_user->name}}

Interview on

{{date("M j, Y", strtotime($f2f->f2fdate))}}
@endforeach
@endif
@include('layouts.footer')