@extends('layouts.admin')
@section('title', 'Compliance Document Details')
@section('content')
{{ $document->title }}
Code: {{ $document->code }} • Status: {{ ucfirst($document->status) }}
Content
{!! nl2br(e($document->content)) !!}
Metadata
- Category: {{ $document->category ?? '-' }}
- Effective Date: {{ optional($document->effective_date)->format('Y-m-d') ?? '-' }}
- Expires At: {{ optional($document->expires_at)->format('Y-m-d') ?? '-' }}
- Required: {{ $document->is_required ? 'Yes' : 'No' }}
- Created By: {{ $document->created_by ?? '-' }}
- Updated By: {{ $document->updated_by ?? '-' }}
- Description: {{ $document->description ?? '-' }}
- Notes: {{ $document->notes ?? '-' }}
@endsection