@extends('layouts.app') @section('title','Document') @section('content')
Document number: {{ $document->reference ?? '—' }} · Issue date: {{ $document->issued_on?->format('d M Y') ?? '—' }}
@if($document->category)Company category: {{ $document->category->name }}
@endif @if($document->note)Note: {{ $document->note }}
@endifAll pages and files belong to this document.
{{ $historyFiles->count() }} {{ $historyFiles->count()===1?'file':'files' }} retained in history
Review required compliance details
OCR is disabled for this workspace. Enter issue and expiry dates manually above.
@endif@if($ocr!==null){{ $ocr }}@endifTo save dates before scanning finishes, use Edit details & dates above. Saving the main form activates ordinary expiry alerts. Compliance verification has stricter safety requirements.
This document has an existing deletion hold. Release it only when the record no longer needs protection.
Assign responsibility and track renewal progress.
Owner: {{ $owners->firstWhere('id',$renewal->owner_id)?->name }} · Due {{ app(\App\Domain\Organization\WorkspaceFormat::class)->date($renewal->due_on) }} · {{ $renewal->currency }} {{ $renewal->cost ?? '—' }}
@if($renewal->status==='open')@elseif($renewal->status==='pending_verification')@endifUse this when a new document or validity period is needed. Approval alone does not complete renewal.
Who accessed this document
A read-only history of file access, including the user, time, action and whether access was allowed.
@php($uiRows2=\App\Support\ListView::rows($access,'document_access_logs'))| Time (UTC) | User ID | Action | Result |
|---|---|---|---|
| {{ $log->created_at->format('d M Y H:i:s') }} | {{ $log->user_id }} | {{ $log->action }} | {{ $log->result }} |
| No content accesses yet. | |||
{{ $entry->created_at->format('d M Y H:i') }} UTC · {{ $owners->firstWhere('id',$entry->actor_id)?->name ?? 'System / former user' }} · {{ ucfirst(str_replace(['document.','_'],['',' '],$entry->action)) }}
@emptyNo recorded changes.
@endforelse{{ $history->withQueryString()->links() }}