@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 }} {{ __('меняется расписание: :begindate — :enddate, дни недели: :weekdays. Ниже — начисления за дни, которые в новое расписание больше не попадают.', ['begindate' => date('d.m.Y', strtotime($beginDate)), 'enddate' => $endDate ? date('d.m.Y', strtotime($endDate)) : __('без даты окончания'), 'weekdays' => \App\Support\Weekdays::toString($weekdays) ?: '—']) }}