{{ session('success') }}
-
@foreach($errors->all() as $err)
- {{ $err }} @endforeach
Total Terminals
{{ number_format($metrics['total']) }}
Active Licenses
{{ number_format($metrics['active']) }}
Suspended
{{ number_format($metrics['suspended']) }}
Expired Subs
{{ number_format($metrics['expired']) }}
Online (24h)
{{ number_format($metrics['online_24h']) }}
| Client / Shop | Machine ID | License Type | Expiration | Last Cloud Sync | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ $item->shop_name }}
@if($item->client_phone)
{{ $item->client_phone }}
@endif
@if($item->city)
• {{ $item->city }}
@endif
|
{{ $item->machine_id }} | @if($item->license_type === 'lifetime') Lifetime @else Subscription @endif |
@if($item->license_type === 'lifetime')
Never Expires
@elseif(!$item->expires_at)
Not set
@else
{{ $item->expires_at->format('Y-m-d') }}
@if($item->isExpired())
EXPIRED ({{ abs((int) now()->diffInDays($item->expires_at, false)) }}d ago)
@else
{{ (int) now()->diffInDays($item->expires_at, false) }} days left
@endif
@endif
|
@if($item->last_pinged_at)
{{ $item->last_pinged_at->diffForHumans() }}
IP: {{ $item->ping_ip ?? 'Unknown' }} • v{{ $item->app_version ?? '1.0' }}
@else
Never synced
@endif
|
@if($item->status === 'suspended') SUSPENDED @elseif($item->isExpired()) EXPIRED @else ACTIVE @endif | @if($item->license_type !== 'lifetime') @endif |
| No client terminal licenses found matching your criteria. | ||||||
{{ $licenses->links() }}
@endif