@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 }} {{ __('добавляется заморозка с :datefrom по :dateto — за этот период уже есть начисления. Ниже — что удалить.', ['datefrom' => date('d.m.Y', strtotime($dateFrom)), 'dateto' => date('d.m.Y', strtotime($dateTo))]) }}

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