@if (count($organizations) > 0 || count($persons) > 0 || count($films) > 0)
@if (count($films) > 0)

Films

@foreach ($films as $film)
{{ substr($film->title, 0, 1) }}
{{ $film->fullTitle }} @foreach ($film->directors as $director) {{ $director->fullname }} @if ($film->year) , {{ $film->year }} @endif @endforeach
@endforeach @endif @if (count($persons) > 0)

Contacts

@foreach ($persons as $person)
@if ($person->mainImage) Photo @else
{{ substr($person->firstname, 0, 1) }}{{ substr($person->lastname, 0, 1) }}
@endif
{{ $person->fullname }} @foreach ($person->organizations as $organization) {{ $organization->title }} @endforeach
@endforeach @endif @if (count($organizations) > 0)

Structures

@foreach ($organizations as $organization)
{{ substr($organization->title, 0, 1) }}
{{ $organization->title }} @foreach ($organization->organizationTypes as $organizationType) {{ $organizationType->name }} @endforeach
@endforeach @endif
@endif