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' }}