@extends('layouts.app') @section('title', 'CI Dashboard') @section('content')

Clinical Instructor Dashboard

{{ now()->format('l, d F Y') }}

My Profile Find Student
{{-- ── Key numbers ────────────────────────────────────────────────────── --}}
{{ $stats['students'] }}
Assigned students
{{ $stats['pending'] }}
Reports pending
{{ $stats['this_week'] }}
Assessed this week
{{ $stats['total_assessed'] }}
Assessments total
{{-- ── Reports pending ────────────────────────────────────────────────── --}} @if($pendingReports->isNotEmpty())
Clinical reports awaiting your submission {{ $pendingReports->count() }}
@foreach($pendingReports as $assign) {{ $assign->student->name }} {{ $assign->student->studentProfile?->student_id ?: '—' }} · {{ $assign->semester?->name }} Write report @endforeach
@endif
{{-- ── Assigned students ──────────────────────────────────────────── --}}
My students
@if($selectedSemId) @endif
@if($assignments->isEmpty())
@if($selectedSemId)
No students assigned to you in that semester.
@else
No students in their current semester
You may still have assignments in other semesters — pick one from the filter above, or use Find Student.
@endif
@else
@foreach($assignments as $assign) @include('ci._student-card', ['assign' => $assign, 'progressMap' => $progressMap, 'reportDone' => $reportDone]) @endforeach
@endif
{{-- ── Recent assessments ─────────────────────────────────────────── --}}
My recent assessments
@forelse($recent as $a)
{{ $a->is_na ? 'NA' : $a->score }}
{{ $a->student?->name ?? 'Student removed' }}
{{ $a->procedure?->name }}
{{ $a->procedure?->semester?->name }} · {{ $a->assessment_date->format('d M Y') }}
@empty
No assessments recorded yet.
Scan a student's QR card to begin.
@endforelse
@endsection