@extends('layout.layout') @section('content') @include('components.alert')
@if ($session) @php $isTrack = $session->staffScheduled->schedule_type === 'track'; $sessionTitle = $isTrack ? $session->staffScheduled->track->name_en ?? 'Program' : $session->staffScheduled->academyProduct->name_en ?? 'Product'; $teacher = sessionTeacher($session, $session->staffScheduled); $studentNames = collect($session->staffScheduled->courseStudent ?? []) ->map( fn($courseStudent) => trim( ($courseStudent->student->first_name ?? '') . ' ' . ($courseStudent->student->last_name ?? ''), ), ) ->filter() ->implode(', '); @endphp
Session Overview

Instructor performance review for the selected slot.

{{ $isTrack ? 'Program Session' : 'Product Session' }}
Resource Name {{ $sessionTitle }} - #{{ $session->session_number ?? 'N/A' }}
Student(s) {{ $studentNames ?: 'N/A' }}
Complexity Level {{ $session->staffScheduled->trackLevel->name_en ?? 'N/A' }}
Instruction Type {{ $session->staffScheduled->trackType->name ?? 'N/A' }}
Scheduled Date {{ $session->session_date ? \Carbon\Carbon::parse($session->session_date)->format('F d, Y') : 'N/A' }}
Start Time {{ $session->start_time ? \Carbon\Carbon::parse($session->start_time)->format('h:i A') : 'N/A' }}
Assigned Instructor {{ staffDisplayName($teacher) }}
Learning Program {{ $sessionTitle }}
Penalties on Instructors

Select all issues that apply to this session, then add any extra notes below.

@csrf @if ($errors->has('admin_comments'))
{{ $errors->first('admin_comments') }}
@endif
@php $penalties = [ 'camera_off' => [ 'label' => 'Camera Off', 'icon' => 'ri-camera-off-line', 'hint' => 'Instructor camera was disabled', ], 'virtual_background' => [ 'label' => 'Virtual Background', 'icon' => 'ri-image-circle-line', 'hint' => 'No virtual background applied', ], 'internet_not_stable' => [ 'label' => 'Internet Stability', 'icon' => 'ri-wifi-off-line', 'hint' => 'Connection dropped or lagged', ], 'mic_issues' => [ 'label' => 'Mic Issues', 'icon' => 'ri-mic-off-line', 'hint' => 'Audio was muted, unclear, or unstable', ], 'teacher_language' => [ 'label' => "Teacher's Language", 'icon' => 'ri-translate-2', 'hint' => 'Language use did not match expectations', ], 'materials_issues' => [ 'label' => 'Materials Issues', 'icon' => 'ri-file-warning-line', 'hint' => 'Session materials were missing or unsuitable', ], 'teacher_attitude' => [ 'label' => "Teacher's Attitude", 'icon' => 'ri-emotion-unhappy-line', 'hint' => 'Instructor attitude needs review', ], 'teacher_commitment' => [ 'label' => "Teacher's Commitment", 'icon' => 'ri-user-follow-line', 'hint' => 'Commitment or preparation issue', ], 'class_room_not_suitable' => [ 'label' => 'Environment', 'icon' => 'ri-home-4-line', 'hint' => 'Noisy or unprofessional setting', ], 'on_spot_absence' => [ 'label' => 'On-Spot Absence', 'icon' => 'ri-user-unfollow-line', 'hint' => 'Instructor failed to attend', ], 'delay_in_start' => [ 'label' => 'Late Start', 'icon' => 'ri-timer-flash-line', 'hint' => 'Session started after schedule', ], ]; @endphp @foreach ($penalties as $name => $data)
@if ($name === 'delay_in_start')
min
@error('delay_minutes')
{{ $message }}
@enderror
@endif
@endforeach
You must select at least one issue or add an admin comment before submitting.
@else
Session Not Found

The selected session could not be loaded, so feedback cannot be submitted right now.

@endif
@endsection @push('styles') @endpush @push('scripts') @endpush