Reporte de Notificaciones

Sistema SOSSYSTEM

Generado el: {{ now()->format('d/m/Y H:i:s') }}

Estadísticas de Notificaciones

{{ $estadisticas['total'] ?? 0 }}
Total Notificaciones
{{ $estadisticas['leidas'] ?? 0 }}
Leídas
{{ $estadisticas['no_leidas'] ?? 0 }}
No Leídas
{{ $datos->count() }}
En Reporte
@foreach($datos as $notificacion) @endforeach
ID Título Tipo Usuario Mensaje Estado Fecha Creación Fecha Lectura URL
{{ $notificacion->id }} {{ Str::limit($notificacion->titulo ?? 'N/A', 30) }} {{ ucfirst($notificacion->tipo ?? 'Sistema') }} {{ $notificacion->user->name ?? 'Sistema' }} {{ Str::limit($notificacion->mensaje ?? 'N/A', 50) }} @if($notificacion->leida) ✓ Leída @else ✗ No Leída @endif {{ $notificacion->created_at->format('d/m/Y H:i') }} {{ $notificacion->fecha_lectura ? \Carbon\Carbon::parse($notificacion->fecha_lectura)->format('d/m/Y H:i') : 'N/A' }} {{ $notificacion->url ?? 'N/A' }}
@if(isset($estadisticas['por_tipo']) && $estadisticas['por_tipo']->count() > 0)

Distribución por Tipo

@foreach($estadisticas['por_tipo'] as $tipo) @endforeach
Tipo Cantidad Porcentaje
{{ ucfirst($tipo->tipo ?? 'Sistema') }} {{ $tipo->total }} {{ number_format(($tipo->total / $estadisticas['total']) * 100, 1) }}%
@endif @if(isset($estadisticas['por_periodo']) && $estadisticas['por_periodo']->count() > 0)

Distribución por Período

@foreach($estadisticas['por_periodo'] as $periodo => $cantidad) @endforeach
Período Cantidad
{{ $periodo }} {{ $cantidad }}
@endif