{{-- History of tariff / «График оплаты» changes on the student card (StudentBillingChanges::forStudent()): pending ones first, with a cancel button, then what was applied, with the value it replaced. --}} @if (! empty($billingChanges))
{{ __('История тарифов и графика оплаты') }}
@foreach ($billingChanges as $c) $c['status'] === 'pending'])> @endforeach
{{ __('С даты') }} {{ __('Что') }} {{ __('Было') }} {{ __('Стало') }} {{ __('Кто') }}
{{ date('d.m.Y', strtotime($c['effective_date'])) }} {{ __($c['label']) }} {{ $c['old'] }} {{ $c['new'] }} {{ $c['by'] ?? '—' }} @if ($c['status'] === 'pending') {{ __('Запланировано') }}
@csrf
@else {{ __('Применено') }} @endif
@endif