Unverified Commit 65b893a2 authored by Antônio Durval's avatar Antônio Durval Committed by GitHub
Browse files

Merge pull request #929 from antonioDurval/master

Correção de erro na visualização de projetos PIBITI
parents 00e71ab0 75689410
......@@ -64,11 +64,14 @@
</thead>
<tbody>
@foreach($AvalRelatParcial as $aval)
@php $arquivo = \App\Arquivo::find($aval->arquivo_id);@endphp
@php
$arquivo = \App\Arquivo::find($aval->arquivo_id);
$participante = \App\Participante::find($arquivo->participanteId);
@endphp
<tr>
<th style="color: black;">{{$cont += 1}}</th>
<td>
@if($arquivo->participanteId != null) {{\App\Participante::find($arquivo->participanteId)->user->name}}@endif
@if($arquivo->participanteId != null && !is_null($participante)) {{$participante->user->name}} @endif
</td>
<td>Parcial</td>
<td>@if($aval->nota == null) Pendente @else {{$aval->nota}} @endif</td>
......
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