{{-- Student profile's "Начисления" table, inside the "All payments" modal. Extracted so PaymentController::storeCharge()'s AJAX branch can re-render it with fresh data and the js-ajax-form handler (layouts/app.blade.php) can swap it in via data-replace-target, same pattern as admin/dictionaries/_table_card.blade.php. Shows the student's whole charge history (the old "последние 30" cap was dropped — an admin auditing an account needs the old rows too); the year filter and the scroll box in students/show.blade.php keep a long list usable. data-year / data-amount on each row are what that filter reads, so keep them in sync with the payments table above. Expects $charges (list of ['id','charged_date','group_name','amount','description']) and $studentId. --}}

Начисления (всего {{ count($charges) }})
@if (!empty($charges))
@foreach ($charges as $c) @endforeach
ДатаГруппаСуммаОписание
{{ $c->charged_date }} {{ $c->group_name ?? '—' }} {{ number_format((float) $c->amount, 0, ',', ' ') }} {{ $c->description ?? '—' }}
@csrf
@else

Начислений нет.

@endif