@extends('partials.app') @section('title', $user->name . ' Profile') @section('content')
{{ $user->designation->name ?? 'Designation not assigned' }}
Current training map and enrollment status.
| Training | Status | Type |
|---|---|---|
|
{{ $training->name }}
Module ID: {{ $training->id }}
|
@php $status = strtolower($training->pivot->status ?? 'enrolled'); $badgeClass = match ($status) { 'completed' => 'badge-success', 'pending' => 'badge-warning', 'in progress', 'in_progress' => 'badge-info', default => 'badge-primary', }; @endphp {{ ucfirst(str_replace('_', ' ', $status)) }} | {{ $training->parent_id ? 'Step' : 'Program' }} |
Assign modules to start tracking this user's learning path.
Latest assessment outcomes for this user.
@if($examResults->isNotEmpty()){{ $result->correct_answers }} correct out of {{ $result->total_questions_attempted }} questions.
View Exam DetailsAssessment results will appear here once the user completes an exam.