@extends('layouts.site') @section('content')
| Data | Descrição | Situação | Assinado | Detalhes | {{--Historico/Tramitação | --}}||
|---|---|---|---|---|---|---|---|
| {!! $documentModel->date !!} |
{!! html_entity_decode($documentModel->document_type->name) !!}
{!! html_entity_decode($documentModel->number . '/' . $documentModel->getYear($documentModel->date)) !!}
-
{!! html_entity_decode($documentModel->owner->short_name) !!}
@php $resume = html_entity_decode($documentModel->resume); $cleanResume = strip_tags($resume); $trimmedResume = trim($cleanResume); @endphp @if (strlen($trimmedResume) > 600) {!! substr($trimmedResume, 0, 600) . '...' !!} @else {!! $trimmedResume !!} @endif |
@if ($documentModel->approved == 1) Aprovado @else Lido @endif | @php
$status = isset($signStatuses[$documentModel->id])
? $signStatuses[$documentModel->id]->status
: null;
@endphp
@if (!is_null($status) && $status === 'SIGNED')
@else
Não possui
@endif
|
||||
| Descrição | Detalhes |
|---|---|
|
{!! $lawsProject->project_number . '/' . $lawsProject->getYearLawPublish($lawsProject->law_date) !!}
-
@if (!$lawsProject->law_type)
{{ $lawsProject->law_type_id }}
@else
{{ mb_strtoupper($lawsProject->law_type->name, 'UTF-8') }}
@endif
{{ mb_strtoupper(html_entity_decode(strip_tags($lawsProject->title), ENT_QUOTES, 'UTF-8'), 'UTF-8') }} |
Visualizar |
| Data | Tipo | Numero | Local | Assinado | Visualizar | ||
|---|---|---|---|---|---|---|---|
| {!! $meeting->date_start !!} | {!! $meeting->SessionType->name !!} | {!! $meeting->number !!} | {!! $meeting->session_place->name !!} |
@php
$status = $signStatuses[$meeting->id]->status ?? null;
@endphp
@if (!is_null($status) && $status === 'SIGNED')
@else
Não possui
@endif
|
@if ($meeting->files()->count() > 0)
@endif
@if ($params['showPautas'])
PAUTA
@endif
@if ($params['showAtas'])
ATA
@endif
@foreach ($video as $videos)
@if ($meeting->id == $videos->meeting_id)
@if ($meeting->id == ($videos->meeting_id ?? '') || ($videos->type_video ?? '') == 1)
VÍDEO
@endif
@endif
@endforeach
Proposições
Projetos
|
||
| Documento | Numero | Visualizar | ||
|---|---|---|---|---|
| {{ $prop['document']->document_type->name . ' - ' . \App\Models\Assemblyman::where('id', $prop['document']->owner_id)->first()->short_name }} | {{ $prop['document']->number . '/' . explode('/', $prop['document']->date)[2] ?? 'Sem número' }} | @endif | ||
| Documento | Numero | Visualizar | ||
|---|---|---|---|---|
| {{ \App\Models\LawsType::where('id', $prop['projects']->law_type_id)->first()->name . ' - ' . \App\Models\Assemblyman::where('id', $prop['projects']->assemblyman_id)->first()->short_name }} | {{ $prop['projects']->project_number . '/' . explode('/', $prop['projects']->law_date)[2] ?? 'Sem número' }} | Visualizar | @endif||
| Data | Tipo Documento | Numero | Tipo | Visualizar | ||
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($meetings->date_start)->format('d/m/Y') }} | @if (!is_null($meetings->document_id)) @if (isset(\App\Models\DocumentType::where('id', $meetings->document_type_id)->first()->name)) {!! \App\Models\DocumentType::where('id', $meetings->document_type_id)->first()->name !!} @else Não possui/NA @endif @elseif(!is_null($meetings->law_id)) @if (isset(\App\Models\LawsType::where('id', $meetings->law_type_id)->first()->name)) {!! \App\Models\LawsType::where('id', $meetings->law_type_id)->first()->name !!} @else Não possui/NA @endif @elseif (!is_null($meetings->ata_id)) | |||||