@extends('layouts.app') @section('title', 'Detail Pegawai') @section('subtitle', 'Informasi lengkap dan timeline akses') @section('breadcrumb')
{{ $employee->nip }} • {{ $employee->position }}
{{ $employee->email }}
Telepon
{{ $employee->phone ?? '-' }}
Departemen
{{ $employee->department->name }}
Status Kepegawaian
{{ str_replace('_', ' ', $employee->employment_status) }}
Tanggal Masuk
{{ $employee->join_date->format('d M Y') }}
Masa Kerja
{{ $employee->join_date->diffForHumans(null, true) }}
Tanggal
{{ $employee->retirement_date->format('d M Y') }}
Tipe
{{ str_replace('_', ' ', $employee->retirement_type) }}
{{ $access->accessCatalog->name }}
{{ $access->accessCatalog->code }} • {{ $access->accessCatalog->getCategoryLabelAttribute() }}
Belum ada akses yang diberikan
{{ $log->employeeAccessDetail->accessCatalog->name }} {{ $log->method === 'automatic' ? 'auto-revoked' : 'revoked' }}
{{ $log->created_at->diffForHumans() }}
Belum ada aktivitas
@endforelse