@extends('layouts.app') @section('title', 'Settings — Document Types') @section('content')

Document Types

Manage the labels used for document uploads across the system
@php $categoryColors = [ 'property' => 'bg-primary-subtle text-primary', 'kyc' => 'bg-info-subtle text-info', 'agreement' => 'bg-warning-subtle text-warning', 'general' => 'bg-secondary-subtle text-secondary', ]; @endphp
@forelse($documentTypes as $type) @empty @endforelse
# Name Category Status Actions
{{ $loop->iteration }} {{ $type->name }} @php $catColor = $categoryColors[$type->category] ?? 'bg-light text-muted'; @endphp {{ \App\Models\DocumentType::CATEGORIES[$type->category] ?? ucfirst($type->category) }} @if($type->is_active) Active @else Inactive @endif
@csrf @method('PATCH')
@csrf @method('DELETE')
No document types defined yet.
@push('scripts') @endpush @endsection