@extends('layouts.app') @section('title', 'Client Details - ' . $client->first_name . ' ' . $client->last_name) @section('content')
Complete information for {{ $client->full_name }}
| Client ID: | #{{ $client->id }} |
| Full Name: | {{ $client->full_name }} |
| Email: | {{ $client->email }} |
| Phone: | {{ $client->phone ?? 'N/A' }} |
| IC Number: | {{ $client->ic_number ?? 'N/A' }} |
| Status: | {{ ucfirst($client->status) }} |
| Address: | {{ $client->address ?? 'N/A' }} |
| Emergency Contact: | {{ $client->emergency_contact_name ?? 'N/A' }} |
| Emergency Phone: | {{ $client->emergency_contact_phone ?? 'N/A' }} |
| Created By: | {{ $client->user?->full_name ?? $client->user?->name }} {{ $client->user?->email }} |
| Assigned Staff: | {{ $client->assignedStaff?->full_name ?? $client->assignedStaff?->name ?? 'N/A' }} |
| Assigned Lawyer: | {{ $client->assignedLawyer?->full_name ?? $client->assignedLawyer?->name ?? 'N/A' }} |
| Type | Description | Value | Location | Will ID | Created Date |
|---|---|---|---|---|---|
| {{ ucfirst($asset->type) }} | {{ $asset->description }} | RM {{ number_format($asset->value, 2) }} | {{ $asset->location ?? 'N/A' }} | @if($asset->will) #{{ $asset->will->id }} @else N/A @endif | {{ $asset->created_at->format('M d, Y') }} |
| Type | Description | Amount | Creditor | Will ID | Created Date |
|---|---|---|---|---|---|
| {{ ucfirst($liability->type) }} | {{ $liability->description }} | RM {{ number_format($liability->amount, 2) }} | {{ $liability->creditor ?? 'N/A' }} | @if($liability->will) #{{ $liability->will->id }} @else N/A @endif | {{ $liability->created_at->format('M d, Y') }} |
| Will ID | Status | Creator Type | Created Date | Signed Date | Beneficiaries | Trustees | Assets | Liabilities | Actions |
|---|---|---|---|---|---|---|---|---|---|
| #{{ $will->id }} | {{ ucfirst(str_replace('_', ' ', $will->status)) }} | {{ ucfirst($will->creator_type ?? 'N/A') }} | {{ $will->created_at->format('M d, Y') }} | {{ $will->signed_at?->format('M d, Y') ?? 'Not Signed' }} | {{ $will->beneficiaries?->count() ?? 0 }} | {{ $will->trustees?->count() ?? 0 }} | {{ $will->assets?->count() ?? 0 }} | {{ $will->liabilities?->count() ?? 0 }} | View |
| Name | Relationship | Date of Birth | IC Number | Phone | |
|---|---|---|---|---|---|
| {{ $member->full_name }} | {{ ucfirst($member->relationship) }} | {{ $member->date_of_birth?->format('M d, Y') ?? 'N/A' }} | {{ $member->ic_number ?? 'N/A' }} | {{ $member->phone ?? 'N/A' }} | {{ $member->email ?? 'N/A' }} |
| Document Type | File Name | Status | Uploaded Date | Actions |
|---|---|---|---|---|
| {{ ucfirst(str_replace('_', ' ', $document->document_type)) }} | {{ $document->file_name }} | {{ ucfirst($document->status) }} | {{ $document->created_at->format('M d, Y') }} | @if($document->file_path) Download @endif |