Ranking

@if($rankOfUnit) {{ $threat->threat_name}}(Rank #{{ $rankOfUnit }}) @endif

@foreach(($unitRanking->take(20) ?? []) as $item) @endforeach
# Threat ID Threat Unit MTO Score
{{ $loop->iteration }} {{ $item->threat_id }} {{ $item->threat_name }} {{ $item->unit_name ?? '' }} {{ currency_format($item->mto_score) }}
@foreach(($subUnitRanking->take(20) ?? []) as $item) @endforeach
# Threat ID Threat Sub Unit MTO Score
{{ $loop->iteration }} {{ $item->threat_id }} {{ $item->threat_name }} {{ $item->sub_unit ?? '' }} {{ currency_format($item->mto_score) }}
@foreach(($siteRanking->take(20) ?? []) as $item) @endforeach
# Threat ID Threat Unit MTO Score
{{ $loop->iteration }} {{ $item->threat_id }} {{ $item->threat_name }} {{ $item->unit_name ?? '' }} {{ currency_format($item->mto_score) }}
@push('js') @endpush