@extends('partials.app') @section('title', 'Training Summary') @section('content')
@php $trainingSummaryRows = $trainingSummaries ?? collect(); @endphp

Training Summary

Refreshment and induction trainings only. Failed includes users who did not attempt the exam before the allowed time ended.

Back to Dashboard
Programs

{{ $trainingSummaryRows->count() }}

Register Total

{{ $trainingSummaryRows->sum('register_count') }}

Ended

{{ $trainingSummaryRows->where('is_expired', true)->count() }}

@forelse($trainingSummaryRows as $summary) @empty @endforelse
Training Name Date Register Present Absent Passed Count Failed Count
{{ $summary->name }}
@if($summary->is_expired) Ended @endif
{{ $summary->date ? \Carbon\Carbon::parse($summary->date)->format('d M Y') : '-' }} {{ $summary->register_count }} {{ $summary->present_count }} {{ $summary->absent_count }} {{ $summary->passed_count }} {{ $summary->failed_count }}
No training summary data available yet.
@endsection