@extends('layout.app') @section('title', 'User Hotspot - Sistem Manajemen ISP') @section('content')
@php use App\Models\HotspotUser; $totalUsers = HotspotUser::count(); $usersAktif = HotspotUser::where('status', 'Aktif')->count(); $usersNonaktif = HotspotUser::where('status', 'Nonaktif')->count(); $usersExpired = HotspotUser::where('status', 'Aktif') ->whereNotNull('expires_at') ->where('expires_at', '<', now()) ->count(); @endphp
Tidak aktif

person Daftar User Hotspot
search
@if(request()->anyFilled(['search', 'status'])) @endif
@if(session('success')) @endif
@forelse($users as $index => $user) @empty @endforelse
No Username Profile Status Expired MAC Address Aksi
{{ $users->firstItem() + $index }}
{{ $user->username }}
@if($user->profile) {{ $user->profile }} @else - @endif @if($user->status == 'Aktif') check_circle Aktif @else cancel Nonaktif @endif @if($user->expires_at) @if($user->expires_at < now() && $user->status == 'Aktif') {{ $user->expires_at->format('d/m/Y H:i') }}
warning Expired @else {{ $user->expires_at->format('d/m/Y H:i') }} @endif @else - @endif
@if($user->mac_address) {{ $user->mac_address }} @else - @endif
person

Belum ada user hotspot

Mulai dengan menambahkan user hotspot pertama

add Tambah User Pertama
@if($users->hasPages()) @endif
@section('scripts') @endsection