{{-- One attendee's feedback (sections 1–4, negative answers highlighted) and the management / quality review — section 5 — completed by Admin / Head of Operations. From SessionFeedbackController@show: $fb (session.trainer, user.location, reviewer), $questions --}} @extends('layouts.app') @section('title', 'Session Feedback') @section('content') @include('partials.flash') @php use App\Support\SessionFeedbackForm as Form; $role = auth()->user()->primaryRole(); $session = $fb->session; $bySection = collect($questions)->groupBy('section', true); $concerns = old('concerns', $fb->concerns === null ? null : ($fb->concerns ? 'yes' : 'no')); @endphp arrow_back {{ $session->title }} — all responses
{{ $fb->user->name }} · {{ $fb->user->location?->name ?? '—' }}
{{ $session->title }} · {{ $session->session_date->format('j M Y') }} · {{ $session->trainerName() ?? 'No trainer' }} · sent {{ $fb->created_at->format('j M Y, H:i') }}
{{ $q['q'] }}
@if($q['type'] === 'choice'){{ Form::label($key, $a) ?? '—' }}
@if($fb->note($key))“{{ $fb->note($key) }}”
@endif @else{{ filled($a) ? $a : 'No answer' }}
@endif