@vite('resources/css/app.css')

All Community Notification Jobs

@forelse ($jobs as $j) @php $pct = $j['progress']; $status = $j['status'] ?? 'pending'; $jobId = $j['job_id'] ?? ''; $notificationId = $j['notification_id'] ?? ''; $recipient = $j['recipient'] ?? ''; $title = $j['title'] ?? ''; $processed = (int) ($j['processed'] ?? 0); $total = (int) ($j['total'] ?? 0); $success = (int) ($j['success'] ?? 0); $failed = (int) ($j['failed'] ?? 0); $notRegistered = (int) ($j['notRegistered'] ?? 0); $badgeClass = match ($status) { 'running' => 's-running', 'completed' => 's-completed', 'failed' => 's-failed', default => 's-pending', }; $dur = '—'; if (!is_null($j['duration_secs'])) { $s = (int) $j['duration_secs']; $h = floor($s / 3600); $m = floor(($s % 3600) / 60); $ss = $s % 60; $dur = ($h ? $h . 'h ' : '') . ($m ? $m . 'm ' : '') . $ss . 's'; } $searchText = strtolower(implode(' ', [$jobId, $title, $recipient, $status])); @endphp @empty @endforelse
Job ID Notif ID Recipient Title Status Progress Processed / Total Success / Failed / Not Registered Created Started Finished Duration Updated Message Actions
{{ $jobId }} {{ $notificationId }} {{ $recipient }} {{ $title }} {{ $status }} @if ($pct !== null)
{{ $pct }}% @else @endif
{{ $processed }} / {{ $total }} {{ $success }} / {{ $failed - $notRegistered }} / {{ $notRegistered }} {{ $j['created_at'] ?? '—' }} {{ $j['started_at'] ?? '—' }} {{ $j['finished_at'] ?? '—' }} {{ $dur }} {{ $j['updated_at'] ?? '—' }} {{ $j['message'] ?? '—' }} View JSON
No jobs found.
@vite('resources/js/app.js')