@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
{{-- Detail Information - Full Width --}}
Detail Request TNA
{{-- Row 1: Requestor Info --}}

{{ $list->requestor_nik }}

{{ $list->requestor_name }}

{{ $list->requestor_departemen }}

{{ $list->requestor_bagian }}

{{-- Row 2: Status & Date --}}

@if ($list->approval_hrd == 'approved') Approved @elseif ($list->approval_hrd == 'rejected') Rejected @else Pending @endif

{{ $list->created_at ? \Carbon\Carbon::parse($list->created_at)->format('d F Y H:i') : '-' }}

{{-- Row 3: Training Info --}}

{{ $list->name_trn }}

{{ \Carbon\Carbon::parse($list->month_estimation)->format('d F Y') }}

{{-- Row 3: Description --}}

{{ $list->description ?: '-' }}

{{-- Row 4: Rejection Reason --}} @if ($list->approval_hrd == 'rejected' && $list->rejection_reason)
Alasan Penolakan
{{ $list->rejection_reason }}
@endif
@endsection @push('css') @endpush