@extends('layouts.app') @section('title', 'Progress Tracking') @section('subtitle', 'Readiness across every learner') @section('content') Training analytics
@forelse ($students as $student) @php($progress = $student->progress) @php($readiness = $progress?->overallPercent() ?? 0) @empty @endforelse
Student Trainer Theory Practical Readiness Final test Actions
{{ $student->user->name }}
{{ $student->student_number }} ยท {{ $student->course?->name ?? 'No course' }}
{{ $student->trainer?->user?->name ?? 'Unassigned' }}
{{ $progress?->theory_hours_completed ?? 0 }}/{{ $progress?->theory_hours_required ?? 0 }}h{{ $progress?->theoryPercent() ?? 0 }}%
{{ $progress?->practical_hours_completed ?? 0 }}/{{ $progress?->practical_hours_required ?? 0 }}h{{ $progress?->practicalPercent() ?? 0 }}%
{{ $readiness }}%
{{ ucfirst($progress?->final_test_result ?? 'pending') }} @if ($progress?->final_test_date)
{{ $progress->final_test_date->format('j M Y') }}
@endif
@unless (auth()->user()->isStudent()) @endunless
@if ($students->hasPages())
{{ $students->links() }}
@endif
@endsection