@php $current = $controlPanelVoyageScope ?? 'active'; $scopes = [ 'active' => 'Active (not completed/cancelled)', 'paused' => 'Lifecycle paused', 'loading' => 'Status: loading', 'at_sea' => 'Status: at sea', 'arriving' => 'Status: arriving', 'discharging' => 'Status: discharging', 'completed' => 'Status: completed', 'cancelled' => 'Status: cancelled', 'all' => 'All statuses', ]; @endphp
@foreach (request()->query() as $key => $value) @continue($key === 'voyage_scope' || ! is_scalar($value)) @endforeach

Filters voyage dropdowns on this page (risk injection, invoice templates). Limit: {{ (int) config('control_panel.voyage_picker_limit', 150) }} rows (see CONTROL_PANEL_VOYAGE_PICKER_LIMIT).