@php
$moduleLabels = [
'accounts' => 'Chart of Accounts',
'vouchers' => 'Accounting Vouchers',
'ar' => 'Accounts Receivable (AR)',
'ap' => 'Accounts Payable (AP)',
'inventory' => 'Inventory',
'manufacturing' => 'Manufacturing',
'reports' => 'Reports',
'settings' => 'Settings',
'users' => 'Users & Roles',
'audit' => 'Audit Trail',
'budget' => 'Budget',
'banking' => 'Banking',
];
@endphp
@foreach($permissions as $module => $modulePerms)
{{ $moduleLabels[$module] ?? ucfirst($module) }}
@foreach($modulePerms as $perm)
@endforeach
@endforeach