@extends('layouts.portal') @section('content')

Welcome, {{ $user->name }}

Track your training progress, attendance, and family details.

@if($pendingInvoicesCount > 0)
You have {{ $pendingInvoicesCount }} pending {{ Str::plural('invoice', $pendingInvoicesCount) }} (£{{ number_format((float) $pendingInvoicesTotal, 2) }})

Pay online anytime from your Invoices page.

View & Pay Invoices
@endif @if($user->is_training_member)

My Profile

@include('portal.partials.member-card', ['member' => $user, 'stats' => $memberStats[$user->id]])
@else
Your Guardian Contact Details

{{ $user->email }} @if($user->telephone) · {{ $user->telephone }} @endif

Edit My Details
@endif @if($dependants->isNotEmpty())

Family / Dependants

@foreach($dependants as $dependant) @include('portal.partials.member-card', ['member' => $dependant, 'stats' => $memberStats[$dependant->id]]) @endforeach
@endif
@endsection