@extends('layouts.app') @section('title', 'Информация о группе') {{-- Ports app/Views/lesson/attendance_form.php (legacy, 799 lines) + the render() payload from App\Controllers\LessonController::attendanceForm() (app/Controllers/LessonController.php:413-461) — see the Phase 22 plan. Every write form/fetch on this page (check_lesson.php/check_lesson_exists.php/ submit_test_results.php/add_student_to_group_teacher.php/ remove_student_from_group.php/check_student_in_group.php) still posts to its exact unchanged legacy endpoint. Real Laravel CSRF as of Phase 62 — @csrf on the real forms, an X-CSRF-TOKEN header (read from the page's csrf-token meta tag, via layouts.app) on the two $.ajax calls. check_student_in_group.php has no backend anywhere (dead route) — its fetch() + .catch() fallback is ported byte-for-byte, not fixed. No page-level role restriction beyond SessionAuth::check() — matches the legacy controller's constructor exactly. $localGroupInfo/$localStudents/$comments/$commentCategories are DB::select() results (stdClass rows), unlike the legacy view's $pdo-fetched associative arrays — property access (->) is used throughout instead of array access. The two SQL queries the legacy view ran directly against $pdo (comments list, comment_categories+comments for the Comments modal) were moved into the controller — see its docblock. --}} @section('content')
Отделение: {{ $local->language_name ?? 'не указано' }}
Предмет: {!! nl2br(e($local->discipline_name ?? '—')) !!}
Класс: {{ $local->class_name }}
Тип обучения: {{ $local->learning_type_name }}