@extends('layouts.portal') @section('title', 'Client Details') @section('page_title', 'Client Details') @section('page_subtitle', 'View and manage client information') @section('sidebar') @include('agent.partials.sidebar', ['active' => 'clients']) @endsection @section('content')
View and manage client information
Full Name
{{ $client->first_name }} {{ $client->last_name }}
{{ $client->email }}
Phone
{{ $client->phone }}
IC Number
{{ $client->ic_number }}
Address
{{ $client->address }}
Account Type
{{ ucfirst($client->account_type) }}
Will #{{ $will->id }}
{{ $will->will_type ?? 'Standard Will' }} • Created: {{ $will->created_at->format('M d, Y') }}
{{ $beneficiary->name }}
{{ $beneficiary->relationship ?? 'N/A' }}
{{ $beneficiary->percentage ?? 0 }}%
{{ ucfirst($beneficiary->type ?? 'Beneficiary') }}
{{ ucfirst($asset->type) }}
{{ $asset->description ?? 'N/A' }}
${{ number_format($asset->value ?? 0, 2) }}
+{{ $will->assets->count() - 5 }} more assets
@endif{{ ucfirst($liability->type) }}
{{ $liability->creditor ?? 'N/A' }}
${{ number_format($liability->amount ?? 0, 2) }}
+{{ $will->liabilities->count() - 5 }} more liabilities
@endifNo wills created yet.
Create WillPayment #{{ $payment->id }}
Method: {{ ucfirst($payment->method) }}
Date: {{ $payment->created_at->format('M d, Y') }}
${{ number_format($payment->amount, 2) }}
{{ ucfirst($payment->status) }}No payments recorded.
@endif{{ ucfirst(str_replace('_', ' ', $document->document_type)) }}
Uploaded: {{ $document->uploaded_at ? $document->uploaded_at->format('M d, Y') : 'N/A' }}
@if($document->original_filename){{ $document->original_filename }}
@endifNo KYC documents uploaded yet.
@endif{{ $member->name }}
Relationship: {{ ucfirst($member->relationship) }}
IC: {{ $member->ic_number }}
No family members added.
@endif{{ ucfirst($liability->type) }}
{{ $liability->description }}
Creditor: {{ $liability->creditor }}
${{ number_format($liability->amount, 2) }}
{{ ucfirst($liability->type) }}No liabilities recorded.
@endif{{ ucfirst($asset->type) }}
{{ $asset->description }}
Value: ${{ number_format($asset->value, 2) }}
${{ number_format($asset->value, 2) }}
{{ ucfirst($asset->type) }}No assets recorded.
@endif