@extends('layouts.admin') @section('title', 'License Details: ' . $license->license_key) @section('header_title', 'License Details: ' . Str::limit($license->license_key, 40)) @section('content')
← Back to Licenses

License Key:

{{ $license->license_key }}

Script:

{{ $license->managedScript->name ?? 'N/A' }}

Type:

{{ ucfirst($license->type) }}

Customer:

{{ $license->customer_name ?: ($license->customer_email ?: 'N/A') }}

@if($license->customer_name && $license->customer_email)

{{ $license->customer_email }}

@endif
@if($license->type === 'codecanyon')

Purchase Code:

{{ $license->purchase_code ?: 'N/A' }}

@if(isset($license->metadata['envato_license_type']))

Envato License:

{{ $license->metadata['envato_license_type'] }}

@endif @endif

Status:

{{ ucfirst($license->status) }}

Activations:

{{ $license->current_activations }} / {{ $license->activation_limit == 0 ? 'Unlimited' : $license->activation_limit }}

Expires At:

{{ $license->expires_at ? $license->expires_at->format('M d, Y H:i') : 'Never' }}

Support Until:

{{ $license->supported_until ? $license->supported_until->format('M d, Y') : 'N/A' }}

@if($license->metadata)

Metadata:

{{ json_encode($license->metadata, JSON_PRETTY_PRINT) }}
@endif
{{-- Adjusted margin and removed unnecessary col-span --}}

Activated Domains:

@php $activeDomains = $license->getActiveDomains(); @endphp @if($activeDomains->isNotEmpty())
    @foreach($activeDomains as $domain)
  • {{ $domain }}
  • @endforeach
@else

No domains currently activated with this license.

@endif

Activation Logs

@forelse ($license->activationLogs as $log) @empty @endforelse
Domain IP Address Status Message Date
{{ $log->activated_domain ?: '-' }} {{ $log->ip_address ?: '-' }} {{ ucfirst(str_replace('_', ' ', $log->status)) }} {{ Str::limit($log->message, 50) ?: '-' }} {{ $log->activated_at->format('M d, Y H:i') }}
No activation logs found for this license.
@endsection