@extends('layouts.app') @section('title', 'Active Clients - ISP ERP System') @section('styles') @endsection @section('page-title', 'Active Clients Management') @section('content')
Manage active client information and details
| @endif | ID | Login ID | Client Name | Mobile | Branch | Mikrotik Server | Package | Monthly Bill | Status | Online Status | MAC Address | Created | Expire Date | Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @endif | #{{ $clientInfo->id }} |
@if($clientInfo->client_login_id)
{{ $clientInfo->client_login_id }}
@else
-
@endif
@if(!$clientInfo->client_login_id || !$clientInfo->client_login_password)
@endif
|
{{ $clientInfo->full_name }}
@if($clientInfo->client)
{{ $clientInfo->client->username }}
@endif
|
{{ $clientInfo->mobile_number }} | @if($clientInfo->branch && $clientInfo->branch->parent_branch_id) {{ $clientInfo->branch->name }} @else - @endif |
@if($clientInfo->client && $clientInfo->client->mikrotikServer)
{{ $clientInfo->client->mikrotikServer->name }}
@if($clientInfo->client->mikrotikServer->ip_address)
{{ $clientInfo->client->mikrotikServer->ip_address }}
@endif
@else
-
@endif
|
@if($clientInfo->client && $clientInfo->client->package_name) {{ $clientInfo->client->package_name }} @else - @endif | @if($clientInfo->monthly_bill_amount) ৳{{ number_format($clientInfo->monthly_bill_amount, 2) }} @else - @endif | @if($clientInfo->client) @if($clientInfo->client->status === 'active') Active @elseif($clientInfo->client->status === 'suspended') Suspended @elseif($clientInfo->client->status === 'inactive') Inactive @elseif($clientInfo->client->status === 'expired') Expired @else {{ ucfirst($clientInfo->client->status) }} @endif @else No Client Data @endif | @if($clientInfo->client) @if($clientInfo->client->is_online) Online @else Offline @endif @else Unknown @endif | @if($clientInfo->client) {{ $clientInfo->client->mac_address_display ?? ($clientInfo->client->mac_address ?? 'N/A') }} @else N/A @endif | {{ $clientInfo->created_at->format('M d, Y') }} | @if($clientInfo->expire_date) {{ \Carbon\Carbon::parse($clientInfo->expire_date)->format('M d, Y') }} @else N/A @endif |
There are no active clients to display at the moment.
@if(auth()->user()->role !== 'collector') Add First Active Client @endif