{{-- resources/views/panel/licenses/show.blade.php --}} @php $u = auth()->user(); $status = $license->status ?? 'expired'; $statusLabel = $status; $statusClasses = match ($status) { 'active' => 'bg-green-50 dark:bg-green-900/30 text-green-700 dark:text-green-200 ring-green-200 dark:ring-green-700', 'banned' => 'bg-red-50 dark:bg-red-900/30 text-red-700 dark:text-red-200 ring-red-200 dark:ring-red-700', default => 'bg-gray-50 dark:bg-gray-800 text-gray-700 dark:text-gray-200 ring-gray-200 dark:ring-gray-700', }; $expiresText = $license->expires_at?->format('Y-m-d H:i') ?? 'lifetime'; @endphp

License details

{{ $statusLabel }}
{{ $license->license_key }} App: {{ $app->name }} Expires: {{ $expiresText }}
Back {{-- Reset HWID (con modal) --}} @if (!isset($u->is_admin) || $u->is_admin)
{{-- Backdrop --}} {{-- Modal --}}
@endif
{{-- Alerts --}} @if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif {{-- Summary --}}
Overview
License activity & device binding
Expires
{{ $expiresText }}
First used
{{ $license->first_used_at?->format('Y-m-d H:i') ?? '-' }}
Duration
{{ $license->duration_type === 'lifetime' ? 'lifetime' : (($license->duration_value ?? '-') . ' ' . ($license->duration_type ?? 'days')) }}
Last seen
{{ $license->last_seen_at?->format('Y-m-d H:i') ?? '-' }}
HWID (masked)
{{ $hwidMasked ?? '-' }}
Last IP
{{ $license->last_ip ?? '-' }}
License ID
{{ $license->id }}
Tip: Reset HWID will also end active sessions, forcing a new device registration on next activate.
{{-- Sessions --}}
Sessions
Last 20 sessions
@forelse($sessions as $s) @empty @endforelse
Token Started Last ping Ended IP
{{ substr($s->token, 0, 10) }}… {{ $s->started_at?->format('Y-m-d H:i') ?? '-' }} {{ $s->last_ping_at?->format('Y-m-d H:i') ?? '-' }} {{ $s->ended_at?->format('Y-m-d H:i') ?? '-' }} {{ $s->ip ?? '-' }}
No sessions yet.