Unverified Commit 55854c0c authored by GuilhermeGz's avatar GuilhermeGz Committed by GitHub
Browse files

Merge pull request #616 from S-Nathalia/table

resolucao da listagem dos editais para adicao de avaliador como convite externo
parents e1e1e198 2dc2b733
...@@ -219,6 +219,7 @@ ...@@ -219,6 +219,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach($trabalhos as $trabalho)
@foreach($trabalho->avaliadors as $avaliador) @foreach($trabalho->avaliadors as $avaliador)
{{-- Avaliação Interna --}} {{-- Avaliação Interna --}}
@if(($avaliador->tipo == 'Interno' && ($avaliador->trabalhos()->where("trabalho_id",$trabalho->id)->first()->pivot->acesso == null || $avaliador->trabalhos()->where("trabalho_id",$trabalho->id)->first()->pivot->acesso != 1)) @if(($avaliador->tipo == 'Interno' && ($avaliador->trabalhos()->where("trabalho_id",$trabalho->id)->first()->pivot->acesso == null || $avaliador->trabalhos()->where("trabalho_id",$trabalho->id)->first()->pivot->acesso != 1))
...@@ -285,6 +286,7 @@ ...@@ -285,6 +286,7 @@
@endforeach @endforeach
@endforeach
</tbody> </tbody>
</table> </table>
......
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