@extends('layouts.master', ['vueView' => 'nmgResourcesList']) @section('content')
{!! implode( "
", preg_split( '/\n(?:\s*\n)+/', $nmg->clients->bio) ) !!}
@if($nmg->clients->pointAgents->count() > 0) Point Agents: @foreach($nmg->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($nmg->clients->supportAgents->count() > 0) Agent Team: @foreach($nmg->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($nmg->Clients->genders) > 0)
Sex: {{ $nmg->Clients->genders->pluck('name')->join(', ') }}
Pronouns: {{ $nmg->clients->pronouns }}
Ethnicity: @foreach($nmg->clients->ethnicities as $ethnicity) {{ $ethnicity->name }}{{ $loop->remaining > 0 ? ', ' : '' }} @endforeach
Ethnicity Note: {{ $nmg->clients->ethnicity_note }}
Height: {{ $nmg->height_string }}
Title: @if(!empty($nmg->title)) {{$nmg->title}} @else - @endif
Employer: @if(!empty($nmg->employer)) {{$nmg->employer}} @else - @endif
Location: @if(!empty($nmg->location)) {{$nmg->location}} @else - @endif