@extends('layouts.app') @section('title', 'Подтверждение изменения расписания') {{-- Interstitial screen for GroupProfileController::updateSchedule() when the edited begin_date/end_date/weekdays would strand `charges` rows — days the group used to meet under the old schedule and no longer meets under the new one (ScheduleChangeRecalcService::orphanedCharges()). Nothing has been written yet: neither the schedule row nor the charges. Cancelling just navigates away; Подтвердить resubmits $hidden (every field of the original edit-schedule modal, plus confirmed=1) and whichever remove_charge_ids[] the admin left checked to /edit_schedule.php, which then applies the schedule update and the deletions in one transaction. Spans every student in the group at once (unlike groups/confirm-recalc.blade.php, which is always one student), so the removal table shows an "Ученик" column. Removal only — extending a schedule never back-charges here, so there is no "Будет доначислено" card. Styling mirrors students/confirm-status-recalc.blade.php. --}} @section('content')
У группы {{ $groupName }} меняется расписание: {{ date('d.m.Y', strtotime($beginDate)) }} — {{ $endDate ? date('d.m.Y', strtotime($endDate)) : 'без даты окончания' }}, дни недели: {{ \App\Support\Weekdays::toString($weekdays) ?: '—' }}. Ниже — начисления за дни, которые в новое расписание больше не попадают.