@extends('layouts.main') @section('main')

Lista de Asistentes

{{ $evento->titulo }}

{{ \Carbon\Carbon::parse($evento->fecha_inicio)->format('d/m/Y H:i') }}

Volver al Evento

{{ $evento->asistentes->count() }}

Total Registrados

{{ $evento->asistentes->where('estado_confirmacion', 'confirmado')->count() }}

Confirmados

{{ $evento->asistentes->where('estado_confirmacion', 'pendiente')->count() }}

Pendientes

{{ $evento->asistentes->where('asistio', true)->count() }}

Asistieron
@if($evento->cupo_maximo)
Cupo: {{ $evento->asistentes->where('estado_confirmacion', 'confirmado')->count() }} / {{ $evento->cupo_maximo }}
@endif
Listado Completo
@if($evento->asistentes->count() > 0)
@foreach($evento->asistentes as $index => $asistente) @endforeach
# Empleado Cargo Estado Confirmación Asistió Fecha Registro Acciones
{{ $index + 1 }}
@if($asistente->empleado->EMP_FOTO_URL) {{ $asistente->empleado->EMP_NOMBRES }} @else
{{ substr($asistente->empleado->EMP_NOMBRES, 0, 1) }}{{ substr($asistente->empleado->EMP_APELLIDOS, 0, 1) }}
@endif
{{ $asistente->empleado->EMP_NOMBRES }} {{ $asistente->empleado->EMP_APELLIDOS }}
{{ $asistente->empleado->EMP_EMAIL }}
{{ $asistente->empleado->cargo->CAR_NOMBRE ?? 'N/A' }} @if($asistente->estado_confirmacion == 'confirmado') Confirmado @elseif($asistente->estado_confirmacion == 'rechazado') Rechazado @else Pendiente @endif @if($asistente->asistio) Sí @else No @endif {{ \Carbon\Carbon::parse($asistente->created_at)->format('d/m/Y H:i') }}
@else

No hay asistentes registrados para este evento

@endif
@if($evento->asistentes->count() > 0)
Exportar Lista

Descarga la lista de asistentes en diferentes formatos

@endif
@endsection