@extends('layouts.app') @section('title', 'Detalles del Empleado') @section('content')
{{ ucfirst($employee->employment_status) }} @if($employee->department) • {{ $employee->department->name }} @endif @if($employee->position) • {{ $employee->position->name }} @endif
{{ $employee->notes }}
| Tipo | Título | Archivo | Fecha de Expiración | Subido Por | Fecha | Acciones |
|---|---|---|---|---|---|---|
| {{ ucfirst($document->document_type) }} | {{ $document->title }} |
{{ $document->file_name }}
{{ number_format($document->file_size / 1024, 2) }} KB |
@if($document->expiry_date) @if($document->expiry_date->isPast()) Expirado @elseif($document->expiry_date->isBefore(now()->addDays(30))) {{ $document->expiry_date->format('d/m/Y') }} @else {{ $document->expiry_date->format('d/m/Y') }} @endif @else N/A @endif | {{ $document->uploadedBy->name ?? 'N/A' }} | {{ $document->created_at->format('d/m/Y') }} |
No hay documentos registrados para este empleado.
| Tipo | Fecha Inicio | Fecha Fin | Días | Estado | Fecha Solicitud | Acciones |
|---|---|---|---|---|---|---|
| {{ $leave->leaveType->name ?? 'N/A' }} | {{ $leave->start_date->format('d/m/Y') }} | {{ $leave->end_date->format('d/m/Y') }} | {{ $leave->start_date->diffInDays($leave->end_date) + 1 }} | @switch($leave->status) @case('pending') Pendiente @break @case('approved') Aprobada @break @case('rejected') Rechazada @break @default {{ ucfirst($leave->status) }} @endswitch | {{ $leave->created_at->format('d/m/Y') }} | - |
No hay solicitudes de ausencia registradas.
No hay evaluaciones de desempeño registradas.
No hay capacitaciones registradas.
Motivo: {{ $history->reason }}
@endif @if($history->old_values || $history->new_values){{ json_encode($history->old_values, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
{{ json_encode($history->new_values, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
No hay historial de cambios registrado.