{{-- resources/views/agent/client-show.blade.php --}} @extends('layouts.contentLayoutMaster') @section('title', 'Client Details') @section('content')

Client Details

@isset($displayRows) @foreach ($displayRows as $label => $value)

{{ $label }}: @if (is_null($value) || $value === '') N/A @else {{ $value }} @endif

@endforeach @else {{-- Fallback to explicit fields if $displayRows was not provided --}}

Full Name: {{ $client->first_name }} {{ $client->last_name }}

Email: {{ $client->email }}

Phone: {{ $client->phone_number }}

Date of Birth: {{ $client->date_of_birth }}

City: {{ $client->city }}

State: {{ $client->state }}

Zip Code: {{ $client->zipcode }}

County: {{ $client->county }}

Insurance Type: {{ $client->insurance_type }}

Status: {{ ucfirst($client->status) }}

@endisset
@endsection