@php if(isset($licenseInfo['activation'])) { if(!auth()->check()){ $pageConfigs = ['myLayout' => 'blank', 'displayCustomizer' => false]; } } else { $pageConfigs = ['myLayout' => 'blank', 'displayCustomizer' => false]; } @endphp @extends('layouts/layoutMaster') @section('title', __('Activation')) @section('page-script') @endsection @section('content')
@if(isset($licenseInfo['activation']))

{{ __('Activation Details') }}

@if(!env('APP_DEMO'))

{{ __('Activation Code') }}

{{ $licenseInfo['activation']['activation_code'] }}

@endif

{{ __('Licensed To') }}

{{ ucfirst($licenseInfo['activation']['email']) }}

{{ __('Activation Type') }}

{{ ucfirst($licenseInfo['activation']['activation_type']) }}

{{ __('Domain') }}

{{ $licenseInfo['activation']['domain'] }}

{{ __('Status') }}

{{ ucfirst($licenseInfo['activation']['status']) }}

{{ __('Activated At') }}

{{ \Carbon\Carbon::parse($licenseInfo['activation']['created_at'])->format('Y-m-d H:i') }}

@else @php $cacheKey = 'license_validity_' . config('app.url'); \Illuminate\Support\Facades\Cache::store('file')->forget($cacheKey); @endphp @if(isset($licenseInfo) && $licenseInfo['code'] == 'inactive')

{{ __('Activation Disabled') }}

{{ __('Activation is disabled for this domain.') }}

{{ __('Please contact support to enable activation for more info.') }}

@else

{{ __('Activation Pending') }}

{{ __('Your copy of :name is not activated.', ['name' => config('variables.templateName')]) }}

{{ __('Please enter your purchase code to activate.') }}

@csrf

{{ __('Fill these fields if you are activating with an Envato license.') }}
{{-- Optionally, you may include a hidden field for activation type if you want to switch between live and localhost --}}
@endif
@endif
@endsection