@extends('admin.layout') @section('title','Dashboard') @section('page-title','Dashboard Overview') @section('content')
{{ $stats['total'] }}
Total Students
{{ $stats['studying'] }}
Currently Studying
{{ $stats['visa'] }}
In Visa Process
{{ $stats['japan'] }}
Sent to Japan

Student Pipeline Overview

View All
@foreach($stages as $key => $info) @if(in_array($key,['enquiry','admission_form','fee_paid','studying','jlpt_passed','visa_approved','japan_departed']))
{{ $stageCounts[$key] ?? 0 }}
{{ $info['label'] }}
@endif @endforeach
@if($stats['fee_due'] > 0)
₹{{ number_format($stats['fee_due']) }} in pending fees across students
@endif

Recent Students

Add Student
@forelse($recent as $s) @php $si = $s->stageInfo(); @endphp @empty @endforelse
StudentIDCourseStageEnrolled
{{ $s->name }}
{{ $s->email }}
{{ $s->student_id }} {{ $s->course }} {{ $si['label'] }} {{ $s->enrollment_date?->format('d M Y') ?? '—' }} View
No students yet. Add first student
@endsection