@section('page-title') {{ __('License Keys') }} @endsection @section('breadcrumbs') @endsection
@if($licenseKeys->count() > 0) @foreach($licenseKeys as $licenseKey) @endforeach @else @endif
{{ __('ID') }} {{ __('License Key') }} {{ __('Owner Name') }} {{ __('Email') }} {{ __('Product') }} {{ __('Activation Limit') }} {{ __('Creation Date') }} {{ __('Assign Date') }} {{ __('Expiration Date') }} {{ __('Status') }} {{ __('Action') }}

{{ $licenseKey->id }}

{{ $licenseKey->license_key }}

{{ $licenseKey->owner_name != '' ? $licenseKey->owner_name : '-' }}

{{ $licenseKey->owner_email != '' ? $licenseKey->owner_email : '-' }}

@if(isset($licenseKey->product)) #{{ $licenseKey->product_id }} {{ $licenseKey->product->name }} @else {{ sprintf( __( 'Product Not Found #%d' ), $licenseKey->product_id ) }} @endif

{{ $licenseKey->activation_limit ? $licenseKey->activation_limit : '-' }}

{{ formatDatetime($licenseKey->created_at) }} {{ $licenseKey->assigned_at ? formatDatetime($licenseKey->assigned_at) : '-' }} {{ $licenseKey->getExpiration() ? formatDatetime($licenseKey->getExpiration()) : '-' }} {{ $statuses[ $licenseKey->status ]['text'] }}

{{ __('No license keys found') }}

{{ $licenseKeys->links() }}
@include('livewire.license-keys.modal-import-items') @include('livewire.license-keys.modal-add-item') @include('common.modal-delete-item', [ 'name' => 'license key', 'warning' => __('All the activations and metadata associated with this license key will be deleted too.') ]) @include('livewire.license-keys.modal-update-item') @include('common.confirm-bulk-action')
@push('scripts') @endpush