{{-- Book team members onto a session. From TeamSessionController@manage: $session, $team, $registeredIds, $needsThis, $requiredHere … The team list is a DataTable with search / home / status filters and a sticky booking bar. --}} @extends('layouts.app') @section('title', 'Book Team onto Session') @section('content') @php $tsRole = auth()->user()->primaryRole(); @endphp arrow_back Back to Assign Sessions @include('partials.flash')
{{ $r['user']->name }} @if($rIsSM)Service Manager@endif
{{ $rIsSM ? ($smHomes[$r['user']->id] ?? 'Service Manager') : ($r['user']->location?->name ?? '—') }}@if($r['row']->note) · {{ $r['row']->note }}@endif
Attendance is recorded by the trainer. Before the training runs you can mark someone on leave (e.g. sick), swap in cover, or remove them from the session.
No one is booked on this session yet.
@else| Staff member | Status | Booked by | Booked on |
|---|---|---|---|
| {{ $a['name'] }} @if($a['mine'])Your team@endif | {{ $b[0] }} | {{ $a['booked_by'] }} | {{ $a['booked_at'] ? \Illuminate\Support\Carbon::parse($a['booked_at'])->format('j M Y, H:i') : '—' }} |