@php $columns = [ [ 'label' => 'Invitado', 'width' => '300px', 'render' => fn($rsvp) => e($rsvp->guest->name ?? '—'), ], [ 'label' => 'Correo', 'width' => '300px', 'render' => fn($rsvp) => e($rsvp->guest->email ?? '—'), ], [ 'label' => 'Teléfono', 'width' => '200px', 'render' => fn($rsvp) => e($rsvp->guest->phone ?? '—'), ], [ 'label' => 'Acompañantes', 'width' => '160px', 'render' => fn($rsvp) =>e($rsvp->confirmed_guests ?? '—'), ], [ 'label' => 'Asistencia', 'width' => '160px', 'render' => fn($rsvp) => $rsvp->attendance === 'yes' ? 'Asistirá' : 'No asistirá', ], [ 'label' => 'Restricciones alimenticias', 'width' => '300px', 'render' => fn($rsvp) => e($rsvp->dietary_restrictions ?: '—'), ], [ 'label' => 'Comentarios', 'width' => '300px', 'render' => fn($rsvp) => e($rsvp->comments ?: '—'), ], [ 'label' => 'Confirmado el', 'width' => '200px', 'render' => fn($rsvp) => optional($rsvp->confirmed_at)->format('d/m/Y H:i') ?: '—', ], ]; $rsvpTabs = [ 'confirmed' => 'Confirmados', 'not_confirmed' => 'No confirmados', ]; @endphp

Mis Confirmaciones

@if ($status === 'confirmed') @elseif ($status === 'not_confirmed')
@forelse ($rsvps as $guest) @empty

No hay invitados sin confirmar.

@endforelse @if ($rsvps->hasPages())
{{ $rsvps->withQueryString()->links() }}
@endif
@endif