@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, ',', ' ') }} ₸ | |||||