@extends('layouts.app') @section('title', 'Active Clients - ISP ERP System') @section('page-title', 'Active Clients') @section('content')

Active Clients

View and manage active ISP clients

{{ $stats['active'] }}

Active Clients

{{ $stats['total'] }}

Total Clients

{{ $stats['suspended'] }}

Suspended

{{ $stats['assigned_servers'] }}

Assigned Servers

Active Clients ({{ $clients->total() }})

@if($clients->count() > 0)
@foreach($clients as $index => $client) @endforeach
Serial ID ISP Name Client Info User ID Password Online Status Last Log Out MAC Address Mikrotik Server Package Action
{{ $clients->firstItem() + $index }} {{ $client->id }} @if($client->branch) {{ $client->branch->name }} @else No Branch @endif
{{ strtoupper(substr($client->name, 0, 1)) }}
{{ $client->name }} {{ $client->email }}
{{ $client->username ?? 'N/A' }}
••••••••
@if($client->is_online) Online @if($client->session_count > 0) {{ $client->session_count }} session(s) @endif @else Offline @endif {{ $client->last_logout ? $client->last_logout->format('M d, Y H:i') : 'Never' }} {{ $client->mac_address ?? 'N/A' }} @if($client->mikrotikServer) {{ $client->mikrotikServer->name }} @else No Server @endif @if($client->package) {{ $client->package->name }} @else No Package @endif
@if($client->is_online) @else @endif
@if($clients->hasPages())
{{ $clients->appends(request()->query())->links('pagination.custom') }}
@endif @else
No Active Clients Found

There are currently no active clients in the system.

Add First Client
@endif
@endsection @section('scripts') @endsection