{{-- resources/views/agent/clients.blade.php --}} @extends('layouts.contentLayoutMaster') @section('title', 'My Clients') @section('content') @php use Illuminate\Support\Facades\Route as R; // Helper: humanize snake-case types (e.g., "term_life" => "Term Life") $humanize = function (?string $val) { if (!$val) return 'N/A'; $v = str_replace('_', ' ', trim($val)); return $v !== '' ? ucwords($v) : 'N/A'; }; @endphp