@extends('layouts.app') @section('title', 'Base de Datos de Currículums') @section('content')
Gestión de candidatos y currículums para futuras ofertas laborales
| Candidato | Contacto | Experiencia | Habilidades | Posiciones de Interés | Disponibilidad | Estado | Acciones |
|---|---|---|---|---|---|---|---|
|
@if($candidate->profile_picture)
{{ 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)
@endforeach
@if($candidate->positionInterests()->count() > 2)
+{{ $candidate->positionInterests()->count() - 2 }} más
@endif
{{ $interest->department }} @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) }} |
Comienza agregando el primer candidato a la base de datos.
Agregar Candidato