@extends('layouts.app') @section('title', 'Подтверждение доначисления') {{-- Interstitial screen for GroupProfileController::storeStudentMembership() and StudentProfileController::addToGroup() when the submitted joined_at is today or in the past: GroupJoinBackfillService::preview() has already simulated what would be charged for the missed lesson days, and nothing has been written yet — this is a plain confirm-before-charging step, not a redisplay of an error. Cancelling just navigates away; Подтвердить resubmits the same original fields plus confirmed=1 to $actionUrl, which is what actually creates the student_groups row and the charges (see GroupJoinBackfillService::commit()). Table styling mirrors the "Прогноз" tab (resources/views/charges/index.blade.php). --}} @section('content')
{{ $studentName }} добавляется в группу {{ $groupName }} с {{ date('d.m.Y', strtotime($joinedAt)) }} — эта дата уже наступила, поэтому нужно доначислить пропущенные уроки за период с {{ date('d.m.Y', strtotime($joinedAt)) }} по {{ date('d.m.Y') }}.
| Дата | Сумма |
|---|---|
| Нет уроков в этом периоде | |
| {{ date('d.m.Y', strtotime($row['date'])) }} | {{ number_format($row['amount'], 0, ',', ' ') }} ₸ |