@extends('layouts.bootstrap') @section('title', 'Document Types Management') @section('content')

Document Types Management

Manage document types for tender requirements

Add New Document Type
@if(session('success')) @endif @if(session('error')) @endif
All Document Types ({{ $documentTypes->count() }})
@if($documentTypes->count() > 0)
@foreach($documentTypes as $documentType) @endforeach
# Name Description Status Order Used In Actions
{{ $documentType->id }} {{ $documentType->name }} {{ Str::limit($documentType->description, 80) ?: 'No description' }} @if($documentType->is_active) Active @else Inactive @endif {{ $documentType->sort_order }} {{ $documentType->requirements_count ?? 0 }} tenders
@if(($documentType->requirements_count ?? 0) == 0)
@csrf @method('DELETE')
@else @endif
@else
No Document Types Found

Start by creating your first document type for tender requirements.

Create First Document Type
@endif
How Document Types Work
  • Active Status: Only active document types appear in tender forms
  • Sort Order: Controls the display order in tender forms (lower numbers first)
  • Usage Tracking: Shows how many tenders use each document type
  • Delete Protection: Document types used in tenders cannot be deleted
@endsection