@extends('site.layouts.new.app') @php $resetUrl = route('site.legislative-activities', ['front_layout' => 'new']); $hasSearchFeedback = filled($selectedText ?? '') || filled($selectedAssemblymanId ?? '') || filled($selectedType ?? '') || filled($selectedStartDate ?? '') || filled($selectedEndDate ?? ''); $resultsTotalLabel = number_format($activityCount ?? 0, 0, ',', '.'); $assemblymenLabel = number_format($matchingAssemblymanCount ?? 0, 0, ',', '.'); $typesLabel = number_format($typeCount ?? 0, 0, ',', '.'); @endphp @section('site_content')
@include('site.components.materials-tab', [ 'label' => 'Vereadores', 'href' => route('site.assemblymen', ['front_layout' => 'new']), 'active' => false, ]) @include('site.components.materials-tab', [ 'label' => 'Atividades Legislativas', 'href' => request()->fullUrl(), 'active' => true, ])

Consulta pública unificada

Atividades Legislativas

Consulte projetos, documentos, participações em comissões e audiências com filtros por parlamentar, tipo e período.

Total disponível {{ $resultsTotalLabel }}
{{ $assemblymenLabel }} parlamentares {{ $typesLabel }} tipos
@include('site.components.materials-filter-field', [ 'id' => 'legislative_activity_assemblyman', 'label' => 'Parlamentar', 'name' => 'assemblyman_id', 'type' => 'select', 'options' => $assemblymenList, 'value' => $selectedAssemblymanId ?? '', 'className' => 'sl-assemblymen__filter-field', ]) @include('site.components.materials-filter-field', [ 'id' => 'legislative_activity_type', 'label' => 'Tipo de atividade', 'name' => 'type', 'type' => 'select', 'options' => $typeOptions, 'value' => $selectedType ?? '', 'className' => 'sl-assemblymen__filter-field', ]) @include('site.components.materials-filter-field', [ 'id' => 'legislative_activity_start_date', 'label' => 'Data inicial', 'name' => 'start_date', 'type' => 'date', 'value' => $selectedStartDate ?? '', 'className' => 'sl-assemblymen__filter-field', ]) @include('site.components.materials-filter-field', [ 'id' => 'legislative_activity_end_date', 'label' => 'Data final', 'name' => 'end_date', 'type' => 'date', 'value' => $selectedEndDate ?? '', 'className' => 'sl-assemblymen__filter-field', ]) @include('site.components.materials-filter-field', [ 'id' => 'legislative_activity_text', 'label' => 'Pesquisa', 'name' => 'text', 'value' => $selectedText ?? '', 'placeholder' => 'Número, ementa ou descrição', 'className' => 'sl-assemblymen__filter-field', ])
Limpar
@if ($hasSearchFeedback)
{{ $resultsTotalLabel }} {{ $activityCount === 1 ? 'atividade encontrada' : 'atividades encontradas' }} Filtros aplicados na consulta pública das atividades legislativas.
@endif

Lista de atividades

Resultados recentes por padrão, com histórico disponível por período.

@forelse ($records as $activity) @empty @endforelse
Data Tipo Número Ementa / descrição Parlamentar
{{ $activity->activity_date_label ?: '-' }} {{ $activity->activity_type ?: '-' }} {{ $activity->activity_number ?: '—' }} {{ $activity->activity_label ?: 'Sem descrição disponível' }} {{ $activity->activity_description_clean ?: $activity->search_excerpt }} {{ $activity->assemblyman_name ?: 'Parlamentar não informado' }} @include('site.components.action-icon', ['name' => 'eye'])
Nenhuma atividade encontrada para os filtros selecionados.
@if (method_exists($records, 'links'))
@include('site.components.materials-pagination', ['records' => $records])
@endif
@endsection