{{-- # ────────────── lee_gwena ────────────── # Code by: ashley_gwena # Created: 2026-03-12 # Notes: Trust account detail view # ─────────────────────────────────────── --}} @extends('layouts.master') @section('title', 'Trust Account Details') @section('content')

Trust Account {{ $trustAccount->account_number }}

Trust ledger overview.

Client: {{ $trustAccount->client?->name ?? 'N/A' }}
Matters: @php $matterLabels = $trustAccount->matters?->pluck('matter_number')->filter()->values() ?? collect(); if ($matterLabels->isEmpty() && $trustAccount->matter?->matter_number) { $matterLabels = collect([$trustAccount->matter->matter_number]); } @endphp {{ $matterLabels->isNotEmpty() ? $matterLabels->join(', ') : 'N/A' }}
Account Number: {{ $trustAccount->account_number }}
Currency: {{ $trustAccount->currency ?? 'N/A' }}
Status: {{ ucfirst($trustAccount->status ?? '') }}
Opened At: {{ optional($trustAccount->opened_at)->format('d M Y') }}
Closed At: {{ optional($trustAccount->closed_at)->format('d M Y') ?? 'N/A' }}
@endsection