@extends('layouts.app') @section('page-title', 'Documents') @section('content') @php $typeLabels = \App\Models\Folder::TYPES; @endphp
Export CSV Export PDF @can('create-documents') Upload Document @endcan {{-- Expiring banner --}}

Showing active documents expiring within 30 days

{{-- Type filter tabs --}}
@foreach($typeLabels as $key => $label) @php $dot = match($key) { 'controlled_documents' => 'bg-blue-500', 'records' => 'bg-emerald-500', 'bulletins' => 'bg-amber-500', default => 'bg-surface-400', }; $badgeActive = match($key) { 'controlled_documents' => 'bg-blue-100 text-blue-700', 'records' => 'bg-emerald-100 text-emerald-700', 'bulletins' => 'bg-amber-100 text-amber-700', default => 'bg-surface-200 text-surface-700', }; @endphp @endforeach
{{-- Filter row: folder + status + search --}}
{{-- Folder --}}
{{-- Status --}}
{{-- Search --}}
{{-- Clear all --}}
{{-- Loading --}}
{{-- Empty — no documents at all --}}

No documents yet

Upload your first document to get started.

{{-- Empty — filtered / searched --}}

No results found

Try adjusting your filters or search term.

{{-- Table --}}
Doc No. Title Folder Type Ver. Status Effective Date Actions
{{-- Pagination --}}

Page of · total

@endsection