@php $kindMeta = [ '' => ['label' => __('Everything'), 'icon' => 'queue-list'], 'image' => ['label' => __('Photos'), 'icon' => 'photo'], 'video' => ['label' => __('Video'), 'icon' => 'video-camera'], 'audio' => ['label' => __('Voice'), 'icon' => 'microphone'], ]; $metrics = [ ['label' => __('In the showcase'), 'value' => number_format($stats['total']), 'icon' => 'camera', 'accent' => '#2a5786', 'sub' => __('photos and clips')], ['label' => __('Jobs covered'), 'value' => number_format($stats['jobs']), 'icon' => 'briefcase', 'accent' => '#0ea5e9', 'sub' => __('with something shot')], ['label' => __('Video'), 'value' => number_format($stats['videos']), 'icon' => 'video-camera', 'accent' => '#7c3aed', 'sub' => __('clips ready to cut')], ['label' => __('Unconfirmed'), 'value' => number_format($stats['unconfirmed']), 'icon' => 'question-mark-circle', 'accent' => '#c39312', 'sub' => __('nobody asked the client')], ]; @endphp
{{-- KPI cards --}}
@foreach ($metrics as $m)

{{ $m['label'] }}

{{ $m['value'] }}

{{ $m['sub'] }}
@endforeach
{{-- Filters --}}
@foreach ($kindMeta as $key => $meta) @endforeach
@if ($search !== '' || $categoryFilter || $kindFilter !== '' || $consentFilter !== '' || $monthFilter !== '') @endif
@if ($consentFilter === 'declined')

{{ __('These customers asked us not to show their work. They are here so the record can be checked, not so it can be posted.') }}

@endif
{{-- The gallery --}} @if ($media->isEmpty()) @else
@foreach ($media as $file) @php $job = $file->job; @endphp
{{ $job->title ?: $job->job_number }}

{{ $job->customer?->name ?: __('No customer') }} @if ($job->category) · {{ $job->category->name }} @endif

@if ($job->showcase_consent === false) {{ __('Do not show') }} @elseif ($job->showcase_consent === null) {{ __('Consent not asked') }} @else {{ __('Cleared') }} @endif
@endforeach
{{ $media->links() }}
@endif