@extends('layouts.app') @section('title', 'Подтверждение заморозки') {{-- Interstitial screen for StudentProfileController::storeFrozenDay() when the new [date_from, date_to] range covers charges already billed (ChargeStudents only checks frozen_days going forward, so a frozen day added after the fact for past dates would otherwise leave those charges untouched). Nothing has been written yet — not even the frozen_days row itself. Cancelling just navigates away; Подтвердить resubmits the original fields plus confirmed=1 (and whichever remove_charge_ids[] were left checked) to the same route. --}} @section('content')

Подтверждение заморозки

У {{ $studentName }} добавляется заморозка с {{ date('d.m.Y', strtotime($dateFrom)) }} по {{ date('d.m.Y', strtotime($dateTo)) }} — за этот период уже есть начисления. Ниже — что удалить.

Начислено за период заморозки
{{ number_format(collect($toRemove)->sum('amount'), 0, ',', ' ') }} ₸
{{ count($toRemove) }} начислени(й) — выберите ниже, что удалить
@csrf @include('partials._charges_removal_table', ['toRemove' => $toRemove, 'showGroup' => true]) Отмена
@endsection