Timeline Filter: {{ $timelineFilter->name }}

@if($timelineFilter->private) Private @else Public @endif
@if($timelineFilter->user_id === auth()->id()) Edit Filter @endif Apply Filter
@isset($breadcrumbs) @endisset
Filter Name
{{ $timelineFilter->name }}
Visibility
{{ $timelineFilter->private ? 'Private' : 'Public' }}
Created By
{{ $timelineFilter->user->name ?? 'Unknown User' }}
Created Date
{{ $timelineFilter->created_at->format('M j, Y g:i A') }}
@if($timelineFilter->roles->count() > 0)
Visible to: @foreach($timelineFilter->roles as $role) {{ $role->title }} @endforeach
@else
No roles assigned
@endif

Filter Configuration

@if(count($filtersByRecordType) > 0)
@foreach($filtersByRecordType as $recordType => $options)

{{ ucfirst(str_replace('_', ' ', $recordType)) }} Filters {{ count($options) }} {{ Str::plural('filter', count($options)) }}

@foreach($options as $option)
{{ $option->list_title ?? $option->field_label ?? $option->field_scriptid }}
@if($option->content_type === 'record') Record @else List @endif Active

Type: {{ ucfirst($option->content_type ?? 'list') }}

@if($option->content_type === 'list' && $option->list_id)

List ID: {{ $option->list_id }}

@endif @if($option->content_type === 'record')

References: {{ $option->references }}

Display Field: {{ $option->referenceField ?? 'title' }}

@endif
@if($option->content_type === 'list' && count($option->selected_items ?? []) > 0)

Pre-selected Values:

@foreach($option->selected_items as $refid => $name) {{ $name }} @endforeach
@elseif($option->content_type === 'record')

Dynamic record reference - users can search and select from {{ $option->references }} records

@else
No pre-selected values (all options available)
@endif
@endforeach
@endforeach
@else

No Filters Configured

This timeline filter doesn't have any active filter options.

@if($timelineFilter->user_id === auth()->id()) @endif
@endif