@php $surface = is_array($surface ?? null) ? $surface : []; $coreState = is_string($surface['coreState'] ?? null) ? (string) $surface['coreState'] : 'unavailable'; $redactionNotes = is_array($redactionNotes ?? null) ? array_values(array_filter($redactionNotes, 'is_string')) : []; $canAcknowledge = (bool) ($canAcknowledge ?? false); $ackAction = $ackAction ?? null; $showAssist = (bool) ($showAssist ?? false); $assistActionName = is_string($assistActionName ?? null) && trim((string) $assistActionName) !== '' ? trim((string) $assistActionName) : 'wizardVerificationRequiredPermissionsAssist'; $linkBehavior = $linkBehavior ?? app(\App\Support\Verification\VerificationLinkBehavior::class); $emptyState = is_array($surface['emptyState'] ?? null) ? $surface['emptyState'] : null; @endphp
@if ($coreState === 'unavailable')
{{ $emptyState['title'] ?? 'Verification report unavailable' }}
{{ $emptyState['message'] ?? 'This operation does not have a report yet.' }}
Read-only: this view uses stored data and makes no external calls.
@if ($redactionNotes !== [])
@foreach ($redactionNotes as $note)
{{ $note }}
@endforeach
@endif
@else @include('filament.components.verification-report.summary', [ 'surface' => $surface, 'redactionNotes' => $redactionNotes, ])
Issues Passed
@include('filament.components.verification-report.issues', [ 'surface' => $surface, 'canAcknowledge' => $canAcknowledge, 'ackAction' => $ackAction, 'showAssist' => $showAssist, 'assistActionName' => $assistActionName, 'linkBehavior' => $linkBehavior, ])
@include('filament.components.verification-report.passed', [ 'surface' => $surface, ])
@include('filament.components.verification-report.diagnostics', [ 'surface' => $surface, ]) @endif