@section('page-title') {{ __('Products') }} @endsection @section('breadcrumbs') @endsection
@if($products->count() > 0) @foreach($products as $item) @endforeach @else @endif
{{ __('ID') }} {{ __('Name') }} {{ __('Source') }} {{ __('External Reference') }} {{ __('Description') }} {{ __('Require Non-expired') }} {{ __('Status') }} {{ __('Created') }} {{ __('Action') }}

{{ $item->id }}

{{ $item->name }}

@if($item->source == 'internal') {{ __('Internal') }} @elseif($item->source == 'envato') {{ __('Envato Market') }} @endif

{{ trim($item->external_reference) == '' ? '-' : $item->external_reference }}

{{ $item->description }}

@if($item->require_non_expired) {{ __('On') }} @else {{ __('Off') }} @endif

@if($item->status == 'active') {{ __('Active') }} @else {{ __('Inactive') }} @endif {{ formatDatetime($item->created_at) }}

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

{{ $products->links() }}
@include('livewire.products.modal-add-item') @include('common.modal-delete-item', [ 'name' => 'product', 'warning' => __('Deleting a product will make all its license keys unusable.') ]) @include('livewire.products.modal-update-item') @include('common.confirm-bulk-action')