@php $recommendations = $securityDashboard['recommendations'] ?? []; @endphp @if(count($recommendations) > 0)

Recommendations

@foreach($recommendations as $tip) @php $severity = $tip['severity'] ?? 'info'; $badge = match ($severity) { 'warning' => 'warning', 'critical', 'danger' => 'danger', default => 'info', }; @endphp @endforeach
Suggestion Severity Impact Action
{{ $tip['title'] ?? '' }} {{ $severity }} +{{ (int) ($tip['impact'] ?? 0) }} pts @if(!empty($tip['action'])) Review @endif
@endif