{{-- License Status Overview --}}
License Status @if ($licenseInfo && isset($licenseInfo["validated_at"])) Last validated: {{ \Carbon\Carbon::parse($licenseInfo["validated_at"])->diffForHumans() }} @endif
{{-- License Status Card --}}
@if ($licenseActive && ! $licenseExpired) @elseif ($licenseExpired) @else @endif

Status

@if ($licenseActive && ! $licenseExpired) Active @elseif ($licenseExpired) Expired @else Inactive @endif

@if ($licenseInfo && isset($licenseInfo["license_type"]))

{{ str_replace("_", " ", $licenseInfo["license_type"]) }}

@endif
{{-- Customer Info Card --}} @if ($licenseInfo && isset($licenseInfo["customer_name"]))

Licensed To

{{ $licenseInfo["customer_name"] }}

@if (isset($licenseInfo["customer_email"]))

{{ $licenseInfo["customer_email"] }}

@endif
@endif {{-- Expiration Card --}} @if ($licenseInfo && isset($licenseInfo["expires_at"]))
@if ($licenseExpired) @else @php $daysUntilExpiry = \Carbon\Carbon::parse( $licenseInfo["expires_at"], )->diffInDays(now()); $isExpiringSoon = $daysUntilExpiry <= 30; @endphp @endif

{{ $licenseExpired ? "Expired" : "Expires" }}

{{ \Carbon\Carbon::parse($licenseInfo["expires_at"])->format("M j, Y") }}

{{ \Carbon\Carbon::parse($licenseInfo["expires_at"])->diffForHumans() }}

@endif {{-- Never Expires Card --}} @if ($licenseInfo && (! isset($licenseInfo["expires_at"]) || ! $licenseInfo["expires_at"]))

Expiration

Never Expires

Lifetime License

@endif
{{-- No License Found --}} @if (! $licenseActive && ! $licenseInfo && ! $validatingLicense)

No License Found

Please validate your license to activate this software and access all features.

Enter your license key using the "Validate License" button above
Contact support if you need assistance
@endif {{-- License Expired Warning --}} @if ($licenseExpired && $licenseInfo)
License Expired

Your License Has Expired

Your license expired on {{ \Carbon\Carbon::parse($licenseInfo["expires_at"])->format("M j, Y") }}. Please renew your license to continue using this software.

⚠️ Some features may be disabled until your license is renewed

@endif {{-- Domain Information --}} @if ($licenseInfo && isset($licenseInfo["allowed_domains"])) Domain Authorization
@if (is_null($licenseInfo["max_domains"]))

Unlimited Authorized Domains

This license allows access from any domain without restrictions.

@else

Authorized Domains

@foreach ($licenseInfo["allowed_domains"] as $domain) @php $isCurrentDomain = $domain === request()->getHost(); @endphp
@if ($isCurrentDomain) @else @endif

{{ $domain }}

@if ($isCurrentDomain)

Current Domain

@endif
@endforeach
@endif
@endif {{-- API Domains Section --}} @if ($licenseInfo && isset($licenseInfo["allowed_api_domains"])) API Access Domains
@if (is_null($licenseInfo["max_api_domains"]))

Unlimited API Access

This license allows API access from any domain without restrictions.

@else

Authorized API Domains

Domains authorized to make API calls to this panel

@foreach ($licenseInfo["allowed_api_domains"] as $domain) @php $isCurrentDomain = $domain === request()->getHost(); @endphp
@if ($isCurrentDomain) @else @endif

{{ $domain }}

@if ($isCurrentDomain)

Current API Domain

@endif
@endforeach
@endif
@endif {{-- Addons Section --}} @if ($addons && count($addons) > 0) Available Addons
@foreach ($addons as $addon)

{{ $addon["name"] ?? $addon["slug"] }}

@endforeach
@endif {{-- License Details --}} @if ($licenseInfo) License Information
{{-- License Key --}}
License Key

{{ isset($licenseInfo["license_key"]) ? substr($licenseInfo["license_key"], 0, 8) . "..." . substr($licenseInfo["license_key"], -4) : "Hidden" }}

{{-- License Type --}} @if (isset($licenseInfo["license_type"]))
License Type

{{ str_replace("_", " ", $licenseInfo["license_type"]) }}

@endif {{-- Validation Method --}} @if (isset($licenseInfo["validation_method"]))
Last Validation

{{ $licenseInfo["validation_method"] }}

@endif {{-- Offline Usage Count --}} @if (isset($licenseInfo["offline_usage_count"]) && $licenseInfo["offline_usage_count"] > 0)
Offline Usage

{{ $licenseInfo["offline_usage_count"] }}/10 times

@endif
@endif