@php $arquivo = \App\Arquivo::find($aval->arquivo_id); @endphp
@if ($arquivo->trabalho->evento->numParticipantes != 0)
Discente: @if(\App\Participante::find($arquivo->participanteId)) {{\App\Participante::find($arquivo->participanteId)->user->name}} @else {{\App\Participante::withTrashed()->find($arquivo->participanteId)->user->name}} @endif
@else
Proponente: {{$arquivo->trabalho->proponente->user->name}}
@endif
Plano: {{$arquivo->titulo}}
@csrf
@else @endif
@if(isset($aval)) @if($aval->arquivoAvaliacao != null) @endif @endif
@if(Auth::user()->tipo == 'coordenador')
@endif