@extends('layouts.app') @section('title', 'Detalles del Candidato') @section('content')
@if($candidate->profile_picture) {{ $candidate->full_name }} @else
{{ strtoupper(substr($candidate->first_name, 0, 1)) }}{{ strtoupper(substr($candidate->last_name, 0, 1)) }}
@endif

{{ $candidate->full_name }}

{{ $candidate->email }}

@if($candidate->phone)

{{ $candidate->phone }}

@endif
Volver Editar
Información Personal

{{ $candidate->full_name }}

{{ $candidate->email }}

{{ $candidate->phone ?? 'No especificado' }}

{{ $candidate->birth_date ? $candidate->birth_date->format('d/m/Y') : 'No especificada' }} @if($candidate->age) ({{ $candidate->age }} años) @endif

{{ ucfirst($candidate->gender ?? 'No especificado') }}

{{ $candidate->nationality ?? 'No especificada' }}

{{ ucfirst($candidate->marital_status ?? 'No especificado') }}

@php $statusColors = [ 'active' => 'success', 'inactive' => 'secondary', 'hired' => 'primary', 'rejected' => 'danger' ]; $statusLabels = [ 'active' => 'Activo', 'inactive' => 'Inactivo', 'hired' => 'Contratado', 'rejected' => 'Rechazado' ]; @endphp {{ $statusLabels[$candidate->status] ?? ucfirst($candidate->status) }}
@if($candidate->summary)

{{ $candidate->summary }}

@endif
@if($candidate->address || $candidate->city || $candidate->country)
Dirección

{{ $candidate->address ?? 'No especificada' }}

{{ $candidate->city ?? 'No especificada' }}

{{ $candidate->state ?? 'No especificado' }}

{{ $candidate->country ?? 'No especificado' }}

@endif
Información Profesional

@if($candidate->expected_salary) {{ number_format($candidate->expected_salary, 2) }} {{ $candidate->salary_currency }} @else No especificado @endif

@php $availabilityLabels = [ 'immediate' => 'Inmediata', '1_week' => '1 Semana', '2_weeks' => '2 Semanas', '1_month' => '1 Mes', 'more_than_month' => 'Más de 1 mes' ]; @endphp

{{ $availabilityLabels[$candidate->availability] ?? 'No especificada' }}

{{ $candidate->getTotalExperienceYears() }} años

@if($candidate->willing_to_relocate) @else No @endif

@if($candidate->workExperiences->count() > 0)
Experiencia Laboral
@foreach($candidate->workExperiences as $experience)
{{ $experience->position }}

{{ $experience->company_name }}

@if($experience->location)

{{ $experience->location }}

@endif
{{ $experience->is_current ? 'Actual' : 'Anterior' }}

{{ $experience->start_date->format('M Y') }} - {{ $experience->end_date ? $experience->end_date->format('M Y') : 'Presente' }}

{{ $experience->duration_in_years }} años

@if($experience->salary)

{{ $experience->formatted_salary }}

@endif
@if($experience->description)

{{ $experience->description }}

@endif @if($experience->achievements)
Logros:

{{ $experience->achievements }}

@endif
@endforeach
@endif @if($candidate->educations->count() > 0)
Educación
@foreach($candidate->educations as $education)
{{ $education->degree }}

{{ $education->institution_name }}

@if($education->field_of_study)

{{ $education->field_of_study }}

@endif @if($education->location)

{{ $education->location }}

@endif
{{ $education->is_current ? 'En Curso' : 'Completado' }}

{{ $education->start_date->format('M Y') }} - {{ $education->end_date ? $education->end_date->format('M Y') : 'Presente' }}

{{ $education->duration_in_years }} años

@if($education->gpa)

GPA: {{ $education->formatted_gpa }}

@endif
@if($education->description)

{{ $education->description }}

@endif
@endforeach
@endif @if($candidate->skills->count() > 0)
Habilidades
@foreach($candidate->skills as $skill)
{{ $skill->skill_name }} {{ $skill->level_label }}
@if($skill->years_experience) {{ $skill->years_experience }} años de experiencia @endif @if($skill->description) {{ $skill->description }} @endif
@endforeach
@endif @if($candidate->positionInterests->count() > 0)
Posiciones de Interés
@foreach($candidate->positionInterests as $interest)
{{ $interest->position_title }}
@if($interest->department)

{{ $interest->department }}

@endif @if($interest->notes)

{{ $interest->notes }}

@endif
{{ $interest->priority_label }}
@endforeach
@endif
@if($candidate->curriculums->count() > 0)
Currículums
@foreach($candidate->curriculums as $curriculum)
{{ $curriculum->title }}
{{ ucfirst($curriculum->status) }}

{{ $curriculum->file_name }} ({{ $curriculum->file_size_formatted }})

{{ $curriculum->created_at->format('d/m/Y H:i') }}

@if($curriculum->file_url) Descargar @endif
@endforeach
@endif @if($candidate->notes)
Notas

{{ $candidate->notes }}

@endif
Contacto
@if($candidate->phone) @endif @if($candidate->city && $candidate->country)

{{ $candidate->city }}, {{ $candidate->country }}

@endif
@endsection @push('scripts') @endpush @push('styles') @endpush