Commit 95ba8f12 authored by unknown's avatar unknown
Browse files

Correção de erro ao buscar prioridade do discente

parent f67eb964
...@@ -321,7 +321,8 @@ ...@@ -321,7 +321,8 @@
<select name="ordem_prioridade[]" class="form-control" > <select name="ordem_prioridade[]" class="form-control" >
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= $edital->numParticipantes; $j++) @for($j = 1; $j <= $edital->numParticipantes; $j++)
<option @if(old('total_periodos')[$i] ?? $participante->ordem_prioridade == $j ) selected @endif value="{{ $j }}">{{ $j }}</option>
<option @if(old('total_periodos')[$i] ?? ($participante->ordem_prioridade ?? '') == $j ) selected @endif value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
</select> </select>
......
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