@php
$tiles = [
['title' => 'Registered Students', 'value' => $totalStudents, 'icon' => 'fas fa-user-graduate', 'bg' => '#17a2b8'],
['title' => 'Programmes Offered', 'value' => $totalProgrammes, 'icon' => 'fas fa-book-open', 'bg' => '#28a745'],
['title' => 'Total Courses', 'value' => $totalCourses, 'icon' => 'fas fa-chalkboard-teacher', 'bg' => '#ffc107', 'color' => '#000'],
['title' => 'Accommodation Requests', 'value' => $totalAccommodation, 'icon' => 'fas fa-bed', 'bg' => '#6f42c1'],
['title' => 'Deferment Requests', 'value' => $totalDeferments, 'icon' => 'fas fa-envelope-open-text', 'bg' => '#dc3545'],
['title' => 'Published Notices', 'value' => $totalNotices, 'icon' => 'fas fa-bullhorn', 'bg' => '#20c997'],
['title' => 'Downloadable Files', 'value' => $totalDownloads, 'icon' => 'fas fa-folder-open', 'bg' => '#fd7e14'],
['title' => 'Coursework Entries', 'value' => $totalCoursework, 'icon' => 'fas fa-tasks', 'bg' => '#007bff'],
['title' => 'Exam Results Posted', 'value' => $totalExams, 'icon' => 'fas fa-poll', 'bg' => '#6610f2'],
['title' => 'Fees Paid ($)', 'value' => number_format($feesPaid, 2), 'icon' => 'fas fa-money-bill-wave', 'bg' => '#198754'],
['title' => 'Fees Due ($)', 'value' => number_format($feesDue, 2), 'icon' => 'fas fa-hand-holding-usd', 'bg' => '#d63384'],
];
@endphp
@foreach ($tiles as $tile)
{{ $tile['title'] }}
{{ $tile['value'] }}
@endforeach