@extends('layouts.master') @section('content')

{{ $phys->clients->name }}@if($phys->inactive_date) - FORMER CLIENT @endif

@if($phys->display_public == 1 && (is_null($phys->inactive_date) || $phys->inactive_date == '')) Public Page @endif @if(in_array('edit:nmg_clients', $permissions)) Edit @endif
@if(!is_null($phys->main_image_authenticated) && !str_contains($phys->main_image_authenticated, 'no-image') ) @else @endif
@if($phys->clients->bio) Bio @endif

{!! implode( "

\n\n

", preg_split( '/\n(?:\s*\n)+/', $phys->clients->bio) ) !!}

@if($phys->clients->pointAgents->count() > 0) Point Agents: @foreach($phys->clients->pointAgents as $user) {{ $user->first_name }} {{ $user->last_name }}@if($user->inactive_date_temporary == 1) - TLO @elseif( !is_null($user->inactive_date)) (FORMER EMPLOYEE)@endif{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach @endif

@if($phys->clients->supportAgents->count() > 0) Agent Team: @foreach($phys->clients->supportAgents as $user) {{ $user->first_name }} {{ $user->last_name }}@if($user->inactive_date_temporary == 1) - TLO @elseif( !is_null($user->inactive_date)) (FORMER EMPLOYEE)@endif{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach @endif

@if(count($phys->Clients->genders) > 0)

Sex: {{ $phys->Clients->genders->pluck('name')->join(', ') }}

@endif @if($phys->clients && $phys->clients->pronouns)

Pronouns: {{ $phys->clients->pronouns }}

@endif @if(count($phys->clients->ethnicities) > 0)

Ethnicity: @foreach($phys->clients->ethnicities as $ethnicity) {{ $ethnicity->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach

@endif @if(count($phys->types) > 0)

Types: @foreach($phys->types as $type) {{ $type->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach

@endif @if($phys->clients->ethnicity_note)

Ethnicity Note: {{ $phys->clients->ethnicity_note }}

@endif

{{-- close side-by-side area --}}
@stop