@extends('layouts.portal') @section('title', 'Client Details') @section('page_title', 'Client Profile') @section('page_subtitle', $client->full_name) @section('sidebar') @include('admin.partials.sidebar', ['active' => 'clients']) @endsection @section('content')
{{ $client->email }}
Joined {{ $client->created_at->format('d M Y') }}
Created By
@if($client->referrer){{ $client->referrer->name }} ({{ ucfirst($client->referrer->role) }})
@elseif($client->createdBy){{ $client->createdBy->name }} ({{ ucfirst($client->createdBy->role) }})
@elseUnknown
@endifCreated On
{{ $client->created_at->format('d M Y, g:i A') }}
Wills
{{ $client->wills->count() }}
KYC Status
{{ $client->risk_rating ?? 'Not Assessed' }}
KYC Documents
{{ $client->kycDocuments->count() }}
{{ $client->address ?: 'No address provided' }}
Child {{ $loop->iteration }}: {{ $child->full_name }}
Contact #{{ $loop->iteration }}
{{ $contact->name }}
{{ $contact->phone }}
@if($contact->relationship){{ ucfirst($contact->relationship) }}
@endifNot provided
@endif{{ $will->is_joint ? 'Joint Will' : ($will->will_type === 'individual' ? 'Individual Will' : 'Trust Will') }}
{{ $will->created_at->format('d M Y') }}
No wills created yet
@endif{{ $document->document_type_label }}
{{ ucfirst($document->status) }}Document No: {{ $document->document_number ?: 'Not provided' }}
Uploaded: {{ $document->uploaded_at ? $document->uploaded_at->format('d M Y') : $document->created_at->format('d M Y') }}
@if($document->file_path) 👁️ View Document @elseNo file uploaded
@endifNo KYC documents uploaded yet
@endif