@extends('layouts.app')
@section('page-title', $isMyDocuments ? 'My Documents' : 'Documents')
@section('content')
@php $typeLabels = \App\Models\Folder::TYPES; @endphp
Export CSV
Export PDF
@can('create', App\Models\Document::class)
Upload Document
@endcan
@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
@include('admin.documents.partials.folder-picker', ['formData' => $folderPickerData, 'filterMode' => true])
No documents yet
Upload your first document to get started.
No results found
Try adjusting your filters or search term.
| S.No |
Doc No. |
Title |
Folder |
Ver. |
Actions |
|
|
|
|
|
|
@endsection