From c20139b10c931e362e297909e7bdcf18f3f4943b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 12 Dec 2022 14:59:45 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20de=20erro=20causado=20pela?= =?UTF-8?q?=20destin=C3=A7=C3=A3o=20do=20Edital=20Extens=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../administrador/selecionarProjetos.blade.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/resources/views/administrador/selecionarProjetos.blade.php b/resources/views/administrador/selecionarProjetos.blade.php index 7f79785..ba47994 100755 --- a/resources/views/administrador/selecionarProjetos.blade.php +++ b/resources/views/administrador/selecionarProjetos.blade.php @@ -137,7 +137,11 @@ Nome do Projeto - Área + @if($evento->natureza_id == 3) + Área Temática + @else + Área + @endif Proponente Ação @@ -145,8 +149,12 @@ @foreach ($trabalhos as $trabalho) - {{ $trabalho->titulo}} - {{ App\Area::find($trabalho->area_id)->nome}} + {{ $trabalho->titulo }} + @if($evento->natureza_id == 3) + {{ App\AreaTematica::find($trabalho->area_tematica_id)->nome }} + @else + {{ App\Area::find($trabalho->area_id)->nome }} + @endif {{ $trabalho->proponente->user->name }}