@php $listingMode = $listingMode ?? 'hub'; $rowClass = 'report-mec-listing-row'; $assessmentFirst = in_array($listingMode, ['published', 'in-processing', 'review-approval'], true); $workflowStatusLast = in_array($listingMode, ['in-processing', 'review-approval', 'hub'], true); @endphp
| {{ __('Status') }} | @endif{{ __('Region') }} | {{ __('Report Type') }} | {{ __('Initiating Officer') }} | {{ __('ADP') }} | {{ __('UID') }} | {{ __('Scheme Name') }} | {{ __('Cost') }} | {{ __('Location') }} | {{ __('Department') }} | {{ __('EA') }} | {{ __('Visit Date') }} | @if ($workflowStatusLast){{ __('Status') }} | @endif{{ $listingMode === 'published' ? __('Publish date') : __('Last Action') }} | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @include('reports.partials.mec-listing-status-badges', [ 'report' => $r, 'listingMode' => $listingMode, 'showVerdict' => true, ]) | @endif{{ $row['region'] }} | @if (($row['report_type'] ?? '—') !== '—') {{ $row['report_type'] }} @else — @endif | {{ $row['initiating_officer'] }} | {{ $row['adp_number'] }} | {{ $row['scheme_uid'] }} | {{ $row['scheme_name_truncated'] }} | {{ $row['cost_label'] }} | {{ $row['location'] }} | {{ $row['department'] }} | {{ $row['executing_agency'] }} | {{ $row['visit_date_text'] }} | @if ($workflowStatusLast)@include('reports.partials.mec-listing-status-badges', [ 'report' => $r, 'listingMode' => $listingMode, 'showVerdict' => false, ]) | @endif @if ($listingMode === 'published'){{ $row['published_date_text'] }} | @else{{ $row['last_action_text'] }} | @endif