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

{{ $client->name }}

@if(!is_null($client->imdb) && $client->imdb !== '') IMDB @endif @if(!is_null($client->studio_sys) && $client->studio_sys !== '') Studio System @endif @if(in_array('edit:clients', $permissions)) Copy @endif @if(in_array('edit:clients', $permissions)) Edit @endif
@if($client->bio) Bio @endif

{!! implode( "

\n\n

", 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(', ') }}

@endif @if($client && $client->pronouns)

Pronouns: {{ $client->pronouns }}

@endif @if(count($client->ethnicities) > 0)

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

@endif @if($client->ethnicity_note)

Ethnicity Note: {{ $client->ethnicity_note }}

@endif

Country of Origin: @if(count($client->countries) > 0) @foreach($client->countries as $country) {{ $country->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach @else - @endif

@include('Clients.parts.infotable')
{{-- close side-by-side area --}}
@stop