@php use App\Models\LicitacoesProcedimentos\Processo; $tipoProcessoSelecionado = old('tipo_processo', $registro->tipo_processo ?? ''); $cdTipoSelecionado = (string) old('cd_tipo', $registro->cd_tipo ?? ''); $tiposLicitacaoJson = json_encode( collect(Processo::TIPOS_LICITACAO)->mapWithKeys(fn (string $label, int $codigo) => [$codigo => __($label)])->all(), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE ); $tiposProcedimentoJson = json_encode( collect(Processo::TIPOS_PROCEDIMENTO)->mapWithKeys(fn (string $label, int $codigo) => [$codigo => __($label)])->all(), JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE ); @endphp @csrf @if(isset($registro)) @method('put') @endif @foreach(['ano', 'tipo_processo', 'tipo', 'status', 'nr_processo', 'page'] as $filterKey) @if(request()->filled($filterKey)) @endif @endforeach