@extends('layouts.app') @section('title', 'Base de Datos de Currículums') @section('content')

Base de Datos de Currículums

Gestión de candidatos y currículums para futuras ofertas laborales

Buscar Candidatos Nuevo Candidato
Total Candidatos
{{ number_format($stats['total'] ?? 0) }}
Activos
{{ number_format($stats['active'] ?? 0) }}
Contratados
{{ number_format($stats['hired'] ?? 0) }}
Recientes (30 días)
{{ number_format($stats['recent'] ?? 0) }}
Limpiar
Lista de Candidatos
@if($candidates->count() > 0)
@foreach($candidates as $candidate) @endforeach
Candidato Contacto Experiencia Habilidades Posiciones de Interés Disponibilidad Estado Acciones
@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 }}
@if($candidate->summary) {{ Str::limit($candidate->summary, 60) }} @endif @if($candidate->age)
Edad: {{ $candidate->age }} años @endif
{{ $candidate->email }}
@if($candidate->phone)
{{ $candidate->phone }}
@endif @if($candidate->city)
{{ $candidate->city }}, {{ $candidate->country }}
@endif
@php $totalExperience = $candidate->getTotalExperienceYears(); $currentJob = $candidate->current_work_experience; @endphp
{{ $totalExperience }} años
@if($currentJob)
{{ $currentJob->position }}
{{ $currentJob->company_name }}
@endif
@php $topSkills = $candidate->skills()->orderBy('level', 'desc')->limit(3)->get(); @endphp
@foreach($topSkills as $skill) {{ $skill->skill_name }} @endforeach @if($candidate->skills()->count() > 3) +{{ $candidate->skills()->count() - 3 }} más @endif
@php $interests = $candidate->positionInterests()->limit(2)->get(); @endphp
@foreach($interests as $interest)
{{ $interest->position_title }} @if($interest->department)
{{ $interest->department }} @endif
@endforeach @if($candidate->positionInterests()->count() > 2) +{{ $candidate->positionInterests()->count() - 2 }} más @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' }} @if($candidate->willing_to_relocate)
Dispuesto a reubicarse @endif
@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) }}
{{ $candidates->appends(request()->query())->links() }}
@else
No hay candidatos registrados

Comienza agregando el primer candidato a la base de datos.

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