@extends('layouts.portal') @section('title', 'Trust Version History - ' . $trust->trust_name) @section('page_title', 'Trust Version History') @section('page_subtitle', 'Track all updates to ' . $trust->trust_name . ' (Trust #' . $trust->id . ')') @section('sidebar') @include('admin.partials.sidebar', ['active' => 'wills']) @endsection @section('content')
Trust ID: #{{ $trust->id }} | {{ $trust->trust_name }} | v{{ $currentVersion ?? 1 }}
Current Version
{{ $currentVersion ?? 1 }}
Total Updates
{{ $versionHistory->count() }}
Last Updated
{{ $trust->updated_at->format('M d, Y') }}
Trust Status
{{ ucfirst(str_replace('_', ' ', $trust->status)) }}
Section Updated:
{{ ucfirst(str_replace('_', ' ', $version->section_updated)) }}Summary: {{ $version->changes_summary }}
Updated At
{{ $version->created_at->format('d M Y, g:i A') }}
Updated By
@if($version->updatedBy){{ $version->updatedBy->name ?? 'N/A' }}
@elseSystem
@endifVersion
v{{ $version->version_number }}No version history available