@extends('layouts.app') @section('title', 'Dashboard - ISP ERP System') @section('styles') @endsection @section('page-title', 'Dashboard') @section('content')
Here's what's happening with {{ Auth::user()->company_name ?? Auth::user()->branch->name ?? 'your ISP' }} business today. {{ date('l, F j, Y') }}
Active Branch & User
β {{ $activeBranches ?? 0 }} branches, {{ $activeUsers ?? 0 }} usersTotal Clients
π {{ $totalClients ?? 0 }} total clientsActive Clients
β {{ $activeClients ?? 0 }} active clientsOnline Clients
πΆ {{ $onlineClients ?? 0 }} clients connectedActive Servers
π₯οΈ {{ $activeServers ?? 0 }} routers onlineSuspended Clients
βΈοΈ {{ $suspendedClients ?? 0 }} clients suspendedMonthly Revenue
π° ${{ number_format($monthlyRevenue ?? 0, 2) }} monthly revenuePending Bills
π {{ $pendingBills ?? 0 }} pending bills| Client Name | Username | Package | Branch | Status | Joined Date | Action |
|---|---|---|---|---|---|---|
|
{{ $client->name }}
{{ $client->phone ?? 'No phone' }} |
{{ $client->username }} |
@if($client->package_name)
{{ $client->package_name }}
${{ number_format($client->package_price, 2) }} @else No package @endif |
@if($client->branch) {{ $client->branch->name }} @else No branch @endif | @if($client->status === 'active') Active @elseif($client->status === 'suspended') Suspended @else {{ ucfirst($client->status) }} @endif |
{{ $client->created_at->format('M d, Y') }}
{{ $client->created_at->format('h:i A') }} |
| Activity | User | Time | Status |
|---|---|---|---|
|
New client registered
|
John Doe | 2 minutes ago | Completed |
|
Payment received
|
Jane Smith | 15 minutes ago | Completed |
|
Server maintenance
|
System | 1 hour ago | In Progress |
|
Client sync completed
|
Admin | 2 hours ago | Completed |
|
Monthly bills generated
|
System | 3 hours ago | Completed |