@extends('layouts.app') @section('mobile-title', 'Retention Rules') @section('mobile-subtitle', 'Document compliance') @section('mobile-back', route('documents.compliance')) @section('content') @php $policyRows = collect($categories)->map(function ($label, $category) use ($rules) { $rule = $rules->get($category); return [ 'category' => $category, 'label' => $label, 'retain_months' => $rule?->retain_months ?? 84, 'action' => $rule?->action ?? \App\Models\DocumentRetentionRule::ACTION_ARCHIVE, 'enabled' => (bool) $rule?->is_enabled, 'updated_at' => $rule?->updated_at, ]; }); @endphp
Define and manage document lifecycle policies by category to support compliance, legal holds, and storage control.
Enabled when at least one retention policy is active.
Not enabled. Current lifecycle action archives records for recovery.
Legal-hold documents are excluded from retention automation.