@extends('layouts.meeting') @section('content-meeting')
{{-- para pegar o valor direto do input --}}

ATA DA SESSÃO

Tipo de Sessão: {!! $meeting->SessionType->name !!}

Sessão Nº: {!! $meeting->number !!}

Data: {!! $meeting->date_start !!}

@php $type = $type ?? 'ata'; $signer = \App\Models\SignatureSigners::where('id_document', $meeting->id) ->where('document_type', '!=', 'pauta') ->first(); $checkStatus = null; if ($signer) { $checkStatus = $signer->status === 'SIGNED' ? 'SIGNED' : 'PENDING'; } @endphp
@if ($checkStatus === 'PENDING')
Aguardando assinaturas
@elseif($checkStatus === 'SIGNED') Documento assinado Download @else @endif
{{-- Formulário da ata --}}
{!! csrf_field() !!}

Justificar

Vídeos Adicionados

@if ($meeting->videos && $meeting->videos->isNotEmpty()) @foreach ($meeting->videos as $video) @if ($video->type_video == 1) @endif @endforeach @endif

{{-- Modal para adicionar vídeo --}} {{-- Modal de Confirmação para Remover Vídeo --}} @endsection