@extends('layouts.digitar') @section('Breadcrumbs') {!! Breadcrumbs::render('commissions.list') !!} @endsection @section('content') @if (isset($commissions))

{{ $commissions->name }}

{{ $commissions->type }}

Voltar
@php $urlAtual = request()->url(); $estamosEmEncerrados = Str::contains($urlAtual, 'showClose'); if ($estamosEmEncerrados) { $listaFiltrada = $advices->filter(function ($advice) { return $advice->closed == 0; }); } else { $listaFiltrada = $advices->filter(function ($advice) { return $advice->closed == 1; }); } @endphp @if ($listaFiltrada->isEmpty()) @else @foreach ($listaFiltrada as $advice) @if ($advice->project) @endif @if (isset($advice->document)) @endif @endforeach @endif
Número Ano Documento Ementa Autor Tipo Ações
Nenhum documento encontrado.
{!! $advice->project->project_number ?? 'Não informado' !!} {!! $advice->project->getYearLawPublish($advice->project->law_date) !!} {!! $advice->project->law_type->name !!} {!! $advice->project->title !!} {!! $advice->project->owner->short_name ?? 'Não Informado' !!} {!! $advice->type ? 'Réplica' : '' !!} @if ($advice->closed == 1) @endif
{!! $advice->document->number ?? 'Não informado' !!} {!! $advice->document->getYear($advice->document->date) !!} {!! $advice->document->document_type->name ?? 'Não informado' !!} {!! Str::limit($advice->document->resume ?? '', 200) !!} {!! $advice->document->owner->short_name ?? 'Não informado' !!} {!! $advice->type ? 'Réplica' : '' !!} @if ($advice->closed == 1) @endif
@endif @endsection