@extends(decide_template()) @section('title', $pageTitle) @section('page_styles') @endsection @section('page_scripts') @endsection @section(decide_content()) @if((isset($whmcs_status) && $whmcs_status != 'Active' && $whmcs_status != 'Invalid'))
@if(config('app.type') == 'saas') {{trans('licensing.alert_message.license_not_working')}} @else {!!trans('licensing.alert_message.license_not_working')!!} @endif @lang('licensing.view.button.client_area')
@endif @if((isset($whmcs_status) && $whmcs_status == 'Invalid'))
@lang('licensing.alert_message.license_invalid') @lang('licensing.view.button.client_area')
@endif @if($licenseType != "selfhosted")

{{trans('licensing.view.widget_heading')}}

{{trans('licensing.view.table_heading.licensed_to')}}: {{$_SERVER['SERVER_ADDR']}} ({{ isset($host_name) ? ($host_name) : '' }})

@endif @if($licenseType == "selfhosted")

{{trans('licensing.view.widget_heading')}}

@endif
@if(config('app.type') == "selfhosted") @endif @if(isset($license_attributes->package)) @else @endif @if(isset($license_attributes->productname)) @if($licenseType == "selfhosted") @endif @endif @if(isset($license_attributes->regdate)) @endif @if(isset($license_attributes->nextduedate)) @endif
{{trans('common.label.status')}}: {{trans('common.label.refresh')}}
{{trans('licensing.view.table_heading.registeredto')}}: {{isset($license_attributes->registeredname) ? $license_attributes->registeredname : ''}}
{{trans('licensing.view.table_heading.license_type')}} {{ ucfirst(config('app.type')) }}
{{trans('licensing.view.table_heading.license_key')}}: {{$license_key}}
{{trans('licensing.view.table_heading.plan')}}:{{isset($license_attributes->package) ? $license_attributes->package : ''}} (Change Plan){{isset($license_attributes->productname) ? $license_attributes->productname : ''}} (Change Plan))
{{trans('licensing.view.table_heading.valid_domain')}}: {{$_SERVER['HTTP_HOST']}}
{{trans('licensing.view.table_heading.valid_ip')}}: {{$_SERVER['SERVER_ADDR']}}
{{trans('licensing.view.table_heading.valid_directory')}}: {{base_path()}}
{{trans('licensing.view.table_heading.addons')}}:
    @if(!empty($whmcs_addons) && isset($whmcs_addons)) @if(!$selfhosted && 0) @foreach($whmcs_addons as $addon) @if(!empty($addon['status']) && ($addon['status'] == 'Active'))
  • {{$addon['name']}}
  • @else @if(!empty($addon['name']))
  • {{$addon['name']}} ({{$addon['status']}})
  • @endif @endif @endforeach @else @foreach($whmcs_addons as $addon) @if(!empty($addon) && ($addon['status'] == 'Active'))
  • {{html_entity_decode($addon['name'],ENT_NOQUOTES)}}
  • @else @if(!empty($addon))
  • {{html_entity_decode($addon['name'],ENT_NOQUOTES)}}
  • @endif @endif @endforeach @endif @endif
{{trans('licensing.view.table_heading.created')}}: {{Carbon\Carbon::parse($license_attributes->regdate)->format('Y-m-d') }}
{{trans('licensing.view.table_heading.expires')}}: @if($license_attributes->nextduedate != "0000-00-00") {{ Carbon\Carbon::parse($license_attributes->nextduedate)->format('Y-m-d') }} @else {{trans('licensing.view.table_heading.no_expiry')}} @endif
@endsection