@extends('admin.layouts.app') @section('title', __('admin.committees.list_title') . ' — ' . __('admin.brand.name')) @section('page_title', __('admin.committees.list_title')) @push('styles') @endpush @section('content') @include('admin.partials.flash')
@foreach (request()->except(['per_page', 'page']) as $k => $v) @if (is_array($v)) @foreach ($v as $vv) @endforeach @else @endif @endforeach
@foreach (request()->only(['q', 'sort', 'dir']) as $key => $value) @endforeach
@if ($committees->isEmpty()) @else
@foreach ($committees as $committee) @endforeach
{{ __('admin.committees.fields.meeting_time') }} {{ __('admin.committees.fields.startups') }} {{ __('admin.committees.fields.investors') }} {{ __('admin.committees.fields.created_by') }} {{ __('admin.fields.actions') }}
{{ $committee->monthLabel() }} {{ optional($committee->meeting_date)->format('Y-m-d') }} {{ $committee->formattedMeetingTime() }} {{ $committee->startups_count ?? $committee->startups->count() }} {{ $committee->investors_count ?? $committee->investors->count() }} {{-- Status chip — read-only. The activate / deactivate inline toggles were removed (2026-06) when status became a lifecycle column managed exclusively by the daily `committees:expire-past` cron. --}} @if ($committee->status === \App\Models\Committee::STATUS_ACTIVE) {{ __('admin.committees.status.active') }} @else {{ __('admin.committees.status.expired') }} @endif {{ $committee->creator?->name ?? '—' }}
{{ $committees->links() }}
@endif
{{-- Shared status-change confirmation dialog. Single instance on the page — any row's status chip triggers it. The chosen row's form is stored on `data-pending-form` so the Confirm button can submit it after approval. --}} @endsection @push('scripts') @endpush