Commit f8fb77ed authored by unknown's avatar unknown
Browse files

Correção de erro ao abrir uma proposta como coordenador, quandoo integrante...

Correção de erro ao abrir uma proposta como coordenador, quandoo integrante não possui PlanodeTrabalho
parent da6655c9
...@@ -706,6 +706,7 @@ ...@@ -706,6 +706,7 @@
</select> </select>
@else @else
@foreach($trabalho->participantes as $participante) @foreach($trabalho->participantes as $participante)
@if($participante->planoTrabalho != null)
<div class="col-md-6"> <div class="col-md-6">
<label style="font-weight: bold;font-size: 18px">Plano: {{$participante->planoTrabalho->titulo}}</label> <label style="font-weight: bold;font-size: 18px">Plano: {{$participante->planoTrabalho->titulo}}</label>
</div> </div>
...@@ -725,6 +726,7 @@ ...@@ -725,6 +726,7 @@
@endforeach @endforeach
</select> </select>
@endif
@endforeach @endforeach
@endif @endif
<small id="emailHelp" class="form-text text-muted">Segure SHIFT do <small id="emailHelp" class="form-text text-muted">Segure SHIFT do
......
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