@extends('layouts.app') @section('title', __('Оплаты')) @section('content')
| # | {{ __('Ученик') }} | {{ __('Тип') }} | {{ __('Сумма') }} | {{ __('Дата') }} | {{ __('Описание') }} | |
|---|---|---|---|---|---|---|
| {{ $p->id }} |
{{ $p->student->last_name }} {{ $p->student->first_name }}
@if ($p->student->phone)
{{ $p->student->phone }} @endif |
@if ($p->id == $p->first_payment_id) {{ __('Новый') }} @else {{ __('Повторный') }} @endif | {{ number_format($p->amount, 0, ',', ' ') }} ₸ | {{ $p->payment_date }} | {{ $p->description ?? '—' }} | {{-- Laravel-native CSRF since Phase 9 — /delete_payment.php now has its own route+handler in PaymentController@destroy, no longer shared with any not-yet-migrated legacy page. --}} |
| {{ __('Итого') }} | {{ number_format($totalAmount, 0, ',', ' ') }} ₸ | |||||