@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
{{-- Kembali Button --}}
{{-- Detail TRN Section --}}
Detail TRN
{{-- Left Column - Detail TRN --}}
Training Name : {{ $trn->nama_trn }}
Provider : {{ $trn->provider ?? '-' }}
Place : {{ $trn->ruangan ?? '-' }}
Proposed : {{ $trn->diusulkan_nama ?? '-' }}
Known : {{ $trn->diketahui_nama ?? '-' }}
Approved : {{ $trn->disetujui_nama ?? '-' }}
Approval Known : @if($trn->approval_diketahui == 'A') Approved @elseif($trn->approval_diketahui == 'R') Rejected @else Pending @endif
Approval Approved : @if($trn->approval_disetujui == 'A') Approved @elseif($trn->approval_disetujui == 'R') Rejected @else Pending @endif
{{-- Right Column - Data TNA --}}
Data TNA
@if ($can_manage_schedule ?? false) @endif
Departement : {{ $trn->department ?? '-' }}
Section : {{ $trn->section ?? '-' }}
Superior : {{ $trn->superior_name ?? '-' }}
Training Type : {{ $trn->type_training ?? '-' }}
With Score : {{ $trn->with_score ? 'Yes' : 'No' }}
{{-- Add Schedule Button --}}
{{-- check authorize edit --}} @if ($can_manage_schedule ?? false) @endif
{{-- Schedule Table --}}
@if ($can_manage_schedule ?? false) @endif @forelse($schedules as $schedule) @if ($can_manage_schedule ?? false) @endif @empty @endforelse
ManageSchedule Participants Status
{{ date('l, d F Y', strtotime($schedule->jadwal_trn)) }} {{ $schedule->jumlah_participant ?? 0 }} Participants @if($schedule->isactive == '1') Active @else Completed @endif

No schedules available

@if (($participant_movements ?? collect())->isNotEmpty())
Participant Movement History
@foreach ($participant_movements as $movement) @endforeach
ParticipantActionFromToReasonProcessed By
{{ $movement->nama ?? '-' }}
{{ $movement->nik }}
{{ ucfirst($movement->movement_type) }} {{ $movement->source_trn_id }}
{{ date('d M Y', strtotime($movement->source_date)) }}
{{ $movement->target_trn_id }}
{{ date('d M Y', strtotime($movement->target_date)) }}
{{ $movement->alasan }} {{ $movement->user_create ?? '-' }}
{{ date('d M Y H:i', strtotime($movement->created_at)) }}
@endif
{{-- Transfer / Reschedule Participant Modal --}} {{-- Reschedule Modal --}} {{-- Add Schedule Modal --}} {{-- Edit TNA Modal --}} {{-- Add Participants Modal --}} {{-- Loading Modal --}} @endsection @push('css') @endpush @push('js') @endpush