@extends('layouts.master') @section('content')
{!! implode( "
", preg_split( '/\n(?:\s*\n)+/', $client->bio) ) !!}
Point Agents: @if($client->pointAgents->count() > 0) @foreach($client->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
Agent Team: @if($client->supportAgents->count() > 0) @foreach($client->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($client->genders) > 0)
Sex: {{ $client->genders->pluck('name')->join(', ') }}
Pronouns: {{ $client->pronouns }}
Ethnicity: @foreach($client->ethnicities as $ethnicity) {{ $ethnicity->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach
Ethnicity Note: {{ $client->ethnicity_note }}
Country of Origin: @if(count($client->countries) > 0) @foreach($client->countries as $country) {{ $country->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach @else - @endif