@if($complianceGroup->complianceTypes->count() > 0)
@foreach($complianceGroup->complianceTypes as $type)
@php
$stats = $moduleStats[$type->id] ?? ['pending' => 0, 'filed' => 0];
$isPending = $stats['pending'] > 0;
@endphp
@if($type->code === 'ADT1')
@endif
@if($isPending)
{{ $stats['pending'] }} Pending
@else
@endif
{{ $type->name }}
Manage appointments & filings
Total: {{ $stats['filed'] + $stats['pending'] }}
Open
@endforeach
No compliance types found for this group.