@extends('layouts.app') @section('title', 'Подтверждение доначисления') {{-- Bulk counterpart of groups/confirm-join-backfill.blade.php, used by StudentProfileController::renderBulkJoinBackfillConfirm() (the add_to_group case of the /students.php bulk-action dispatcher). Shows one summary row per student instead of a shared day-by-day table — see that method's docblock for why. Nothing has been written yet; confirming resubmits action=add_to_group + confirmed=1 back to the same dispatcher. --}} @section('content')
{{ count($studentIds) }} студент(ов) добавляются в группу {{ $groupName }} с {{ date('d.m.Y', strtotime($joinedAt)) }} — эта дата уже наступила, поэтому нужно доначислить пропущенные уроки за период с {{ date('d.m.Y', strtotime($joinedAt)) }} по {{ date('d.m.Y') }}.
| Студент | Уроков | Сумма | Предупреждения |
|---|---|---|---|
| {{ $row['student_name'] }} | {{ $row['days'] }} | {{ number_format($row['total'], 0, ',', ' ') }} ₸ |
@if ($row['exhausted_warning'])
{{ $row['exhausted_warning'] }} @endif @if ($row['missing_tariff_days'] > 0) Нет тарифа на {{ $row['missing_tariff_days'] }} урок(ов) — не начислено @endif |