@extends('layouts.app') @section('title', 'Log Notifikasi') @section('subtitle', 'Riwayat pengiriman reminder dan notifikasi') @section('breadcrumb')
  • Reminder Log
  • @endsection @section('content')

    {{ $stats['total_sent'] ?? 0 }}

    Terkirim

    {{ $stats['total_failed'] ?? 0 }}

    Gagal

    {{ $stats['sent_today'] ?? 0 }}

    Hari Ini

    {{ $logs->where('status', 'pending')->count() }}

    Pending

    Status:
    Channel:
    @forelse($logs as $log) @empty @endforelse
    Waktu Tipe Pegawai Channel Status Aksi
    {{ $log->created_at->format('d M Y H:i') }} {{ $log->getTypeLabelAttribute() }}

    {{ $log->employee->name ?? 'Unknown' }}

    @if($log->employeeAccessDetail)

    {{ $log->employeeAccessDetail->accessCatalog->name ?? '' }}

    @endif
    {{ ucfirst($log->channel) }} @if($log->status === 'sent') Terkirim @elseif($log->status === 'failed') @else @endif @if($log->status === 'failed')
    @csrf
    @endif

    Belum ada log notifikasi

    @if($logs->hasPages())
    {{ $logs->links() }}
    @endif
    @endsection