@extends('layouts.app') @section('title', 'RADIUS sessions') @section('content')

RADIUS sessions

Accounting records imported from radacct.

@csrf
Usage report
@forelse ($sessions as $session) @empty @endforelse
SubscriberServiceStartedStoppedDuration Framed IPNASDownUpTerminated
@if ($session->is_online)@endif {{ $session->username }} @if ($session->service) {{ $session->service->customer->display_name }} @else — @endif {{ $session->started_at?->format('d M H:i') ?? '—' }} {{ $session->stopped_at?->format('d M H:i') ?? '—' }} {{ $session->duration_label }} {{ $session->framed_ip ?: '—' }} {{ $session->nas_ip }} {{ human_bytes($session->input_octets) }} {{ human_bytes($session->output_octets) }} {{ $session->terminate_cause ?: '—' }} @if ($session->is_online)
@csrf
@endif
@include('components.empty-state', ['icon' => '⏱', 'title' => 'No sessions found', 'message' => 'Sync accounting from the NAS to populate this table.'])
@if ($sessions->hasPages())
{{ $sessions->links('partials.pagination') }}
@endif
@endsection