@foreach([
['Office Admin', 'office_admin', 'Full system access — all modules, settings, user management', 'red', 'key'],
['Project Manager', 'project_manager', 'All modules except user management', 'purple', 'briefcase'],
['Sales Consultant', 'sales_consultant', 'Leads, quotes, contacts, calendar, contracts', 'blue', 'handshake'],
['Lead Installer', 'lead_installer', 'Delivery, installation, completion, jobs (read)', 'green', 'tools'],
['Check Measurer', 'check_measurer', 'Check measure, calendar, jobs (read)', 'orange', 'ruler-combined'],
['Factory Employee', 'factory_employee', 'Timesheet, timer, invoices, jobs (read)', 'teal', 'hard-hat'],
['Processor', 'processor', 'Timesheet, timer, invoices, processing (read)', 'indigo', 'industry'],
['Trades', 'trades', 'Timesheet, timer, invoices, jobs (read)', 'yellow', 'wrench'],
['Accounts', 'accounts', 'Invoices approval, contracts, reports', 'pink', 'calculator'],
['Estimator', 'estimator', 'Quotes, jobs and contacts (read)', 'gray', 'calculator'],
['Designer', 'designer', 'Jobs and contacts (read), calendar', 'blue', 'drafting-compass'],
['Maintenance', 'maintenance', 'Timesheet, timer, jobs (read)', 'orange', 'screwdriver-wrench'],
['Purchasing Officer','purchasing', 'Processing orders, contacts, jobs (read)', 'green', 'shopping-cart'],
] as [$name, $key, $desc, $color, $icon])
{{ $name }}
{{ $users->where('role.name', $key)->count() }} user(s)
{{ $desc }}
@endforeach