@extends('layouts.app') @section('content')

{{ $totalStudents }}

Total Students

{{ $totalEnrollments }}

Total Enrollments

{{ $totalCertificates }}

Certificates Issued

{{ $activePrograms }}

Active Programs

Recent Enrollments
@foreach($recentEnrollments as $enrollment) @endforeach
Student Course Date
{{ $enrollment->user->name }} {{ $enrollment->course->name }} {{ $enrollment->created_at->format('d M Y') }}
Recent Certificates
@foreach($recentCertificates as $certificate) @endforeach
Student Course Date
{{ $certificate->user->name }} {{ $certificate->course->name }} {{ $certificate->issue_date->format('d M Y') }}
@endsection