@extends('layouts.portal') @section('title', 'Client Details - ' . $client->name) @section('page_title', 'Client Tracking') @section('page_subtitle', 'Viewing: ' . $client->name) @section('sidebar') @include('admin.partials.sidebar', ['active' => 'client-tracking']) @endsection @section('content')
{{ $client->email }}
{{ $client->phone }}
IC: {{ $client->ic_number }}
Overall Will Completion
{{ round($willProgress) }}%Will #{{ $will->id }}
Type: {{ ucfirst($will->will_type ?? 'Standard') }}
Created: {{ $will->created_at->format('d M Y') }}
{{ $trust->trust_name }}
Trustees: {{ $trust->trustees->count() }}
Created: {{ $trust->created_at->format('d M Y') }}
{{ $appointment->description ?? 'Appointment' }}
{{ $appointment->appointment_date ? $appointment->appointment_date->format('d M Y, H:i') : 'Date not set' }}
@if($appointment->location){{ $appointment->location }}
@endifCase #{{ $estate->case_number ?? $estate->id }}
Assigned: {{ $estate->assignedStaff?->name ?? 'Unassigned' }}
@if($estate->date_of_death)DOD: {{ $estate->date_of_death->format('d M Y') }}
@endif{{ $activity['title'] }}
{{ $activity['description'] }}
{{ $activity['date']->format('d M Y, H:i') }}
No activity yet
Date of Birth
{{ $client->date_of_birth ? $client->date_of_birth->format('d M Y') : 'Not provided' }}
Marital Status
{{ ucfirst($client->marital_status ?? 'Not provided') }}
Occupation
{{ $client->occupation ?? 'Not provided' }}
Country
{{ $client->country ?? 'Not provided' }}
Referred By
{{ $client->referredBy->name }}
Registered
{{ $client->created_at->format('d M Y') }}