@php $proofReviewAlpineConfig = [ 'proofsBase' => url('/proofs'), 'filterSalesman' => $selectedSalesmanStr ?? '', 'filterMonth' => (string) (int) ($selectedMonth ?? now()->format('n')), 'filterYear' => (string) (int) ($selectedYear ?? now()->format('Y')), 'filterStatus' => $selectedStatusStr ?? 'pending', ]; @endphp {{ __('Proof Review') }}

{{ number_format(count($proofs ?? [])) }} proof(s)

@forelse (($proofs ?? []) as $proof) @php $proofLabel = trim($proof->title.' · '.optional($proof->proof_date)->format('Y-m-d')); @endphp @empty @endforelse
Date Type Submitted By Title Status Description URL Evidence File Start Time End Time Reviewed At Review Notes
{{ optional($proof->proof_date)->format('Y-m-d') ?? $proof->proof_date }} {{ $proof->proofTypeLabel() }} {{ $proof->submittedByName() }} {{ $proof->title }} {{ $proof->statusLabel() }}
{{ $proof->description ?? '—' }}
@if ($proof->url) {{ $proof->url }} @else @endif @php $proofFilePaths = $proof->storedFilePaths(); @endphp @if ($proofFilePaths !== [])
@foreach ($proofFilePaths as $fileIndex => $filePath) File {{ $fileIndex + 1 }} @endforeach
@else @endif
{{ $proof->calendar_start ? $proof->calendar_start->format('Y-m-d H:i') : '—' }} {{ $proof->calendar_end ? $proof->calendar_end->format('Y-m-d H:i') : '—' }} {{ $proof->reviewed_at ? $proof->reviewed_at->format('Y-m-d H:i') : '—' }} @if ($proof->isPending()) @else
{{ $proof->review_notes ?? '—' }}
@endif
No proofs match these filters.