{{ __('All Documents') }}
@if($selectedType) {{ __('Clear') }} @endif
@forelse ($documents as $doc) @empty @endforelse
{{ __('No') }} {{ __('Title') }} {{ __('Type') }} {{ __('Description') }} {{ __('Created') }} {{ __('Actions') }}
{{ $doc->no }} {{ $doc->title }} @php $typeLabels = [ 'general' => ['label' => __('General'), 'class' => 'bg-primary-50 text-primary-700 ring-primary-200'], 'private' => ['label' => __('Private'), 'class' => 'bg-slate-100 text-slate-700 ring-slate-200'], 'khusus' => ['label' => __('Memo'), 'class' => 'bg-emerald-50 text-emerald-700 ring-emerald-200'], ]; $t = $typeLabels[$doc->type] ?? ['label' => ucfirst($doc->type), 'class' => 'bg-slate-100 text-slate-700 ring-slate-200']; @endphp {{ $t['label'] }} {{ $doc->description ?: '' }} {{ $doc->created_at?->format('d M Y') }} {{ __('View') }}

{{ __('No documents found.') }}