@extends('layouts.app') @section('title', 'YCTC (Youth Corrective Training Centre)') @section('content')
{{-- Page guide: what this screen is for --}}
YCTC — Youth Corrective Training Centre. Manage youthful offenders at the YCTC: capture details, allocate activities and a time-management schedule, assign trainers, and track progress.

YCTC (Youth Corrective Training Centre)

{{ $records->total() }} record(s)
Trainees appear here automatically once admitted through Reception Documentation with category YCTC — nothing to add manually.
@if(session('success'))
{{ session('success') }}
@endif
@forelse($records as $r) @empty @endforelse
TraineeAdmittedAgeActivitiesTrainerStatusActions
{{ optional($r->prisoner)->name ?? '—' }}
{{ optional($r->prisoner)->prisoner_number }}
{{ optional($r->admission_date)->format('d M Y') }} {{ $r->age ?? '—' }} {{ \Illuminate\Support\Str::limit($r->allocated_activities, 40) ?: '—' }} {{ $r->trainer ?? '—' }} {{ $r->status }} @if(in_array($r->status ?? '', ['Draft','Scheduled','Open']))
@csrf
@endif
No records yet.
{{ $records->withQueryString()->links() }}
@endsection