@extends('admin.layouts.app') @section('panel')
@forelse($products as $product) @empty @endforelse
@lang('Product | Upload Date') @lang('Author') @lang('Category') @lang('Price/Commercial Price') @lang('Status') @lang('Rating') @lang('Action')
@lang('Product Image')
{{ __(strLimit($product->title, 20)) }}
{{ showDateTime($product->created_at) }}
{{ __(@$product->author->fullname) }}
@{{ $product->author->username }}
{{ __(@$product->subCategory->name) }}
{{ __(@$product->category->name) }}
@if (!$product->is_free) {{ showAmount($product->price) }} / {{ showAmount($product->price_cl) }} @else @lang('Free') @endif @php echo $product->statusBadge @endphp @php echo displayRating($product->avg_rating) @endphp
@if ($product->isTrending()) @lang('Trending') @endif
@lang('Details')
{{ __($emptyMessage) }}
@if ($products->hasPages()) @endif
@endsection @push('script-lib') @endpush @push('style-lib') @endpush @push('script') @endpush