@extends('layouts.app') @section('content')
@component('projeto.formularioVisualizar.proponente2', ['projeto' => $trabalho]) @endcomponent
Anexos

{{-- Anexo do Projeto --}}
{{-- Arquivo --}}
{{-- Autorização Especial --}}
@if($trabalho->anexoAutorizacaoComiteEtica != null) @else - @endif
{{-- Anexo(s) do Plano(s) de Trabalho --}} @foreach( $trabalho->participantes as $participante) @php if( App\Arquivo::where('participanteId', $participante->id)->first() != null){ $planoTrabalhoTemp = App\Arquivo::where('participanteId', $participante->id)->first()->nome; }else{ $planoTrabalhoTemp = null; } @endphp
@if($planoTrabalhoTemp != null) @endif
@endforeach
Meu parecer
Trabalho: {{ $trabalho->titulo }}
{{-- Pesquisar--}}
@csrf
@component('componentes.input', ['label' => 'Parecer']) @endcomponent
@if($trabalho->pivot->AnexoParecer == null) @component('componentes.input', ['label' => 'Anexo do Parecer']) @endcomponent @else
Alterar arquivo atual
@endif

@endsection @section('javascript') @endsection