{{ $client['name'] }}
|
{{ $client['client_name'] }} |
{{ $client['address'] }}
|
{{ $mikrotikAndActiveUsers['nasIp'] }}
|
{{ $client['caller-id'] }}
|
{{-- {{ $client['uptime'] }} --}}
{{ formatUptime($client['uptime']) }}
{{-- @php
$clientCount++;
// Extract the initial uptime in seconds, considering days (e.g., "1d12h5m46s")
preg_match('/(\d+)d(\d+)h(\d+)m(\d+)s/', $client['uptime'], $matches);
$days = $matches[1] ?? 0;
$hours = $matches[2] ?? 0;
$minutes = $matches[3] ?? 0;
$seconds = $matches[4] ?? 0;
// Calculate total seconds
$totalSeconds = ($days * 86400) + ($hours * 3600) + ($minutes * 60) + $seconds;
@endphp
--}}
|
View live Traffice
@can('onlineUserDisconnection')
Disconnect
@endcan
|
@endforeach
@endforeach