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

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

@if($unscripted->clients->imdb) IMDB @endif @if($unscripted->clients->url) Website @endif @if ($unscripted->clients && $unscripted->clients->wikipedia ) Wiki @endif @if(in_array('edit:clients', $permissions)) Copy @endif @if(in_array('edit:unscripted_clients', $permissions)) Edit @endif
@if($unscripted->clients && $unscripted->clients->bio) Bio @endif
@if($unscripted->clients && $unscripted->clients->bio) {!! implode( "

\n\n

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

@if($unscripted->clients->pointAgents->count() > 0) Point Agents: @foreach($unscripted->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($unscripted->clients->supportAgents->count() > 0) Agent Team: @foreach($unscripted->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($unscripted->Clients->genders) > 0)

Gender: {{ $unscripted->Clients->genders->pluck('name')->join(', ') }}

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

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

@endif

@if(count($unscripted->clients->ethnicities) > 1)Ethnicities: @else Ethnicity: @endif @if($unscripted->clients->ethnicities && count($unscripted->clients->ethnicities) > 0) @foreach($unscripted->clients->ethnicities as $ethnicity) {{ $ethnicity->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach @else - @endif

@if($unscripted->clients->ethnicity_note)

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

@endif

@include('Unscripted.parts.infotable')
{{-- close side-by-side area --}} @include('_clientsShared.news', ['targetClient' => $unscripted]) {{-- @include('Unscripted.parts.mediaPages') --}} {{-- @include('Unscripted.parts.credits') --}}
@stop