@extends('admin.layouts.app') @section('title', $complianceGroup->name) @section('content')

{{ $complianceGroup->name }}

Manage compliance types under {{ $complianceGroup->code }}

← Dashboard
@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
@else

No compliance types found for this group.

@endif
@endsection