@extends('layouts.portal') @section('title', 'Trust Details') @section('page_title', 'Trust Details') @section('page_subtitle', 'Complete trust information and management') @section('sidebar') @include('admin.partials.sidebar', ['active' => 'trusts']) @endsection @section('content')
Back to Trusts

{{ $trust->trust_name }}

Trust #{{ $trust->id }} - Created {{ $trust->created_at->format('d M Y') }}

{{ ucfirst(str_replace('_', ' ', $trust->status)) }}

Trust Type

{{ ucfirst($trust->trust_type) }}

Initial Value

RM {{ number_format($trust->initial_value ?? 0, 2) }}

Trustee Company

{{ $trust->trustee_company ?? 'N/A' }}

Created

{{ $trust->created_at->format('d M Y') }}

Trust Information

Trust Name

{{ $trust->trust_name }}

Trust Type

{{ ucfirst($trust->trust_type) }}
@if($trust->trust_deed_summary)

Trust Deed Summary

{{ $trust->trust_deed_summary }}

@endif @if($trust->distribution_terms)

Distribution Terms

{{ $trust->distribution_terms }}

@endif
@if($trust->client)

Client Information

Full Name

{{ $trust->client->full_name ?? $trust->client->name }}

Email

{{ $trust->client->email }}

Phone

{{ $trust->client->phone ?? 'N/A' }}

Registered Date

{{ $trust->client->created_at->format('d M Y') }}

@endif

Transactions

@if($trust->transactions && $trust->transactions->count() > 0)
@foreach($trust->transactions as $transaction) @endforeach
Date Type Amount Description
{{ \Carbon\Carbon::parse($transaction->transaction_date)->format('d M Y') }} {{ ucfirst($transaction->type) }} RM {{ number_format($transaction->amount, 2) }} {{ $transaction->description }}
@else

No transactions recorded yet.

@endif

Quick Actions

Generate Statement

Summary

Type: {{ ucfirst($trust->trust_type) }}
Status: {{ ucfirst(str_replace('_', ' ', $trust->status)) }}
Created: {{ $trust->created_at->diffForHumans() }}
Updated: {{ $trust->updated_at->diffForHumans() }}
Total Value: RM {{ number_format($trust->initial_value ?? 0, 2) }}
@endsection