@if (is_null($info['cvinfo']) || !auth()->user()->isValid())
Sin información aún.
@else
@php
$cv_info = $info['cvinfo'];
@endphp
{{$cv_info->firstname." ".$cv_info->lastname." ".$cv_info->mother_lastname}}
{{$cv_info->gender}}
{{ $cv_info->disability==1 ? "Si" : "No" }}
@php
$borndate = \Carbon\carbon::parse($cv_info->borndate);
$age = $borndate->age;
@endphp
{{ $borndate->isoFormat('D [de] MMMM [de] YYYY')." (".$age." años)" }}
+{{ $cv_info->phone_code." ".$cv_info->phone }}
{{ $cv_info->residence==1 ? "Si" : "No" }}
{{ $cv_info->travel==1 ? "Si" : "No" }}
{{ $cv_info->license_type=='No' ? "Sin licencia" : "Tipo ".$cv_info->license_type }}
{{ $cv_info->country }}
{{ $cv_info->postalcode }}
{{ $cv_info->state }}
{{ $cv_info->locality }}
{{ $cv_info->neighborhood }}
@endif
@if (!is_null($info['cvinfo']) && auth()->user()->isValid())
@if (is_null($info['cvinfo']->title))
Sin información aún.
@else
{{$cv_info->title}}
${{$cv_info->salary}}
@php
$area = \App\Models\JobsAreas::where("id",$cv_info->area)->first()->name;
@endphp
{{ $area }}
@php
$subarea = \App\Models\JobsSubareas::where("id",$cv_info->subarea)->first()->name;
@endphp
{{ $subarea }}
{{ $cv_info->goal }}
@endif
@if (is_null($info['cvexperience']))
Sin información aún.
@else
@php
$conteo = 0;
@endphp
@foreach ($info['cvexperience'] as $cexp)
{{$cexp->title}}
{{$cexp->company}}
{{$cexp->country}}
{{$cexp->state}}
{{$cexp->locality}}
{{$cexp->date_start}}
@if ($cexp->actual_working == 1)
Trabajo actual
@else
{{$cexp->date_end}}
@endif
@php
$conteo++;
@endphp
@endforeach
@endif
@if (is_null($info['cveducation']))
Sin información aún.
@else
@php
$conteo = 0;
@endphp
@foreach ($info['cveducation'] as $cedu)
@php
$lvl = \App\Models\CandidatesDegrees::where("id",$cedu->career)->first()->name;
@endphp
{{$lvl}}
{{$cedu->degree}}
{{$cedu->school}}
{{$cedu->country}}
{{$cedu->state}}
{{$cedu->locality}}
{{$cedu->date_start}}
@if ($cedu->actual_study == 1)
Actualmente estudio
@else
{{$cedu->date_end}}
@endif
@php
$conteo++;
@endphp
@endforeach
@endif
@if (is_null($info['cvskills']))
Sin información aún.
@else
@foreach ($info['cvskills'] as $cski)
@php
$txt = '';
if($cski->years<1){
$txt = 'Menos de 1 año';
}else if($cski->years==10){
$txt = '10 años o más';
}else{
$txt = $cski->years.' años';
}
@endphp
{{$cski->skill." / ". $txt}}
@endforeach
@endif
@if (is_null($info['cvlanguages']))
Sin información aún.
@else
@foreach ($info['cvlanguages'] as $clang)
@php
$txt = '';
switch ($clang->nivel) {
case 1:
$txt = 'Nativo';
break;
case 2:
$txt = 'Básico';
break;
case 3:
$txt = 'Medio';
break;
case 4:
$txt = 'Avanzado';
break;
}
@endphp
{{$clang->language." / ". $txt}}
@endforeach
@endif
Certificaciones/Diplomados
@if (is_null($info['cvcertificates']))
Sin información aún.
@else
@php
$conteo = 0;
@endphp
@foreach ($info['cvcertificates'] as $cert)
{{$cert->title}}
{{$cert->date_start}}
@if ($cert->validity == 1)
Sin fecha de vencimiento
@else
{{$cert->date_end}}
@endif
@php
$conteo++;
@endphp
@endforeach
@endif
@php
$id_user_candidate = auth()->user()->user_candidate_id;
@endphp
@php
$cv = \App\Models\CandidatesDocumentation::where("candidate_id", $id_user_candidate)->where("type", 'cv')->first();
@endphp
@if(is_null($cv))
@else
@endif
@endif
@endsection
@section('scripts')
@parent
@endsection