@extends('layouts.app') @section('title', 'CoA / Disconnect history') @section('content')

CoA & Disconnect-Message history

Every RFC 3576 packet sent to the estate, with the NAS response.

@include('components.kpi', ['label' => 'Sent today', 'value' => $counts['today'], 'variant' => 'info', 'href' => '#']) @include('components.kpi', ['label' => 'Acknowledged', 'value' => $counts['ack'], 'variant' => 'good', 'href' => route('radius.disconnects', ['status' => 'ack'])]) @include('components.kpi', ['label' => 'NAK / failed', 'value' => $counts['failed'], 'variant' => 'bad', 'href' => route('radius.disconnects', ['status' => 'nak'])]) @include('components.kpi', ['label' => 'Success rate', 'value' => percent($counts['success_rate']), 'variant' => 'good', 'href' => '#'])
@forelse ($requests as $req) @empty @endforelse
WhenUsernameTypePurposeNASPort ResultResponseSent by
{{ $req->created_at->format('d M H:i:s') }} {{ $req->username }} {{ $req->type }} {{ title_case_words($req->purpose) }} {{ $req->nas_ip }} {{ $req->nas_port }} {{ $req->status }} {{ $req->response_detail ? \Illuminate\Support\Str::limit($req->response_detail, 60) : '—' }} {{ $req->user?->name ?? 'System' }}
@include('components.empty-state', ['icon' => '⚡', 'title' => 'No packets sent yet', 'message' => 'CoA and DM requests appear here with the NAS response code.', 'action' => ''])
@if ($requests->hasPages())
{{ $requests->links('partials.pagination') }}
@endif
@endsection