@extends('layouts.app') @section('title', 'Удаление ученика со всеми данными') {{-- Step 2 of 3 of the full delete (StudentRemovalController::confirmPurge()). Step 1 was the profile page's delete modal; step 3 is the browser confirm() on submit. Nothing has been written yet. The submit button stays disabled until the acknowledgement box is ticked and the student's surname is typed back — the same two things StudentRemovalController::purge() re-checks server-side, so the JS here is a convenience, not the gate. --}} @section('content')
| Данные | Записей | Сумма |
|---|---|---|
| {{ $row['label'] }} | {{ $row['count'] }} | @if ($row['amount'] !== null) {{ number_format($row['amount'], 0, ',', ' ') }} ₸ @else — @endif |
| Итого | {{ collect($inventory)->sum('count') }} |