@php
if(!isset($job) && Request::segment(3)){
$job = App\Job::findOrFail(Request::segment(3));
}
@endphp
{{__('Candidates listed against')}} ({{isset($job) ? $job->title : ''}})
| Candidate Name | Location | Expected Salary | Experience | Career Level | Phone | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{$user->getName()}} | {{$user->getLocation()}} | {{$job_application->expected_salary}} {{$job_application->salary_currency}} | {{$user->getJobExperience('job_experience')}} | {{$user->getCareerLevel('career_level')}} | {{$user->phone}} | @php $status = $job_application->status ?: 'applied'; $statusLabels = [ 'applied' => ['label' => 'Applied', 'class' => 'badge-info'], 'shortlist' => ['label' => 'Shortlisted', 'class' => 'badge-success'], 'hired' => ['label' => 'Hired', 'class' => 'badge-primary'], 'rejected' => ['label' => 'Rejected', 'class' => 'badge-danger'] ]; $statusInfo = isset($statusLabels[$status]) ? $statusLabels[$status] : ['label' => ucfirst($status), 'class' => 'badge-default']; @endphp {{$statusInfo['label']}} | View Profile @if(isset($job) && $job->jobQuestions->count() > 0) @endif |
| No Candidates applied yet | |||||||