@php $reviewed = $totalItems - $toReview; // confirmed + dismissed $pct = $totalItems > 0 ? round($reviewed / $totalItems * 100) : 0; $canExport = $confirmed > 0; // export lists confirmed findings only @endphp
Evidence Review
Grouped by DSAR recipient and DSAR, plus any direct uploads.
@if($toReview > 0 && $reviewUrl) {{-- Work remaining: Review is primary, Export secondary. --}} @if($canExport) Export summary @else @endif Review {{ $toReview }} finding{{ $toReview === 1 ? '' : 's' }} @else {{-- Nothing left to review: show completion status + make Export primary. --}} @if($totalItems > 0) Review complete @endif @if($canExport) Export summary @elseif($totalItems > 0) @endif @endif
@if($totalItems === 0 && $productiveFiles === 0 && $excludedFiles === 0)

No evidence yet.

Evidence is extracted from DSAR response attachments and uploaded documents.
@else @include('components.client.partials.evidence-summary-strip', [ 'totalItems' => $totalItems, 'confirmed' => $confirmed, 'toReview' => $toReview, 'dismissed' => $dismissed, 'reviewed' => $reviewed, 'pct' => $pct, ]) @include('components.client.partials.evidence-review-body') @endif