@extends('admin.layouts.grid') @section('title', translate('Items')) @section('container', 'container-max-xxl') @section('content')

{{ translate('Videos') }}

{{ number_format($counters['videos']) }}

{{ translate('Audios') }}

{{ number_format($counters['audios']) }}

{{ translate('Others') }}

{{ number_format($counters['others']) }}

@if ($items->count() > 0)
@foreach ($items as $item) @endforeach
{{ translate('ID') }} {{ translate('Details') }} {{ translate('Licenses Price') }} {{ translate('Published Date') }} {{ translate('Last Update') }} {{ translate('Action') }}
{{ $item->id }}
{{ $item->name }}
{{ $item->name }} @if ($item->isFeatured() || $item->isPremium())
@if ($item->isFeatured()) {{ translate('Featured') }} @endif @if (licenseType(2) && @$settings->premium->status && $item->isPremium()) {{ translate('Premium') }} @endif
@endif
@if ($item->isFree())
{{ translate('Free') }}
--
@else
@if ($item->isOnDiscount()) {{ getAmount($item->getRegularPrice(), 0, '.', '') }} {{ getAmount($item->price->regular, 0, '.', '') }} @else {{ getAmount($item->getRegularPrice(), 0, '.', '') }} @endif
@endif
{{ dateFormat($item->created_at) }} {{ $item->last_update_at ? dateFormat($item->last_update_at) : '--' }}
@else @include('admin.partials.empty', ['empty_classes' => 'empty-lg']) @endif
{{ $items->links() }} @push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection