Commit ef586e94 authored by unknown's avatar unknown
Browse files

Correção de erro, ao visualizar os resultados não resgatava a área temática...

Correção de erro, ao visualizar os resultados não resgatava a área temática para um edital de extensão
parent 76cac09f
...@@ -52,7 +52,11 @@ ...@@ -52,7 +52,11 @@
<th scope="col">Pontuação</th> <th scope="col">Pontuação</th>
<th scope="col" style="width: 100%;">Nome do projeto</th> <th scope="col" style="width: 100%;">Nome do projeto</th>
<th scope="col">Proponente</th> <th scope="col">Proponente</th>
@if($evento->natureza_id != 3)
<th scope="col">Área</th> <th scope="col">Área</th>
@else
<th scope="col">Área Temática</th>
@endif
<th scope="col">N. Planos</th> <th scope="col">N. Planos</th>
<th scope="col">Avaliador</th> <th scope="col">Avaliador</th>
<th scope="col">Status</th> <th scope="col">Status</th>
...@@ -73,7 +77,11 @@ ...@@ -73,7 +77,11 @@
{{$trabalho->proponente->user->name}} {{$trabalho->proponente->user->name}}
</td> </td>
<td> <td>
@if($evento->natureza_id != 3)
{{$trabalho->area->nome}} {{$trabalho->area->nome}}
@else
{{ App\AreaTematica::find($trabalho->area_tematica_id)->nome }}
@endif
</td> </td>
<td> <td>
{{$trabalho->participantes->count()}} {{$trabalho->participantes->count()}}
...@@ -138,7 +146,11 @@ ...@@ -138,7 +146,11 @@
<th scope="col">Pontuação</th> <th scope="col">Pontuação</th>
<th scope="col" style="width: 100%;">Nome do projeto</th> <th scope="col" style="width: 100%;">Nome do projeto</th>
<th scope="col">Proponente</th> <th scope="col">Proponente</th>
@if($evento->natureza_id != 3)
<th scope="col">Área</th> <th scope="col">Área</th>
@else
<th scope="col">Área Temática</th>
@endif
<th scope="col">N. Planos</th> <th scope="col">N. Planos</th>
<th scope="col">Avaliador</th> <th scope="col">Avaliador</th>
<th scope="col">Status</th> <th scope="col">Status</th>
...@@ -159,7 +171,11 @@ ...@@ -159,7 +171,11 @@
{{$trabalho->proponente->user->name}} {{$trabalho->proponente->user->name}}
</td> </td>
<td> <td>
@if($evento->natureza_id != 3)
{{$trabalho->area->nome}} {{$trabalho->area->nome}}
@else
{{ App\AreaTematica::find($trabalho->area_tematica_id)->nome }}
@endif
</td> </td>
<td> <td>
{{$trabalho->participantes->count()}} {{$trabalho->participantes->count()}}
...@@ -225,7 +241,11 @@ ...@@ -225,7 +241,11 @@
<th scope="col">Pontuação</th> <th scope="col">Pontuação</th>
<th scope="col" style="width: 100%;">Nome do projeto</th> <th scope="col" style="width: 100%;">Nome do projeto</th>
<th scope="col">Proponente</th> <th scope="col">Proponente</th>
@if($evento->natureza_id != 3)
<th scope="col">Área</th> <th scope="col">Área</th>
@else
<th scope="col">Área Temática</th>
@endif
<th scope="col">N. Planos</th> <th scope="col">N. Planos</th>
<th scope="col">Avaliador</th> <th scope="col">Avaliador</th>
<th scope="col">Status</th> <th scope="col">Status</th>
...@@ -246,7 +266,11 @@ ...@@ -246,7 +266,11 @@
{{$trabalho->proponente->user->name}} {{$trabalho->proponente->user->name}}
</td> </td>
<td> <td>
@if($evento->natureza_id != 3)
{{$trabalho->area->nome}} {{$trabalho->area->nome}}
@else
{{ App\AreaTematica::find($trabalho->area_tematica_id)->nome }}
@endif
</td> </td>
<td> <td>
{{$trabalho->participantes->count()}} {{$trabalho->participantes->count()}}
......
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