@extends('layouts.teacher') @section('title', $snapshot['student']->full_name.' · '.config('brand.name')) @section('content') @php $student = $snapshot['student']; @endphp
Back to students Report a concern Progress

{{ $snapshot['progress'] }}%

Progress on your lessons

{{ $snapshot['homework_marked'] }}/{{ $snapshot['homework']->count() }}

Homework marked

{{ $snapshot['attendance']['total'] ? round(($snapshot['attendance']['present'] / $snapshot['attendance']['total']) * 100) : 0 }}%

Attendance on your sessions

Profile

Class: {{ $student->classLabel() }}

Lessons with you: {{ $snapshot['lesson_labels']->join(', ') ?: '—' }}

Parent: {{ $snapshot['parents']->join(', ') ?: '—' }}

Student progress
@forelse ($snapshot['subjects'] as $row)
{{ $row['label'] }}{{ $row['percent'] }}%
@include('student.partials.progress-bar', ['percent' => $row['percent']])
@empty

Progress appears as they learn on your lessons.

@endforelse
@if ($snapshot['reasons'] !== [])
Needs attention
@foreach ($snapshot['reasons'] as $reason)

{{ $reason['label'] }}: {{ $reason['detail'] }}

@endforeach
@endif
Homework
@forelse ($snapshot['homework'] as $item) @php $submission = $item['submission']; $status = match ($item['status']) { 'overdue' => 'Overdue', 'to_do' => 'To do', 'submitted' => $submission?->isResubmission() ? 'Resubmitted' : 'Submitted', 'marked' => 'Marked'.($submission?->score !== null ? ' · '.$submission->score.'/'.$submission->total_marks : ''), default => ucfirst($item['status']), }; @endphp @empty @endforelse
Homework Due Status
{{ $item['homework']->title }} {{ $item['homework']->dueLabel() }} {{ $status }} @if ($submission) {{ $submission->isAwaitingMark() ? 'Mark' : 'View mark' }} @else Assignment @endif
No homework on the lessons you teach this student.
Attendance

Present or late: {{ $snapshot['attendance']['present'] }}

Late: {{ $snapshot['attendance']['late'] }}

Missed: {{ $snapshot['attendance']['missed'] }}

@endsection