@extends('layouts.app') @section('title', 'Trainer Dashboard') @section('content') @include('partials.flash') {{-- Hero + create --}}
Schedule training, mark attendance and share your notes with attendees.
{{ $tile['value'] }}
{{ $tile['label'] }}
Across {{ $stats['past'] }} delivered {{ Str::plural('session', $stats['past']) }}
@if($attendance['expected'] > 0) @php $segs = [ ['key' => 'attended', 'label' => 'Attended', 'value' => $attendance['attended'], 'bar' => 'bg-primary', 'dot' => 'bg-primary', 'ic' => 'check_circle', 'ink' => 'text-primary'], ['key' => 'no_show', 'label' => 'No-show', 'value' => $attendance['no_show'], 'bar' => 'bg-error', 'dot' => 'bg-error', 'ic' => 'cancel', 'ink' => 'text-error'], ['key' => 'awaiting', 'label' => 'Not marked', 'value' => $attendance['awaiting'], 'bar' => 'bg-gold', 'dot' => 'bg-gold', 'ic' => 'schedule', 'ink' => 'text-[#8a6d3b]'], ]; @endphp{{ $s['value'] }}
{{ $s['label'] }}
No delivered sessions yet.
@endifLast 6 months
Which trainings draw and hold their attendees
| Training | Sessions | Attended | Attendance rate |
|---|---|---|---|
| {{ $t->title }} | {{ $t->sessions }} | {{ $t->attended }}/{{ $t->expected }} |
|
No upcoming sessions
Create your first training session to get started.
add Create Session| Session | Date & Time | Format | Booked | Action |
|---|---|---|---|---|
| {{ $session->title }} @if($session->trainerRoleFor(auth()->id()) === 'support') handshakeSupporting @endif | {{ $session->session_date->format('j M Y') }} · {{ \Carbon\Carbon::parse($session->start_time)->format('H:i') }} | {{ $session->format === 'in_person' ? 'In-Person' : 'Online' }} | {{ $session->booked_count }}{{ $session->capacity ? ' / ' . $session->capacity : '' }} | visibility View |