@extends('layout.app') @section('content')

Update MAC Address from RADIUS

@if ($selected_reseller && $results->isNotEmpty()) @php $updatableCount = $results->filter(fn($c) => $c->radacct_mac && $c->mac !== $c->radacct_mac)->count(); @endphp

Showing {{ $results->count() }} client(s). {{ $updatableCount }} pending update

@foreach ($results as $client) @endforeach
Client ID Username Current MAC (clients table) Latest MAC (radacct) Action
{{ $client->id }} {{ $client->userid }} {{ $client->mac ?? '—' }} @if ($client->radacct_mac) {{ $client->radacct_mac }} @else No record @endif @if ($client->radacct_mac && $client->mac !== $client->radacct_mac) @elseif ($client->radacct_mac) Up to date @else — @endif
@elseif ($selected_reseller && $results->isEmpty())
No clients found for the selected manager.
@endif
@endsection @section('ajax') @endsection