Missing Media

@foreach ($types as $type) @endforeach @foreach ($medias as $media) @foreach ($types as $type) @if ($media->torrents->where('type_id', '=', $type->id)->isEmpty()) @else @endif @endforeach @endforeach
{{ __('torrent.title') }} @include('livewire.includes._sort-icon', ['field' => 'title']) {{ __('request.requests') }} @include('livewire.includes._sort-icon', ['field' => 'requests_count']) {{ $type->name }}
@if ($media->torrents_min_category_id === null) {{ $media->title }} ({{ $media->release_date?->format('Y') }}) @else {{ $media->title }} ({{ $media->release_date?->format('Y') }}) @endif {{ $media->requests_count }} Missing {{ $media->torrents->where('type_id', '=', $type->id)->implode('resolution.name', ' | ') }}
{{ $medias->links('partials.pagination') }}