@extends('layouts.app') @section('title', $license->license_key) @section('breadcrumb') @endsection @section('content')
License is {{ strtoupper($license->status) }} @if($license->days_until_expiry !== null) — @if($license->days_until_expiry <= 0) Expired {{ $license->expiry_date?->diffForHumans() }} @else Expires in {{ $license->days_until_expiry }} day(s) ({{ $license->expiry_date?->format('d M Y') }}) @endif @elseif($license->license_type === 'lifetime') — No expiry (Lifetime License) @endif
License Details
License Key{{ $license->license_key }}
Type{{ ucfirst($license->license_type) }}
Issue Date{{ $license->issue_date?->format('d M Y') }}
Expiry Date{{ $license->expiry_date?->format('d M Y') ?? 'Lifetime' }}
Max Users{{ $license->max_users }}
Max Servers{{ $license->max_servers }}
Last Verified{{ $license->last_verified_at?->diffForHumans() ?? 'Never' }}
Allowed Modules
@if($license->allowed_modules)
@foreach($license->allowed_modules as $module) {{ strtoupper($module) }} @endforeach
@else

No modules assigned.

@endif
Registered Servers ({{ $license->servers->count() }}/{{ $license->max_servers }})
@if($license->servers->count())
@foreach($license->servers as $server) @endforeach
HostnameIPFingerprintLast ValidatedStatusAction
{{ $server->hostname }} {{ $server->ip_address }} {{ substr($server->server_fingerprint, 0, 16) }}... {{ $server->last_validation?->diffForHumans() ?? 'Never' }} {{ ucfirst($server->status) }} @if($server->status === 'active')
@csrf
@else
@csrf
@endif
@else

No servers registered yet. The first API validation will auto-register the server.

@endif
Activity Log
@forelse($license->logs->sortByDesc('created_at') as $log)
{{ ucfirst($log->action) }}
{{ $log->description }}
{{ $log->created_at?->format('d M Y H:i') }} • {{ $log->created_by }}
@empty

No activity recorded.

@endforelse
@endsection