@section('page-title') {{ __('Generators') }} @endsection @section('breadcrumbs') @endsection
@if($items->count() > 0) @foreach($items as $item) @endforeach @else @endif
{{ __('ID') }} {{ __('Product') }} {{ __('Method') }} {{ __('Configuration') }} {{ __('Prefix') }} {{ __('Suffix') }} {{ __('Activation Limit') }} {{ __('Validity (days)') }} {{ __('Status') }} {{ __('Created') }} {{ __('Action') }} {{ __('Generate') }}

{{ $item->id }}

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

{{ $methods[ $item->method ]['text'] }} @if($item->method == 'uuid') {{ __('UUID') }} @elseif($item->method == 'chunk-system') {{ sprintf(__('%d chunks, %d characters long using the charset: %s'), $item->number_of_chunks, $item->chunk_length, $item->charset) }} @elseif($item->method == 'custom') {{ __('Custom Function') }}: {{ $item->function_name }} @endif {{ $item->prefix }} {{ $item->suffix }} {{ $item->activation_limit }} {{ $item->validity > 0 ? $item->validity : __("Doesn't Expire") }} @if($item->status) {{ __('Active') }} @else {{ __('Inactive') }} @endif {{ formatDatetime($item->created_at) }}

{{ __('No generators found') }}

{{ $items->links() }}
@include('livewire.generators.generator-done') @include('livewire.generators.modal-add-item') @include('livewire.generators.modal-update-item') @include('common.modal-delete-item', ['name' => 'generator']) @include('common.confirm-bulk-action')
@push('scripts') @endpush