License Management

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@if($state === 'active') @elseif($state === 'expiring_soon') @elseif($state === 'suspended') @elseif($state === 'expired') @else @endif

@if($state === 'active') License Active & Valid @elseif($state === 'expiring_soon') Subscription Expiring Soon @elseif($state === 'suspended') Account Suspended @elseif($state === 'expired') Subscription Expired @else License Activation Required @endif

@if($state === 'active') Your system is fully operational with all features enabled @elseif($state === 'expiring_soon') Renew now to avoid service interruption ({{ $status['days_left'] }} days remaining) @elseif($state === 'suspended') Please contact support to restore access @elseif($state === 'expired') Renew your subscription to regain full access @else Enter a valid license key to unlock all features @endif

@if($subscription) Verify Status @endif
@if($subscription && $isValid)
Current Plan
{{ $status['plan_name'] }}
Enterprise features included
Valid Until
{{ $status['expires_at']->format('M d, Y') }}
{{ $status['expires_at']->format('l') }}
Days Remaining
{{ $status['days_left'] }}
{{ round($status['days_left'] / 30, 1) }} months left
@php $totalDays = now()->diffInDays($status['expires_at']->copy()->subDays($status['days_left'])); $percentage = $totalDays > 0 ? ($status['days_left'] / $totalDays) * 100 : 0; $colorClass = $status['days_left'] < 7 ? 'danger' : ($status['days_left'] < 30 ? 'warning' : 'success'); @endphp
{{ $status['days_left'] }} days {{ $totalDays }} days total
@if(!empty($status['features']))
Active Features
@foreach($status['features'] as $feature)
{{ $feature }}
@endforeach
@endif
License Information
Client ID
{{ $subscription->client_id }}
Registered Domain
{{ $subscription->domain }}
License Status
{{ ucfirst($subscription->status) }}
License Version
v{{ $subscription->license_version }}
@endif

@if($subscription) Renew or Upgrade @else Activate Your License @endif

Enter your client ID and license key to {{ $subscription ? 'renew your subscription' : 'unlock all features' }}

@csrf
@error('client_id') {{ $message }} @enderror Your unique client identifier
@error('license_key') {{ $message }} @enderror Format: XXXXX-XXXXX-XXXXX-XXXXX