@can('access','view_candidate') @endcan @if(!empty($item->candidate->picture) && file_exists($item->candidate->picture)) @else @endif @can('access','view_candidate') @endcan
{{ $item->name }} @if($item->name != $item->candidate->display_name)({{ $item->candidate->display_name }})@endif

@foreach($item->candidate->categories as $category) {{ $category->name }} @endforeach

{{ gender($item->candidate->gender) }} {{ getAge(\Illuminate\Support\Carbon::parse($item->candidate->date_of_birth)->timestamp) }} {{ $item->email }} {{ empty($item->candidate->public)? __('site.private'):__('site.public') }} @if($item->candidate->restricted==1) @lang('site.restricted') @endif @if($item->candidate->locked==1) @lang('site.locked') @endif @if($item->candidate->employed==1) @lang('site.employed') @endif @if($item->candidate->shortlisted==1) @lang('site.shortlisted') @endif @if($item->status==0) @lang('site.disabled') @endif
@can('access','edit_candidate')
@endcan @section('footer') @parent
{{ method_field('DELETE') }} {{ csrf_field() }}
@endsection