@php $activationService = app()->make(\App\Services\ActivationService\IActivationService::class); $licenseInfo = $activationService->getActivationInfo(); @endphp @extends('layouts/layoutMaster') @section('title', 'Activation') @section('content')
{{-- Activation Information Card --}}

Activation Information

@if(isset($licenseInfo['data']) && $licenseInfo['data']['status'] == 'Activated') Activated @else Not Activated @endif
{{-- Product Information Section --}} @if(isset($licenseInfo['data']))

Product Information

  • Product Name: {{ $licenseInfo['data']['product']['name'] }}
  • Version: {{ $licenseInfo['data']['product']['version'] }}
{{-- License Details Section --}}

License Details

  • Licensed To: {{ $licenseInfo['data']['licensedTo'] }}
  • Customer ID: {{ $licenseInfo['data']['customerId'] }}
  • Activation Date: {{ \Carbon\Carbon::parse($licenseInfo['data']['activationDate'])->format('Y-m-d H:i') }}
  • Expiry Date: @if($licenseInfo['data']['expiryDate']) {{ \Carbon\Carbon::parse($licenseInfo['data']['expiryDate'])->format('Y-m-d H:i') }} @else No Expiry @endif
@else

Activation pending

Activation information is not available. Please ensure the system is activated.

You're running an unlicensed copy of {{ config('variables.templateName') }}.

@csrf
{{-- Action Button --}}
@endif
@endsection