{{ __('Private Documents') }}

{{ __('Private Documents') }}

{{ __('Create Private Document') }}
@forelse ($documents as $doc) @empty @endforelse
{{ __('No') }} {{ __('Title') }} {{ __('Status') }} {{ __('Created') }} {{ __('Actions') }}
{{ $doc->no }} {{ $doc->title }} @php $statusMap = [ 1 => ['label' => __('Draft'), 'class' => 'badge-draft'], 2 => ['label' => __('Sent'), 'class' => 'badge-pending'], 3 => ['label' => __('Signed'),'class' => 'badge-signed'], 4 => ['label' => __('Final'), 'class' => 'badge-draft'], ]; $s = $statusMap[(int)$doc->status_id] ?? ['label' => $doc->status_id, 'class' => 'badge-draft']; @endphp {{ $s['label'] }} {{ $doc->created_at?->format('d M Y') }} {{ __('View') }}

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