@extends('layouts.master') @section('content') @if(in_array('edit:lit_clients', $permissions)) Add Theatre Client @endif @include('Theatre.filterForm')
{{ $theatres->total() }} Results - {{ $theatres->appends(request()->input())->links() }}
@foreach($theatres as $theatre) @endforeach
Name Ethnicity/Country of Origin Links
{{ $theatre->clients->name }}
@foreach($theatre->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
{{-- Ethnicity/Countries --}} @if(count($theatre->clients->ethnicities) > 0) @foreach($theatre->clients->ethnicities as $ethnicity) {{ $ethnicity->name }}@if (!$loop->last), @endif @endforeach @endif @if(count($theatre->clients->countries) > 0) @foreach($theatre->clients->countries as $country) {{ $country->name }}@if (!$loop->last), @endif @endforeach @endif {{-- buttons --}} @if($theatre->imdb) IMDB
@endif @if ($theatre->clients->studio_sys) Studio System @endif
{{ $theatres->total() }} Results - {{ $theatres->appends(request()->input())->links() }}
@stop