👋 Welcome, {{ $user->name ?? 'Admin' }}
Here’s a quick snapshot of your system overview.
Add New User
@php
$cards = [
['title' => 'Classrooms', 'count' => $totalClassrooms, 'desc' => 'Active classrooms', 'icon' => 'bi bi-door-closed', 'route' => route('classrooms.index')],
['title' => 'Trainees', 'count' => $totalStudents, 'desc' => 'Registered trainees', 'icon' => 'bi bi-people-fill', 'route' => route('admin.trainees.index')],
['title' => 'Senior Trainers', 'count' => $totalTrainers, 'desc' => 'Active trainers', 'icon' => 'bi bi-person-badge-fill', 'route' => route('trainers.index')],
['title' => 'Assistant Trainers', 'count' => $totalAssistantTrainers ?? 0, 'desc' => 'Supporting trainers', 'icon' => 'bi bi-person-plus', 'route' => route('assistant-trainers.index')],
['title' => 'Lead Trainers', 'count' => $totalLeadTrainers, 'desc' => 'Supervising trainers', 'icon' => 'bi bi-person-gear', 'route' => route('lead_trainers.index')],
['title' => 'Coordinators', 'count' => $totalCoordinators, 'desc' => 'Centre coordinators', 'icon' => 'bi bi-person-lines-fill', 'route' => route('centre_coordinators.index')],
['title' => 'MP Coordinators', 'count' => $totalMpCoordinators, 'desc' => 'MP coordinators', 'icon' => 'bi bi-person-badge', 'route' => route('mp_coordinators.index')],
['title' => 'ICT Agents', 'count' => $totalICTAgents, 'desc' => 'IT support agents', 'icon' => 'bi bi-pc-display', 'route' => route('ict_agents.index')],
['title' => 'Recce Agents', 'count' => $totalRecceAgents, 'desc' => 'Field recce agents', 'icon' => 'bi bi-binoculars-fill', 'route' => route('recce_agents.index')],
['title' => 'Cleaners', 'count' => $totalCleaners, 'desc' => 'Facility cleaners', 'icon' => 'bi bi-broom', 'route' => route('cleaners.index')],
['title' => 'Child Minders', 'count' => $totalChildMinders, 'desc' => 'Child minders at centers', 'icon' => 'bi bi-emoji-smile', 'route' => route('child_minders.index')],
['title' => 'Centers', 'count' => $totalCenters, 'desc' => 'Available training centers', 'icon' => 'bi bi-geo-alt-fill', 'route' => route('centers.index')],
['title' => 'Attendance', 'count' => $totalAttendances ?? 0, 'desc' => 'Track trainee attendance', 'icon' => 'bi bi-clipboard-check', 'route' => route('attendances.index')],
['title' => 'Reports', 'count' => '-', 'desc' => 'View analytics & summaries', 'icon' => 'bi bi-graph-up-arrow', 'route' => route('reports.index')],
['title' => 'Deputy Lead Trainers', 'count' => $totalDeputyLeadTrainers ?? 0, 'desc' => 'Assisting lead trainers', 'icon' => 'bi bi-person-check', 'route' => route('admin.deputy-lead-trainers.index')],
['title' => 'Master Trainers', 'count' => $totalMasterTrainers ?? 0, 'desc' => 'Expert trainers', 'icon' => 'bi bi-person-badge', 'route' => route('admin.master-trainers.index')],
['title' => 'Head Teachers', 'count' => $totalHeadTeachers ?? 0, 'desc' => 'Responsible for school operations', 'icon' => 'bi bi-person-bounding-box', 'route' => route('admin.head_teachers.index')],
['title' => 'Teachers on Duty', 'count' => $totalTeachersOnDuty ?? 0, 'desc' => 'Teachers managing classes', 'icon' => 'bi bi-person-lines-fill', 'route' => route('admin.teachers_on_duty.index')],
['title' => 'Payrolls', 'count' => $totalPayrolls ?? 0, 'desc' => 'Manage staff payments', 'icon' => 'bi bi-cash-stack', 'route' => route('financial.payrolls.index')],
['title' => 'Service Providers', 'count' => $totalServiceProviders ?? 0, 'desc' => 'Manage service providers', 'icon' => 'bi bi-people', 'route' => route('financial.service-providers.index')],
['title' => 'Provider Payments', 'count' => $totalProviderPayments ?? 0, 'desc' => 'Track payments to providers', 'icon' => 'bi bi-wallet2', 'route' => route('financial.provider-payments.index')],
['title' => 'Class Expenses', 'count' => $totalClassExpenses ?? 0, 'desc' => 'Track all class & general expenses', 'icon' => 'bi bi-receipt', 'route' => route('class-expenses.index')],
];
@endphp
@foreach($cards as $card)
{{ $card['title'] }}
{{ $card['count'] }}
{{ $card['desc'] }}
Manage
@endforeach