@extends($templateLayout) @section('page-title',__('site.profile')) @section('inline-title',__('site.profiles')) @section('breadcrumb') @endsection @section('content')
@if(!empty($candidate->picture) && file_exists($candidate->picture)) @elseif($candidate->gender=='m') @else @endif
@lang('site.shortlist')

{{ $candidate->display_name }}

@lang('site.age')

{{ getAge(\Illuminate\Support\Carbon::parse($candidate->date_of_birth)->timestamp) }}

@lang('site.gender')

{{ gender($candidate->gender) }}

@if($candidate->country)

@lang('site.location')

@if(!empty($candidate->city)){{ $candidate->city }}, @endif @if(!empty($candidate->zip)){{ $candidate->zip }}, @endif @if(!empty($candidate->state)){{ $candidate->state }}, @endif {{ $candidate->country->name }}

@endif

@lang('site.date-of-birth')

{{ \Illuminate\Support\Carbon::parse($candidate->date_of_birth)->format('F Y') }} ({{ getAge(\Illuminate\Support\Carbon::parse($candidate->date_of_birth)->timestamp) }} @lang('site.years-old'))

@if(!empty($candidate->about))

@lang('site.about')

{!! clean(nl2br($candidate->about)) !!}

@endif @if($candidate->educations()->exists())

@lang('site.education')

@foreach($candidate->educations()->byDate()->get() as $education)
{{ $education->degree }}

{{ $education->institution }}

{{ dateFieldString($education->date_obtained,'d/M/Y') }}

@endforeach
@endif @if($candidate->workExperiences()->exists())

@lang('site.work-experience')

@foreach($candidate->workExperiences()->byStartDate()->get() as $experience)
{{ $experience->position }}

{{ $experience->company }}

{{ dateFieldString($experience->start_date,'d/M/Y') }} - {{ empty($experience->end_date)? __('site.present'):dateFieldString($experience->end_date,'d/M/Y') }}

{!! clean(nl2br($experience->job_description)) !!}

@endforeach
@endif @if($candidate->skills()->exists())

@lang('site.skills')

    @foreach($candidate->skills as $skill)
  • {{ $skill->skill }}

    {{ $skill->description }}

  • @endforeach
@endif @if($candidate->categories()->exists())

@lang('site.categories')

    @foreach($candidate->categories as $category)
  • {{ $category->name }}
  • @endforeach
@endif @foreach($groups as $group)

{{ $group->name }}

@foreach($group->candidateFields()->orderBy('sort_order')->get() as $field)