@use('App\Modules\Catalog\Models\Product') @if (auth()->user()->sellerStore?->isEbc()) Add EBC product@endif
! $status, 'btn-light' => $status])>All {{ $counts->sum() }} @foreach (Product::STATUSES as $key => [$label]) $status === $key, 'btn-light' => $status !== $key])>{{ $label }} {{ $counts[$key] ?? 0 }} @endforeach
@if ($status)@endif @if ($owner)@endif
@if ($products->isEmpty()) @else
@foreach ($products as $p) @endforeach
ProductSold byPriceStockStatusUpdated
@if ($p->image())@endif
{{ $p->name }} @if ($p->is_featured)@endif @if ($p->is_deal)@endif
{{ $categories[$p->category]['name'] ?? $p->category }}
@if ($p->store?->isEbc())EBC own@elseSeller
{{ $p->store?->name }}
@endif @if ($p->store && $p->store->status !== 'approved')
Store {{ $p->store->status }}
@endif
{{ inr($p->price) }} {{ $p->stock }} {{ $p->statusLabel() }} {{ ($p->status === 'pending' ? $p->submitted_at : $p->updated_at)?->diffForHumans() }}
@if ($products->hasPages())@endif @endif