@extends('layouts.app') @section('title', 'Detail Karyawan - MCU Klinik Mustika') @section('breadcrumb')

Detail Karyawan

@endsection @section('content')
@canRoute ('employees.edit') Edit @endcanRoute @canRoute ('employees.destroy')
@csrf @method ('DELETE')
@endcanRoute
@if ($employee->photo) {{ $employee->full_name }} @else
@endif

{{ $employee->full_name }}

{{ $employee->position ? $employee->position->name : '-' }}

{{ $employee->is_active ? 'Aktif' : 'Tidak Aktif' }}

ID Karyawan {{ $employee->employee_id_number }}
Departemen/Bagian {{ $employee->department ? $employee->department->name : '-' }}
Status Kepegawaian {{ $employee->formatted_employment_status }}
Tanggal Masuk {{ $employee->hiring_date ? \App\Helpers\DateHelper::formatDate($employee->hiring_date) : '-' }}
Tanggal Lahir {{ $employee->birth_date ? \App\Helpers\DateHelper::formatDate($employee->birth_date) : '-' }}
Email {{ $employee->email_address }}
Nomor Telepon {{ $employee->phone_number }}
Alamat {{ $employee->address ?? '-' }}
@endsection