@if(count($groupedData) > 0) @foreach($groupedData as $group)
{{ strtoupper($group['subcategory_name']) }}
{{ $group['asset_count'] }}
▶
@if($group['asset_count'] > 0)
@foreach($group['assets'] as $asset)
{{ $asset->name ?? 'Unnamed Asset' }} @if($asset->rfc) -
{{ $asset->rfc }}
@endif
@endforeach
@else
No {{ strtolower($group['subcategory_name']) }} assets available
@endif
@endforeach @else
No available assets found for this facility.
@endif
@if (!empty($sub_location->images)) {!! $sub_location->fileShow('images') !!} @endif