Commit 2dc2b733 authored by S-Nathalia's avatar S-Nathalia
Browse files

resolucao da listagem dos avaliadores de cada edital

parent 4049a367
...@@ -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