@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->status) {{ $p->status->name }} @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, ',', ' ') }} ₸ | |||||