@extends('layouts.admin') @section('title', 'Listing Moderation') @section('content') {{-- The queue opens on what needs a decision, not on everything. --}}
@if (request()->hasAny(['q'])) Clear @endif

{{ $listings->total() }} {{ Str::plural('listing', $listings->total()) }}

$currentStatus === '', 'pill-idle' => $currentStatus !== ''])> Awaiting review {{ ($counts['submitted'] ?? 0) + ($counts['under_review'] ?? 0) }} $currentStatus === 'all', 'pill-idle' => $currentStatus !== 'all'])> All {{ $counts->sum() }} @foreach ($statuses as $value => $label) @continue(! $counts->has($value)) $currentStatus === $value, 'pill-idle' => $currentStatus !== $value])> {{ $label }} {{ $counts[$value] }} @endforeach
@if ($listings->isEmpty()) @else
@foreach ($listings as $listing) @endforeach
Listing Seller Category Submitted Status Actions
{{ $listing->title }} {{ $listing->reference }} · {{ $listing->formattedPrice() }} {{ $listing->seller?->display_name ?? $listing->user->name }} {{ $listing->user->email }} {{ $listing->category?->name }} {{ $listing->created_at->format('d M Y') }} {{ $listing->status->label() }} Review
{{ $listings->links() }}
@endif @endsection