@extends('layouts.app') @section('title', 'Ученики без тарифа') {{-- Read-only report — the single GET filter form needs no CSRF. Rendered by StudentsWithoutTariffController; the "what counts as no tariff" rules are documented in that class, and the explanatory alert below is the user-facing summary of them. --}} @section('content')

Ученики без тарифа

Активные ученики, которым на сегодня не удаётся определить тариф — такие ученики не попадают в ежедневное начисление и не оплачиваются.

@if ($search !== '' || $groupId !== '') @endif
{{ $studentCount }}
учеников без тарифа • {{ count($rows) }} записей в группах
@if (empty($rows))
@if ($search !== '' || $groupId !== '') По выбранным фильтрам учеников без тарифа нет. @else У всех активных учеников есть тариф. @endif
@else
@foreach ($rows as $i => $row) {{-- Which of the two tariff fields on the student card the billing job would read for this group — the actual next step, so it isn't left to be inferred from the group type. Solid bg-primary/bg-secondary rather than the -subtle pair. That started as a workaround — carried only this app's own `data-theme`, never Bootstrap's `data-bs-theme`, so the -subtle backgrounds stayed light in dark mode (see 082ea56, which fixed the same mistake on the teacher dashboard). It now carries both, so -subtle would work; the solid badges are kept because they're what every other view here uses. --}} @endforeach
# Ученик Класс Телефон Группа Нужен тариф В группе с Куратор
{{ $i + 1 }} {{ $row['last_name'] }} {{ $row['first_name'] }} {{ $row['class_name'] ?? '—' }} {{ $row['phone'] ?: '—' }} {{ $row['group_name'] }} @if ($row['group_type'] === 'MiniGroup') Индивидуальный @else Общий @endif {{ $row['joined_at'] }} {{ $row['adviser_name'] ?? '—' }}
@endif
@endsection