@extends('layouts.master', ['title' => 'Recruitment List']) @section('contents')

Recruitment List

@csrf
{{-- Not Necessary to add - commented by vikas --}} {{-- @if(auth()->user()->hasPermission('addnew-candidate')) --}} {{-- Back --}} {{-- @endif --}}
{{-- Show Messages --}}
@if (session()->has('success'))
@endif
{{-- --}} @forelse ($candidates as $candidate) @php $color = ''; $status = ''; if (!empty($candidate->finally)) { if ($candidate->finally == 'rejected') { $color = 'danger'; $status = 'Rejected'; } else { $color ='success'; $status = 'Applied'; } } elseif (!empty($candidate->status)) { $color = 'primary'; $status = 'Applied'; } @endphp @empty @endforelse
Recruitment Id Name Contact Details Job Position Client Name DOB Location Experience Skills Education Status Employee Status Action
Education Status Employee Status Action
{{$candidate->id}} {{$candidate->firstname." ".$candidate->lastname}} {{$candidate->email." / ".$candidate->phone}} {{$candidate->job_position}} {{$candidate->client_name}} {{date('jS F, Y', strtotime($candidate->dob))}} {{$candidate->location}} {{$candidate->experience}} {{$candidate->skill}} {{$candidate->education}} {{$status}} @if (!empty($candidate->emp_current_working_status)) @if ($candidate->emp_current_working_status == 'active') @if(auth()->user()->hasPermission('employee-details')) {{$candidate->emp_code." (".$candidate->emp_current_working_status.") "}} @endif @else @if(auth()->user()->hasPermission('employee-details')) {{$candidate->emp_code." (".$candidate->emp_current_working_status." ".$candidate->emp_dor." )"}} @endif @endif @else Not Deployed @endif @if(auth()->user()->hasPermission('applicant-recruitment-details-summary')) @endif
No Record Found
{{$candidates->links()}}
@endsection