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

🧑‍🎓 Trainees

← Back to Dashboard
@if($trainees->isEmpty())
No trainees enrolled in your center yet.
@else
@foreach($trainees as $trainee) @endforeach
Name Email Phone Enrollment Date Assigned Trainer(s) Actions
{{ $trainee->name }} {{ $trainee->email }} {{ $trainee->phone ?? 'N/A' }} {{ $trainee->created_at->format('d M, Y') }} @if($trainee->assignedTrainers->isNotEmpty()) @foreach($trainee->assignedTrainers as $trainer) {{ $trainer->name }}
{{ $trainer->email }}
{{ $trainer->phone ?? 'N/A' }} @if(!$loop->last)
@endif @endforeach @else Not assigned @endif
View
@endif
@endsection