Unverified Commit 907ddc1c authored by Antônio Durval's avatar Antônio Durval Committed by GitHub
Browse files

Merge pull request #909 from antonioDurval/master

CORREÇÃO, problema ao substituir participante e projeto
parents f6cde4cf 09e4568b
......@@ -3,7 +3,12 @@
<div class="row">
@if ($arquivo->trabalho->evento->numParticipantes != 0)
<h5><b>Discente:</b>
{{\App\Participante::find($arquivo->participanteId)->user->name}}</h5>
@if(\App\Participante::find($arquivo->participanteId))
{{\App\Participante::find($arquivo->participanteId)->user->name}}
@else
{{\App\Participante::withTrashed()->find($arquivo->participanteId)->user->name}}
@endif
</h5>
@else
<h5><b>Proponente:</b>
{{$arquivo->trabalho->proponente->user->name}}</h5>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment