@extends('layouts.admin') @section('title', 'License') @section('heading', 'License Detail') @section('content')
{{-- Left: details --}}
License Key
{{ $license->license_key }}
Customer
{{ $license->customer?->company_name }}
Package
{{ $license->package?->name }} ({{ $license->duration_days ?? '—' }} days)
Domain
{{ $license->domain?->domain ?? 'Not activated' }}
Current IP
{{ $license->domain?->current_ip ?? '—' }}
CMS Version
{{ $license->domain?->cms_version ?? '—' }}
Activated
{{ $license->activated_at?->toFormattedDateString() ?? '—' }}
Expires
{{ $license->expires_at?->toFormattedDateString() ?? '—' }}
Last Verification
{{ $license->domain?->last_verification_at?->diffForHumans() ?? '—' }}
@if ($license->notes)
{{ $license->notes }}
@endif
{{-- Audit log --}}
Audit Log
@forelse ($logs as $log)
{{ ucfirst(str_replace('_',' ', $log->event)) }} @if ($log->message)— {{ $log->message }}@endif
{{ $log->domain }} {{ $log->ip_address ? '· '.$log->ip_address : '' }}
{{ $log->created_at?->diffForHumans() }}
@empty
No events yet.
@endforelse
{{-- Right: actions --}}
Owner Actions
{{-- Renew --}}
@csrf
{{-- Extend --}}
@csrf
@if ($license->status !== 'suspended')
@csrf
@else
@csrf
@endif
@csrf
{{-- Instant sync: push the current status to the installation now. Status changes above already push automatically; this is the manual override. --}} @if ($license->domain)
@csrf

Last sync: {{ ucfirst($license->sync_status ?? 'never') }} @if ($license->last_synced_at) · {{ $license->last_synced_at->diffForHumans() }} @endif

@endif
← Back to licenses
@endsection