@extends('layouts.master') @section('content') @if(in_array('edit:lit_clients', $permissions)) Add Lit Client @endif @include('Lit.filterForm')
{{ $lits->total() }} Results - {{ $lits->appends(request()->input())->links() }}
@foreach($lits as $lit) @endforeach
Name Types/Areas Genres/Management Gender Ethnicity/Country of Origin Links
{{ $lit->clients->name }}
@foreach($lit->clients->pointAgents as $user) {{-- ->filter(function($i) {return $i->pivot->type == 1;}) --}} {{ $user->agent_code }}@if($user->inactive_date_temporary == 1) - TLO @elseif( !is_null($user->inactive_date)) (FORMER EMPLOYEE)@endif@if (!$loop->last), @endif @endforeach
{{-- TYPES --}} @if(count($lit->types) > 0) @foreach($lit->types as $type) {{ $type->name }}@if (!$loop->last), @endif @endforeach @endif @if(count($lit->areas) > 0) @foreach($lit->areas as $area) {{ $area->name }}@if (!$loop->last), @endif @endforeach @endif {{-- Genres/Management --}} @if(count($lit->genres) > 0) @foreach($lit->genres as $genre) {{ $genre->name }}@if (!$loop->last), @endif @endforeach @endif @if(count($lit->companies) > 0) @foreach($lit->companies as $company) {{ $company->name }}@if (!$loop->last), @endif @endforeach @endif {{-- Gender --}} @if(isset($lit->Gender)) {{ $lit->Gender->name }} @endif {{-- Ethnicity/Countries --}} @if(count($lit->clients->ethnicities) > 0) @foreach($lit->clients->ethnicities as $ethnicity) {{ $ethnicity->name }}@if (!$loop->last), @endif @endforeach @endif @if(count($lit->clients->countries) > 0) @foreach($lit->clients->countries as $country) {{ $country->name }}@if (!$loop->last), @endif @endforeach @endif {{-- buttons --}} @if($lit->imdb) IMDB
@endif @if ($lit->clients->studio_sys) Studio System @endif
{{ $lits->total() }} Results - {{ $lits->appends(request()->input())->links() }}
@stop