@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->isActive()) {{ $item->getStatusName() }} @else {{ $item->getStatusName() }} @endif
@if ($item->isFeatured())
{{ translate('Featured') }}
@endif @if (licenseType(2) && @$settings->premium->status && $item->isPremium())
{{ translate('Premium') }}
@endif
@if ($item->isFree())
{{ translate('Free') }}
--
@else
{{ translate('Regular') }}
@if ($item->isOnDiscount()) {{ getAmount($item->getRegularPrice()) }} {{ getAmount($item->price->regular) }} @else {{ getAmount($item->getRegularPrice()) }} @endif
@if ($item->hasExtendedLicense())
{{ translate('Extended') }}
@if ($item->isOnDiscount() && $item->isExtendedOnDiscount()) {{ getAmount($item->getExtendedPrice()) }} {{ getAmount($item->price->extended) }} @else {{ getAmount($item->getExtendedPrice()) }} @endif
@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