@extends('theme::layouts.app', ['title' => $pageHeader['title'] ?? __('account.My Licenses')]) @section('content')
{{-- Account Navigation Sidebar --}} @include('theme::partials.account.nav') {{-- Main Content --}}
@if(isset($pageHeader))

{{ $pageHeader['title'] }}

{{ $pageHeader['subtitle'] }}

@endif
@forelse($licenses as $license) @empty @endforelse
{{ __('account.License Key') }} {{ __('account.Product') }} {{ __('account.Expiry Date') }} {{ __('account.Status') }} {{ __('account.Action') }}
{{ $license->license_key }}
{!! $license->product_name ?? 'Unknown Product' !!} {{ $license->expiry_date ? \Carbon\Carbon::parse($license->expiry_date)->format('M d, Y') : __('account.Lifetime') }} @if (is_null($license->expiry_date) || $license->expiry_date > now()) @if($license->is_revoked) {{ __('account.Revoked') }} @else {{ __('account.Active') }} @endif @else {{ __('account.Expired') }} @endif settings {{ __('account.Manage') }}
key_off

{{ __('account.No licenses found.') }}

{{ __('account.When you purchase products with licenses, they will appear here.') }}

@if($licenses->hasPages())
{{ $licenses->links('theme::vendor.pagination.tailwind') }}
@endif
@endsection