@extends('dashboard.layouts.app') @section('content') @include('components.alert')
Reset
Folders

Select a folder to filter the table results. The first folders are shown directly, and the rest can be expanded.

@foreach ($foldersList->take(3) as $folder) @endforeach @if ($foldersList->count() > 3) @endif
@if ($foldersList->count() > 3)
@foreach ($foldersList->skip(3) as $folder) @endforeach
@endif
@if ($centers->isNotEmpty()) @foreach ($centers as $center)
{{ $center->name }}
@php $attachmentVariant = match($center->attachment_type) { 'image' => 'success', 'video' => 'info', 'pdf' => 'danger', default => 'neutral', }; @endphp {{ $center->attachment_type ?: '—' }}
{{ optional($center->shared_center_folder)->name ?? '—' }}
@if ($center->attachment && $center->attachment_type === 'image') Attachment @elseif ($center->attachment && $center->attachment_type === 'pdf') View PDF @elseif ($center->attachment && $center->attachment_type === 'video') @else N/A @endif @endforeach

No Shared Centers found.

@endif
@endsection @push('scripts') @endpush