@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
{{ $title_menu }}
@include('components.alert')

{{-- Filter Bulan --}}
{{-- Role info bar --}}
@if ($is_hrd)
HRD Mode — You can view all evaluations. Only the respective supervisor can make changes.
@else
Supervisor Mode — Only trainings you proposed are shown. Click Save Evaluation after finishing your assessment.
@endif
{{-- Training Cards --}}
@if ($trainings_grouped->isEmpty())
No post-training evaluation data available.
@else
@foreach ($trainings_grouped as $trn)
{{ $trn->nama_trn }}
{{ $trn->earliest_date ? \Carbon\Carbon::parse($trn->earliest_date)->format('d M Y') : '-' }} @if ($trn->earliest_date != $trn->latest_date) — {{ \Carbon\Carbon::parse($trn->latest_date)->format('d M Y') }} @endif
{{ $trn->total_peserta }} Participants @if ($trn->total_not_good > 0) {{ $trn->total_not_good }} Not Good @else All Good @endif
@if ($is_hrd) {{ $trn->spv_name }} @else My participants @endif @if ($trn->all_submitted) @elseif ($is_hrd && $trn->submitted_count > 0) @else @endif
@if ($trn->spv_submitted && $trn->spv_submitted_at)
{{ \Carbon\Carbon::parse($trn->spv_submitted_at)->format('d M Y H:i') }}
@endif
@endforeach
@endif
@push('js') @endpush @endsection