@vite(['resources/css/app.css', 'resources/js/app.js'])

Notificaciones

Volver
@php $totalNotificaciones = count($notificaciones ?? []); @endphp
@if($totalNotificaciones === 0)
No tenés notificaciones pendientes.
@else
@foreach($notificaciones as $index => $notif) @php $iconoClase = match($notif['tipo']) { 'turno_hoy' => 'bg-primary text-white', 'turno_manana' => 'bg-info text-dark', 'turno_cancelado' => 'bg-danger text-white', default => 'bg-light text-dark', }; $icono = match($notif['tipo']) { 'turno_hoy' => 'Hoy', 'turno_manana' => 'Manana', 'turno_cancelado' => 'X', default => 'Aviso', }; $claveNotif = $notif['clave'] ?? base64_encode($notif['tipo'] . '|' . $notif['titulo'] . '|' . $notif['fecha']); @endphp
{{ $icono }}

{{ $notif['titulo'] }}

{{ $notif['descripcion'] }}

@if(!empty($notif['enlace'])) Ver detalle @endif
{{ $notif['fecha'] }}
@endforeach
No tenés notificaciones pendientes.
@endif
@include('partials.reportar-falla-boton')