@extends('layouts.admin') @section('title', 'Dokumen Karyawan - ' . $employee->full_name) @section('breadcrumb') Karyawan {{ $employee->full_name }} Dokumen @endsection @section('header')

Dokumen Karyawan

Kelola dokumen untuk {{ $employee->full_name }}

Kembali Upload Dokumen
@endsection @section('content')
Tipe Dokumen Nama File Nomor Dokumen Tanggal Expired Status Aksi @forelse($documents as $document)
@if(str_starts_with($document->mime_type, 'image/'))
@else
@endif
{{ $document->document_type_label }} @if($document->document_name)

{{ $document->document_name }}

@endif

{{ $document->file_name }}

{{ $document->human_file_size }}

@if($document->document_number) {{ $document->document_number }} @else - @endif @if($document->expiry_date) @if($document->is_expired) {{ $document->expiry_date->format('d M Y') }}

Sudah expired

@elseif($document->is_expiring_soon) {{ $document->expiry_date->format('d M Y') }}

Akan expired

@else {{ $document->expiry_date->format('d M Y') }} @endif @else - @endif @if($document->is_verified) Terverifikasi @else Belum Verifikasi @endif
@if($document->is_verified)
@csrf
@else
@csrf
@endif
@empty

Belum ada dokumen yang diupload.

Upload Dokumen
@endforelse
@endsection