Unverified Commit 6ea824cf authored by Laboratório Multidisciplinar de Tecnologias Sociais's avatar Laboratório Multidisciplinar de Tecnologias Sociais Committed by GitHub
Browse files

Merge pull request #184 from GuilhermeGz/master

Atualizações do Sistema
parents b3f9089b 5fd7aa87
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'RG']) @component('componentes.input', ['label' => 'RG'])
<input type="number" class="form-control" min="1" maxlength="12" value="{{$participante->rg}}" name="rg" placeholder="RG" disabled /> <input type="text" class="form-control" min="1" maxlength="12" value="{{$participante->rg}}" name="rg" placeholder="RG" disabled />
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
...@@ -278,6 +278,16 @@ ...@@ -278,6 +278,16 @@
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6">
@component('componentes.input', ['label' => 'Data de Entrada'])
<input type="date" class="form-control" value="" name="data_entrada" placeholder="Data de Entrada" id="dt_entrada{{$participante->id}}" required />
@error('data_entrada')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong>
</span>
@enderror
@endcomponent
</div>
<div class="form-group col-md-6"> <div class="form-group col-md-6">
@component('componentes.input', ['label' => 'Link do currículo Lattes']) @component('componentes.input', ['label' => 'Link do currículo Lattes'])
<input class="form-control @error('linkLattes') is-invalid @enderror" type="text" name="linkLattes" placeholder="Link do currículo Lattes do estudante" id="linkLattes{{$participante->id}}" required > <input class="form-control @error('linkLattes') is-invalid @enderror" type="text" name="linkLattes" placeholder="Link do currículo Lattes do estudante" id="linkLattes{{$participante->id}}" required >
......
...@@ -46,7 +46,12 @@ ...@@ -46,7 +46,12 @@
<td> <td>
{{ $user->name }} {{ $user->name }}
</td> </td>
<td>{{ $user->tipo }}</td> @if($user->tipo != "avaliador")
<td>{{ $user->tipo }}</td>
@else
<td>{{ $user->tipo }} - {{ $user->avaliadors->tipo }} </td>
@endif
<td>{{ $user->creaet_at }}</td> <td>{{ $user->creaet_at }}</td>
<td> <td>
<div class="btn-group dropright dropdown-options"> <div class="btn-group dropright dropdown-options">
......
@extends('layouts.app')
@section('content')
<div class="container content">
<div class="row justify-content-center">
<div class="col-sm-12">
<div class="card" style="margin-top:50px">
<div class="card-body">
<a href="{{url()->previous()}}" class="btn btn-primary mb-2"> Voltar</a>
<h5 class="card-title">Parecer do avaliador: {{ $avaliador->user->name }}</h5>
<h6 class="card-title">Trabalho: {{ $trabalho->titulo }}</h6>
<p class="card-text">
<h3>Informações do proponente</h3>
{{-- Coordenador --}}
<div class="row">
<div class="col-sm-6">
<label for="nomeTrabalho" class="col-form-label">Link Lattes do Proponente</label>
<span class="form-control" name="linkLattesEstudante">
@if(App\Proponente::where('id', $trabalho->proponente_id)->first()->linkLattes != null)
{{ App\Proponente::where('id', $trabalho->proponente_id)->first()->linkLattes }}
@endif
</span>
</div>
<div class="col-sm-6" style="top: 40px;">
<label for="aceito">{{ __('Aceito') }}</label>
<input type="radio" name="anexoLinkLattes" value="aceito" @if($parecer!=null && $parecer->statusLinkLattesProponente =='aceito') checked @else disabled @endif required>
<label for="recusado" >{{ __('Recusado') }}</label>
<input type="radio" name="anexoLinkLattes" value="recusado" @if($parecer!=null && $parecer->statusLinkLattesProponente =='recusado') checked @else disabled @endif>
</div>
<div class="col-sm-6" >
<label for="nomeTrabalho" class="col-form-label">{{ __('Link do grupo de pesquisa:') }}</label>
<span class="form-control" name="linkGrupo">{{ $trabalho->linkGrupoPesquisa }}</span>
</div>
<div class="col-sm-6" style="top: 40px;">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoGrupoPesquisa" value="aceito" @if($parecer!=null && $parecer->statusLinkGrupoPesquisa =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoGrupoPesquisa" value="recusado" @if($parecer!=null && $parecer->statusLinkGrupoPesquisa =='recusado' ) checked @else disabled @endif>
</div>
</div>
<h3>Anexos</h3>
{{-- Anexo do Projeto --}}
<div class="row">
{{-- Arquivo --}}
<div class="col-sm-3">
<label for="anexoProjeto" class="col-form-label">{{ __('Projeto: ') }}</label>
<a href="{{ route('baixar.anexo.projeto', ['id' => $trabalho->id])}}">Arquivo</a>
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoProjeto" value="aceito" @if($parecer!=null && $parecer->statusAnexoProjeto =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoProjeto" value="recusado" @if($parecer!=null && $parecer->statusAnexoProjeto =='recusado' ) checked @else disabled @endif>
</div>
<div class="col-sm-3">
<label for="anexoLatterCoordenador" class="col-form-label">{{ __('Lattes do Coordenador: ') }}</label>
<a href="{{ route('baixar.anexo.lattes', ['id' => $trabalho->id]) }}">Arquivo</a>
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoLattesCoordenador" value="aceito" @if($parecer!=null && $parecer->statusAnexoLattesCoordenador =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoLattesCoordenador" value="recusado" @if($parecer!=null && $parecer->statusAnexoLattesCoordenador =='recusado' ) checked @else disabled @endif>
</div>
<div class="col-sm-3">
<label for="anexoPlanilha" class="col-form-label">{{ __('Planilha de Pontuação: ') }}</label>
<a href="{{ route('baixar.anexo.planilha', ['id' => $trabalho->id]) }}">Arquivo</a>
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoPlanilha" value="aceito" @if($parecer!=null && $parecer->statusAnexoPlanilhaPontuacao =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoPlanilha" value="recusado" @if($parecer!=null && $parecer->statusAnexoPlanilhaPontuacao =='recusado' ) checked @else disabled @endif>
</div>
@if($evento->tipo == 'PIBIC' || $evento->tipo == 'PIBIC-EM')
{{-- Decisão do CONSU --}}
<div class="col-sm-3">
<label for="anexoCONSU" class="col-form-label">{{ __('Decisão do CONSU: ') }}</label>
<a href="{{ route('baixar.anexo.consu', ['id' => $trabalho->id]) }}">Arquivo</a>
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoConsu" value="aceito" @if($parecer!=null && $parecer->statusAnexoDecisaoCONSU =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoConsu" value="recusado" @if($parecer!=null && $parecer->statusAnexoDecisaoCONSU =='recusado' ) checked @else disabled @endif>
</div>
@endif
<div class="col-sm-3">
<label for="nomeTrabalho" class="col-form-label">{{ __('Autorização do Comitê de Ética: ') }}</label>
@if($trabalho->anexoAutorizacaoComiteEtica != null)
<a href="{{ route('baixar.anexo.comite', ['id' => $trabalho->id]) }}">Arquivo</a>
@else
-
@endif
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoComiteEtica" value="aceito" @if($parecer!=null && $parecer->statusAnexoAtuorizacaoComiteEtica =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoComiteEtica" value="recusado" @if($parecer!=null && $parecer->statusAnexoAtuorizacaoComiteEtica =='recusado' ) checked @else disabled @endif>
</div>
<div class="col-sm-3">
<label for="nomeTrabalho" class="col-form-label">{{ __('Justificativa: ') }}</label>
@if($trabalho->justificativaAutorizacaoEtica != null)
<a href="{{ route('baixar.anexo.justificativa', ['id' => $trabalho->id]) }}">Arquivo</a>
@else
-
@endif
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoJustificativa" value="aceito" @if($parecer!=null && $parecer->statusJustificativaAutorizacaoEtica =='aceito' ) checked @else disabled @endif required>
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoJustificativa" value="recusado" @if($parecer!=null && $parecer->statusJustificativaAutorizacaoEtica =='recusado' ) checked @else disabled @endif>
</div>
{{--Planos de trabalho--}}
<div class="col-sm-3">
<label for="nomeTrabalho" class="col-form-label">{{ __('Plano de Trabalho: ') }}</label>
@if ($trabalho->participantes != null)
<a href=" " data-toggle="modal" data-target="#modalPlanos">Planos</a>
@else
-
@endif
</div>
<div class="col-sm-3" style="top: 5px; text-align: right">
<label for="aceito" style="left: auto">{{ __('Aceito') }}</label>
<input type="radio" name="anexoPlano" value="aceito" @if($parecer!=null && $parecer->statusPlanoTrabalho =='aceito' ) checked @else disabled @endif >
<label for="recusado">{{ __('Recusado') }}</label>
<input type="radio" name="anexoPlano" value="recusado" @if($parecer!=null && $parecer->statusPlanoTrabalho =='recusado' ) checked @else disabled @endif>
</div>
{{--Modal planos de trabalho--}}
<div class="modal fade" id="modalPlanos" tabindex="-1" role="dialog"
aria-labelledby="modalPlanosLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="modalPlanosLabel" align="center">
Planos de Trabalho</h4>
</div>
<div class="modal-body">
@foreach( $trabalho->participantes as $participante)
@php
if( App\Arquivo::where('participanteId', $participante->id)->first() != null){
$planoTrabalho = App\Arquivo::where('participanteId', $participante->id)->first();
}else{
$planoTrabalho = null;
}
@endphp
<div class="col-sm-12">
<label for="nomeTrabalho" class="col-form-label">{{ __('Plano de Trabalho: ') }}</label>
@if ($planoTrabalho != null)
<a href="{{route('download', ['file' => $planoTrabalho->nome])}}">{{$planoTrabalho->titulo}}</a>
@else
-
@endif
</div>
@endforeach
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">
Fechar
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('javascript')
<script type="text/javascript">
</script>
@endsection
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<thead> <thead>
<tr> <tr>
<th scope="col" style="width:100%">Nome do Edital</th> <th scope="col" style="width:100%">Nome do Edital</th>
<th scope="col">Data de Inicio da Revisão</th> <th scope="col">Data de Início da Revisão</th>
<th scope="col" style="text-align: center">Data de Fim da Revisão</th> <th scope="col" style="text-align: center">Data de Fim da Revisão</th>
<th scope="col">Opção</th> <th scope="col">Opção</th>
</tr> </tr>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="row justify-content-center" style="margin-top: 2rem;"> <div class="row justify-content-center" style="margin-top: 2rem;">
<div class="col-md-12 form-group" style="text-align: center"> <div class="col-md-12 form-group" style="text-align: center">
<h5 style="color: #1492E6; margin-top:0.5rem; font-size:25px">Página inicial</h5> <h5 style="color: #1492E6; margin-top:0.5rem; font-size:25px">Página inicial</h5>
<h5 style="color: #909090; margin-top:0.7rem; font-size:22px; font-weight:normal">Avaliador</h5> <h5 style="color: #909090; margin-top:0.7rem; font-size:22px; font-weight:normal">Avaliador {{Auth::user()->avaliadors->tipo}}</h5>
</div> </div>
<div class="" style="text-align: center"> <div class="" style="text-align: center">
<div class="form-group imagem_shadow" style="border-radius: 12px; padding:14px; height:200px; width:190px; margin:15px"> <div class="form-group imagem_shadow" style="border-radius: 12px; padding:14px; height:200px; width:190px; margin:15px">
......
...@@ -42,14 +42,20 @@ ...@@ -42,14 +42,20 @@
<div class="card-body" > <div class="card-body" >
<table class="table table-bordered table-hover" style="display: block; overflow-x: auto; white-space: nowrap; border-radius:10px; margin-bottom:0px"> <table class="table table-bordered table-hover" style="display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px">
<thead> <thead>
<tr> <tr>
<th scope="col" style="width:100%">Nome do Projeto</th> <th scope="col" style="width:100%">Nome do Projeto</th>
<th scope="col">Data de Criação</th> <th scope="col">Data de Criação</th>
<th scope="col">Projeto</th> @if(Auth::user()->avaliadors->tipo == 'Externo' || Auth::user()->avaliadors->tipo == null)
<th scope="col">Plano de Trabalho</th> <th scope="col">Projeto</th>
<th scope="col">Parecer</th> <th scope="col">Plano de Trabalho</th>
<th scope="col">Parecer Externo</th>
@else
<th scope="col">Status Parecer</th>
<th scope="col">Parecer Interno</th>
@endif
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -57,48 +63,70 @@ ...@@ -57,48 +63,70 @@
<tr> <tr>
<td style="max-width:100px; overflow-x:hidden; text-overflow:ellipsis">{{ $trabalho->titulo }}</td> <td style="max-width:100px; overflow-x:hidden; text-overflow:ellipsis">{{ $trabalho->titulo }}</td>
<td style="text-align: center">{{ $trabalho->created_at->format('d/m/Y') }}</td> <td style="text-align: center">{{ $trabalho->created_at->format('d/m/Y') }}</td>
<td style="text-align: center"> @if(Auth::user()->avaliadors->tipo == 'Externo' || Auth::user()->avaliadors->tipo == null)
{{-- --}} <td style="text-align: center">
<a href="{{route('download', ['file' => $trabalho->anexoProjeto])}}" target="_new" style="font-size: 20px; color: #114048ff;" class="btn btn-light"> {{-- --}}
<img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:15px"> <a href="{{route('download', ['file' => $trabalho->anexoProjeto])}}" target="_new" style="font-size: 20px; color: #114048ff;" class="btn btn-light">
</a> <img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:15px">
</td> </a>
<td style="text-align: center"> </td>
@foreach( $trabalho->participantes as $participante) <td style="text-align: center">
@foreach( $trabalho->participantes as $participante)
@php
if( App\Arquivo::where('participanteId', $participante->id)->first() != null){
$planoTrabalho = App\Arquivo::where('participanteId', $participante->id)->first()->nome;
}else{
$planoTrabalho = null;
}
@endphp
@if ($planoTrabalho != null)
<a href="{{route('download', ['file' => $planoTrabalho])}}" target="_new" style="font-size: 20px; color: #114048ff;" class="btn btn-light">
<img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:15px">
</a>
@else
Não planos de trabalho.
@endif
@endforeach
</td>
<td>
<div class="row justify-content-center">
<form action="{{ route('avaliador.parecer', ['evento' => $evento]) }}" method="POST">
@csrf
<input type="hidden" name="trabalho_id" value="{{ $trabalho->id }}" >
@if($trabalho->pivot->AnexoParecer == null)
<button type="submit" class="btn btn-primary mr-2 ml-2" >
Parecer
</button>
@else
<button type="submit" class="btn btn-secondary mr-2 ml-2" >
Enviado
</button>
@endif
</form>
</div>
</td>
@else
@php @php
if( App\Arquivo::where('participanteId', $participante->id)->first() != null){ $parecer = App\ParecerInterno::where([['avaliador_id',Auth::user()->avaliadors->id],['trabalho_id',$trabalho->id]])->first();
$planoTrabalho = App\Arquivo::where('participanteId', $participante->id)->first()->nome;
}else{
$planoTrabalho = null;
}
@endphp @endphp
@if ($planoTrabalho != null) <td style="text-align: center">
<a href="{{route('download', ['file' => $planoTrabalho])}}" target="_new" style="font-size: 20px; color: #114048ff;" class="btn btn-light"> @if($parecer != null && $parecer->statusParecer !=null){{$parecer->statusParecer}} @else Sem Parecer @endif
<img class="" src="{{asset('img/icons/file-download-solid.svg')}}" style="width:15px"> </td>
</a> <td>
@else <div class="row justify-content-center">
Não planos de trabalho. <form action="{{ route('avaliador.parecerInterno', ['evento' => $evento]) }}" method="POST">
@endif @csrf
@endforeach <input type="hidden" name="trabalho_id" value="{{ $trabalho->id }}">
</td>
<td> <button type="submit" class="btn btn-primary mr-2 ml-2">
<div class="row"> Parecer
<form action="{{ route('avaliador.parecer', ['evento' => $evento]) }}" method="POST"> </button>
@csrf
<input type="hidden" name="trabalho_id" value="{{ $trabalho->id }}" >
@if($trabalho->pivot->AnexoParecer == null)
<button type="submit" class="btn btn-primary mr-2 ml-2" >
Parecer
</button>
@else
<button type="submit" class="btn btn-secondary mr-2 ml-2" >
Enviado
</button>
@endif
</form> </form>
</div> </div>
</td> </td>
@endif
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
......
@extends('layouts.app')
@section('content')
<div class="row justify-content-center">
@component('projeto.formularioVisualizar.projeto',
['grandeAreas' => $grandeAreas, 'projeto' => $trabalho,
'areas' => $areas, 'subareas' => $subAreas])
@endcomponent
@component('projeto.formularioVisualizar.proponente', ['projeto' => $trabalho])
@endcomponent
@component('projeto.formularioVisualizar.anexos', ['projeto' => $trabalho])
@endcomponent
@component('projeto.formularioVisualizar.participantes', ['estados' => $estados, 'enum_turno' => $enum_turno, 'projeto' => $trabalho, 'participantes' => $participantes, 'arquivos' =>$arquivos])
@endcomponent
{{-- @component('projeto.formularioVisualizar.finalizar', ['projeto' => $projeto])
@endcomponent --}}
</div>
<div class="container col-md-11">
<div class="row justify-content-center" style="margin-top: 3rem;">
<div class="col-md-11" style="margin-bottom: -3rem">
<div class="card card_conteudo shadow bg-white" style="border-radius:12px; border-width:0px; overflow:auto">
<div class="card-header" style="border-top-left-radius: 12px; border-top-right-radius: 12px; background-color: #fff">
<div class="d-flex justify-content-between align-items-center" style="margin-top: 9px; margin-bottom:-1rem">
<div class="bottomVoltar" style="margin-top: -20px">
<a href="javascript:history.back()" class="btn btn-secondary" style=""><img src="{{asset('img/icons/logo_esquerda.png')}}" alt="" width="15px"></a>
</div>
<div class="form-group">
<h5 class="card-title mb-0" style="font-size:25px; font-family:Arial, Helvetica, sans-serif; color:#1492E6">Parecer Interno</h5>
<h5 class="card-title mb-0" style="font-size:19px; font-family:Arial, Helvetica, sans-serif; color:#909090">Projeto: {{ $trabalho->titulo }}</h5>
</div>
<div style="margin-top: -2rem">
<div class="form-group">
<div style="margin-top:30px;">
{{-- Pesquisar--}}
</div>
</div>
</div>
</div>
</div>
<div class="card-body" >
<form method="POST" action="{{route('avaliador.enviarParecerInterno')}}" enctype="multipart/form-data">
@csrf
<input type="hidden" name="trabalho_id" value="{{$trabalho->id}}" >
<input type="hidden" name="avaliador_id" value="{{Auth::user()->avaliadors->id}}" >
<input type="hidden" name="evento_id" value="{{$evento->id}}" >
<h3>Informações do proponente</h3>
{{-- Coordenador --}}
<div class="row">
<div class="col-sm-10">
<label for="nomeTrabalho" class="col-form-label">Lattes do Proponente: </label>
<label for="aceito">{{ __(' Aceito') }}</label>
<input type="radio" name="anexoLinkLattes" value="aceito" @if($parecer!=null && $parecer->statusLinkLattesProponente =='aceito') checked @endif required>
<label for="recusado" >{{ __(' Recusado') }}</label>
<input type="radio" name="anexoLinkLattes" value="recusado" @if($parecer!=null && $parecer->statusLinkLattesProponente =='recusado') checked @endif>
</div>
<div class="col-sm-10" >
<label for="nomeTrabalho" class="col-form-label">{{ __('Grupo de pesquisa: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceito') }}</label>
<input type="radio" name="anexoGrupoPesquisa" value="aceito" @if($parecer!=null && $parecer->statusLinkGrupoPesquisa =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusado') }}</label>
<input type="radio" name="anexoGrupoPesquisa" value="recusado" @if($parecer!=null && $parecer->statusLinkGrupoPesquisa =='recusado' ) checked @endif>
</div>
</div>
<h3>Anexos</h3>
{{-- Anexo do Projeto --}}
<div class="row">
{{-- Arquivo --}}
<div class="col-sm-6">
<label for="anexoProjeto" class="col-form-label">{{ __('Projeto: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceito') }}</label>
<input type="radio" name="anexoProjeto" value="aceito" @if($parecer!=null && $parecer->statusAnexoProjeto =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusado') }}</label>
<input type="radio" name="anexoProjeto" value="recusado" @if($parecer!=null && $parecer->statusAnexoProjeto =='recusado' ) checked @endif>
</div>
<div class="col-sm-6">
<label for="anexoLatterCoordenador" class="col-form-label">{{ __('Lattes do Coordenador: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceito') }}</label>
<input type="radio" name="anexoLattesCoordenador" value="aceito" @if($parecer!=null && $parecer->statusAnexoLattesCoordenador =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusado') }}</label>
<input type="radio" name="anexoLattesCoordenador" value="recusado" @if($parecer!=null && $parecer->statusAnexoLattesCoordenador =='recusado' ) checked @endif>
</div>
<div class="col-sm-6">
<label for="anexoPlanilha" class="col-form-label">{{ __('Planilha de Pontuação: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceita') }}</label>
<input type="radio" name="anexoPlanilha" value="aceito" @if($parecer!=null && $parecer->statusAnexoPlanilhaPontuacao =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusada') }}</label>
<input type="radio" name="anexoPlanilha" value="recusado" @if($parecer!=null && $parecer->statusAnexoPlanilhaPontuacao =='recusado' ) checked @endif>
</div>
@if($evento->tipo == 'PIBIC' || $evento->tipo == 'PIBIC-EM')
{{-- Decisão do CONSU --}}
<div class="col-sm-6">
<label for="anexoCONSU" class="col-form-label">{{ __('Decisão do CONSU: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceito') }}</label>
<input type="radio" name="anexoConsu" value="aceito" @if($parecer!=null && $parecer->statusAnexoDecisaoCONSU =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusado') }}</label>
<input type="radio" name="anexoConsu" value="recusado" @if($parecer!=null && $parecer->statusAnexoDecisaoCONSU =='recusado' ) checked @endif>
</div>
@endif
<div class="col-sm-6">
<label for="nomeTrabalho" class="col-form-label">{{ __('Autorização do Comitê de Ética: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceita') }}</label>
<input type="radio" name="anexoComiteEtica" value="aceito" @if($parecer!=null && $parecer->statusAnexoAtuorizacaoComiteEtica =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusada') }}</label>
<input type="radio" name="anexoComiteEtica" value="recusado" @if($parecer!=null && $parecer->statusAnexoAtuorizacaoComiteEtica =='recusado' ) checked @endif>
</div>
<div class="col-sm-6">
<label for="nomeTrabalho" class="col-form-label">{{ __('Justificativa: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceita') }}</label>
<input type="radio" name="anexoJustificativa" value="aceito" @if($parecer!=null && $parecer->statusJustificativaAutorizacaoEtica =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusada') }}</label>
<input type="radio" name="anexoJustificativa" value="recusado" @if($parecer!=null && $parecer->statusJustificativaAutorizacaoEtica =='recusado' ) checked @endif>
</div>
{{--Planos de trabalho--}}
<div class="col-sm-6">
<label for="nomeTrabalho" class="col-form-label">{{ __('Plano de Trabalho: ') }}</label>
<label for="aceito" style="left: auto">{{ __(' Aceito') }}</label>
<input type="radio" name="anexoPlano" value="aceito" @if($parecer!=null && $parecer->statusPlanoTrabalho =='aceito' ) checked @endif required>
<label for="recusado">{{ __(' Recusado') }}</label>
<input type="radio" name="anexoPlano" value="recusado" @if($parecer!=null && $parecer->statusPlanoTrabalho =='recusado' ) checked @endif>
</div>
</div>
<div><hr></div>
<div class="d-flex justify-content-end">
<div style="margin-right: 15px"><a href="{{ route('avaliador.visualizarTrabalho', ['evento_id' => $evento->id])}}" class="btn btn-light" style="color: red;">Cancelar</a></div>
<div><button type="submit" class="btn btn-success">Enviar meu parecer</button></div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('javascript')
<script type="text/javascript">
</script>
@endsection
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
function gerarPeriodo(e){ function gerarPeriodo(e){
var select = e.parentElement.parentElement.nextElementSibling; var select = e.parentElement.parentElement.nextElementSibling;
selectPeriodos = select.children[0].children[1]; selectPeriodos = select.children[0].children[1];
var html = `<option value="" disabled selected>-- TOTAL DE PERIODOS --</option>`; var html = `<option value="" disabled selected>-- TOTAL DE PERÍODOS --</option>`;
for(var i = 0; i < parseInt(e.value); i++) { for(var i = 0; i < parseInt(e.value); i++) {
html += `<option value="${i+1}">${i+1}º</option>`; html += `<option value="${i+1}">${i+1}º</option>`;
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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