@if($canViewFull && ($insights['external_access_count'] ?? 0) > 0) @endif
@if(empty($issues)) @else

{{ count($issues) }} item(s) may affect requisition routing or org clarity.

@foreach($issues as $issue)
{{ $issue['message'] }}
@if(!empty($issue['user_id'])) @endif @if($canManage && ($issue['type'] ?? '') === 'no_hod' && !empty($issue['department_id'])) @endif @if($canManage && in_array($issue['type'] ?? '', ['no_manager', 'no_department', 'no_hod_approver'], true) && !empty($issue['user_id'])) @endif
@endforeach
@endif