@extends('layouts.app') @section('content')
Edital - {{$evento->nome}}
Propostas Submetidas

Quatidade de projetos: {{$contador_trabalhos}}

Proposta Pendente Proposta Recomendada Proposta Negada
Proposta Arquivada
@foreach( $trabalhos as $trabalho )

Título: {{ $trabalho->titulo }}
@if($trabalho->arquivado == true)
@else @if($trabalho->status == "aprovado") @elseif($trabalho->status == "reprovado") @else @endif @endif

Proponente: {{ App\Proponente::find($trabalho->proponente_id)->user->name }}

@if ($evento->numParticipantes != 0)

Discentes: @foreach($trabalho->participantes as $participante) {{$participante->user->name}}; @endforeach

@endif @if($trabalho->grande_area_id != null && $trabalho->area_id != null && $trabalho->sub_area_id != null)
{{$trabalho->grandeArea->nome}} > {{$trabalho->area->nome}} > {{$trabalho->subArea->nome}}
@endif
@endforeach
{{ $trabalhos->appends([ 'evento_id' => request()->get('evento_id', '') ])->links() }}
@endsection @section('javascript') @endsection