@extends('layouts.admin') @section('title', $user->name . ' - ' . ($user->club->name ?? config('app.name'))) @section('header')
@endsection @section('content')Attendance
Current Rank
Last Graded
Member for
Current grade for @if($stats['time_since_last_grading']->y > 0) {{ $stats['time_since_last_grading']->y }} years @endif @if($stats['time_since_last_grading']->m > 0) {{ $stats['time_since_last_grading']->m }} months @endif
Sessions since grading
Latest session recorded on {{ $stats['last_attendance']->format('jS M Y') }}
@elseThis member has never attended a session
@endif{{ $session->venue->name }}
{{ $session->date->format('l, jS F Y') }}
No attendance data recorded yet.
Track student progress
{{ $grading->rank->name }}
@if($loop->first) Current Grade @endifNo grading history recorded.
Notes and feedback
{{ $note->content }}
No observation log entries found.
@endifRenewal Date
{{ $user->renewal_date->format('jS F') }}
Renewal Date Not Set
Set renewal date nowNot assigned to any groups.
@endifAge / Gender
{{ $user->age ?: 'Age unknown' }} / {{ trim($user->gender) && trim($user->gender) !== 'NULL' ? ucfirst($user->gender) : 'Unspecified' }}
Address
@php
$addr1 = trim($user->address_1 ?? '');
$addr2 = trim($user->address_2 ?? '');
$city = trim($user->town_city ?? '');
$county = trim($user->county ?? '');
$postcode = trim($user->postcode ?? '');
if ($addr1 === 'NULL') $addr1 = '';
if ($addr2 === 'NULL') $addr2 = '';
if ($city === 'NULL') $city = '';
if ($county === 'NULL') $county = '';
if ($postcode === 'NULL') $postcode = '';
@endphp
@if($addr1)
{{ $addr1 }}
@endif
@if($addr2)
{{ $addr2 }}
@endif
@if($city || $county || $postcode)
{{ $city }}@if($city && ($county || $postcode)), @endif
{{ $county }} {{ $postcode }}
@endif
@if(!$addr1 && !$addr2 && !$city && !$county && !$postcode)
No address provided
@endif
Member Since
{{ $stats['joined_date']->format('jS F, Y') }}
Emergency Contact
@php $emergencyName = trim($user->emergency_contact_name ?? ''); $emergencyPhone = trim($user->emergency_contact_telephone ?? ''); if ($emergencyName === 'NULL') $emergencyName = ''; if ($emergencyPhone === 'NULL') $emergencyPhone = ''; @endphp{{ $emergencyName ?: 'Not assigned' }}
@if($emergencyPhone){{ $emergencyPhone }}
@endifParent / Guardian
{{ $parentName }}
Medical Information
@php $medicalNotes = trim($user->medical_notes ?? ''); if ($medicalNotes === 'NULL') $medicalNotes = ''; @endphp{{ $medicalNotes ?: 'No medical information disclosed.' }}