Commit 9e226ce6 authored by José Rômulo's avatar José Rômulo
Browse files

Alterando tempo em que substiuição aparece

parent 5cec43c3
......@@ -94,7 +94,7 @@
Editar
</a>
<hr class="dropdown-hr">
@elseif($projeto->evento->fimSubmissao <= $hoje)
@elseif($projeto->evento->resultado_final <= $hoje)
<a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center;">
Substituir participante</a>
@endif
......
......@@ -107,14 +107,11 @@
Editar
</a>
<hr class="dropdown-hr">
{{--
@elseif($projeto->evento->fimSubmissao <= $hoje)
<a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center;">
Substituir participante
</a>
@endif
--}}
@endif
@elseif($projeto->evento->resultado_final <= $hoje)
<a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}" class="dropdown-item" style="text-align: center;">
Substituir participante
</a>
@endif
<a href="{{ route('trabalho.show', ['id' => $projeto->id]) }}" class="dropdown-item" style="text-align: center">
Visualizar
</a>
......
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