"...views/projeto/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "bfdee197a5e04d9f81aa36283ff5033a4d3a7d1e"
Unverified Commit 36fdbf98 authored by GuilhermeGz's avatar GuilhermeGz Committed by GitHub
Browse files

Merge pull request #195 from GuilhermeGz/master

Atualizações do sistema
parents fc44964c 768e06e6
...@@ -2,7 +2,13 @@ ...@@ -2,7 +2,13 @@
@section('content') @section('content')
<div class="container" style="margin-top: 100px;"> <div class="container" style="margin-top: 100px;">
<div class="row justify-content-center"> @if (session('sucesso'))
<div class="alert alert-success" role="alert">
{{ session('sucesso') }}
</div>
@endif
<div class="row justify-content-center">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="row" > <div class="row" >
<div class="col-sm-4"> <div class="col-sm-4">
...@@ -33,6 +39,7 @@ ...@@ -33,6 +39,7 @@
<table class="table table-bordered" style="display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px"> <table class="table table-bordered" style="display: block; white-space: nowrap; border-radius:10px; margin-bottom:0px">
<thead> <thead>
<tr> <tr>
<th scope="col">Posição</th>
<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>
...@@ -44,9 +51,11 @@ ...@@ -44,9 +51,11 @@
</tr> </tr>
</thead> </thead>
<tbody id="projetos"> <tbody id="projetos">
@php $cont=1;@endphp
@foreach($trabalhos as $trabalho) @foreach($trabalhos as $trabalho)
@if($trabalho->status == 'aprovado') @if($trabalho->status == 'aprovado')
<tr> <tr>
<td>{{$cont}}</td>
<td>{{$trabalho->pontuacao}}</td> <td>{{$trabalho->pontuacao}}</td>
<td style="max-width:100px; overflow-x:hidden; text-overflow:ellipsis"> <td style="max-width:100px; overflow-x:hidden; text-overflow:ellipsis">
{{$trabalho->titulo}} {{$trabalho->titulo}}
...@@ -90,26 +99,19 @@ ...@@ -90,26 +99,19 @@
</button> </button>
</td> </td>
</tr> </tr>
@php $cont+=1;@endphp
@endif @endif
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div class="row justify-content-center" >
<div class="col-md-12">
<br>
{{ $trabalhos->links() }}
</div>
</div>
</div> </div>
{{--Janelas--}} {{--Janelas--}}
@foreach($trabalhos as $trabalho) @foreach($trabalhos as $trabalho)
<div class="modal fade" id="modalConfirmTrab{{$trabalho->id}}" tabindex="-1" role="dialog" <div class="modal fade" id="modalConfirmTrab{{$trabalho->id}}" tabindex="-1" role="dialog"
aria-labelledby="modalConfirmLabel" aria-hidden="true"> aria-labelledby="modalConfirmLabel" aria-hidden="true">
<div class="modal-dialog modal-md modal-dialog-centered" role="document"> <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h4 class="modal-title" id="modalConfirmLabel" align="center" title="Participantes do {{$trabalho->titulo}}"> <h4 class="modal-title" id="modalConfirmLabel" align="center" title="Participantes do {{$trabalho->titulo}}">
...@@ -121,19 +123,18 @@ ...@@ -121,19 +123,18 @@
<div class="modal-body"> <div class="modal-body">
@foreach($trabalho->participantes as $participante) @foreach($trabalho->participantes as $participante)
<div class="row modal-header-submeta"> <div class="row modal-header-submeta">
<div class="col-sm-8"> <div class="col-sm-7" style="padding-left: 0px">
<p style="font-size: 22px">Discente: {{$participante->user->name}}</p> <p style="font-size: 22px">Discente: {{$participante->user->name}}</p>
</div> </div>
<div class="col-sm-4" align="left" style="padding-left: 0px"> <div class="col-sm-5 text-right" style="padding-right: 0px">
<button type="button" class="btn btn-primary" data-dismiss="modal" data-toggle="modal" data-target="#modalConfirm{{$participante->id}}" onclick="myFunction({{$trabalho->id}})"> <form id="alteracao_bolsa{{$participante->id}}" method="POST" action="{{route('bolsa.alterar')}}">
@if($participante->tipoBolsa==null) @csrf
Não Definida <input type="hidden" id="participante_{{$participante->id}}" name="id" value="{{$participante->id}}">
@elseif($participante->tipoBolsa == "Voluntario") <input type="radio" id="bolsista{{$participante->id}}" name="tipo" value="Bolsista" required @if($participante->tipoBolsa=='Bolsista') checked @endif> Bolsista
Voluntário <input type="radio" id="voluntario{{$participante->id}}" name="tipo" value="Voluntario" required @if($participante->tipoBolsa=='Voluntario') checked @endif> Voluntario
@else
{{$participante->tipoBolsa}} <button type="submit" class="btn btn-primary" form="alteracao_bolsa{{$participante->id}}">Definir</button>
@endif </form>
</button>
</div> </div>
</div> </div>
<br> <br>
...@@ -142,60 +143,6 @@ ...@@ -142,60 +143,6 @@
</div> </div>
</div> </div>
</div> </div>
@foreach($trabalho->participantes as $participante)
{{-- Janela de alocação de bolsa--}}
<div class="modal fade" id="modalConfirm{{$participante->id}}" tabindex="-1" role="dialog"
aria-labelledby="modalConfirmLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="modalConfirmLabel" align="center">
Confirmar alteração do tipo de bolsa ?</h4>
</div>
@if($participante->tipoBolsa!=null)
<div class="modal-body">
<h5 class="modal-title" id="modalConfirmLabel" align="center">
@if($participante->tipoBolsa=='Voluntario')
O discente {{$participante->user->name}} será definido como bolsista
@else
O discente {{$participante->user->name}} será definido como voluntário
@endif
</h5>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">
Não
</button>
<a type="button" href="{{ route('bolsa.alterar',['id'=>$participante->id, 'tipo'=>1]) }}" id="btnSubmit" class="btn btn-info">
Sim
</a>
</div>
@else
<div class="modal-body">
<div class="row">
<div class="col-6">
<a style="float: right;" type="button" href="{{ route('bolsa.alterar',['id'=>$participante->id, 'tipo'=>1]) }}" id="btnSubmit" class="btn btn-info">
Voluntário
</a>
</div>
<div class="col-6">
<a style="float: left;" type="button" href="{{ route('bolsa.alterar',['id'=>$participante->id, 'tipo'=>2]) }}" id="btnSubmit" class="btn btn-info">
Bolsista
</a>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">
Cancelar
</button>
</div>
@endif
</div>
</div>
</div>
@endforeach
@endforeach @endforeach
@endsection @endsection
...@@ -204,7 +151,7 @@ ...@@ -204,7 +151,7 @@
<script> <script>
function buscarProjeto(input) { function buscarProjeto(input) {
var projetos = document.getElementById('projetos').children; var projetos = document.getElementById('projetos').children;
if(input.value.length > 2) { if(input.value.length > 2) {
for(var i = 0; i < projetos.length; i++) { for(var i = 0; i < projetos.length; i++) {
var nomeProjeto = projetos[i].innerText; var nomeProjeto = projetos[i].innerText;
if(nomeProjeto.substr(0).indexOf(input.value) >= 0) { if(nomeProjeto.substr(0).indexOf(input.value) >= 0) {
......
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade" class="form-control" id="ordem{{$participante->id}}" required> <select name="ordem_prioridade" class="form-control" id="ordem{{$participante->id}}" required>
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) <option value="{{ $j }}">{{ $j }}</option> @for($j = 1; $j <= $edital->numParticipantes; $j++) <option value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
</select> </select>
......
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade" class="form-control" id="ordem{{$participante->id}}" required> <select name="ordem_prioridade" class="form-control" id="ordem{{$participante->id}}" required>
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) <option value="{{ $j }}">{{ $j }}</option> @for($j = 1; $j <= $edital->numParticipantes; $j++) <option value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
</select> </select>
......
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade" class="form-control" id="ordem{{$participante->id}}" required> <select name="ordem_prioridade" class="form-control" id="ordem{{$participante->id}}" required>
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) <option value="{{ $j }}">{{ $j }}</option> @for($j = 1; $j <= $edital->numParticipantes; $j++) <option value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
</select> </select>
......
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade" class="form-control" id="ordemManter{{$participante->id}}" disabled> <select name="ordem_prioridade" class="form-control" id="ordemManter{{$participante->id}}" disabled>
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) <option value="{{ $j }}">{{ $j }}</option> @for($j = 1; $j <= $edital->numParticipantes; $j++) <option value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
</select> </select>
......
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
<label for="exampleFormControlTextarea1">Parecer</label> <label for="exampleFormControlTextarea1">Parecer</label>
<textarea class="form-control" id="exampleFormControlTextarea1" disabled="disabled" rows="3"> {{ $parecer->parecer }} </textarea> <textarea class="form-control" id="exampleFormControlTextarea1" disabled="disabled" rows="3"> {{ $parecer->parecer }} </textarea>
</div> </div>
@if($trabalho->evento->tipo == "PIBEX")
<div class="form-group">
<label for="exampleFormControlSelect1">Pontuação: <strong>{{ $parecer->pontuacao }}</strong> </label>
</div>
@endif
<div class="form-group"> <div class="form-group">
<label for="exampleFormControlSelect1">Recomendação: <strong>{{ $parecer->recomendacao }}</strong> </label> <label for="exampleFormControlSelect1">Recomendação: <strong>{{ $parecer->recomendacao }}</strong> </label>
</div> </div>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
@endcomponent @endcomponent
</div> </div>
<!--Anecos do Projeto--> <!--Anexos do Projeto-->
<div class="col-md-10" style="margin-top:20px"> <div class="col-md-10" style="margin-top:20px">
<div class="card" style="border-radius: 5px"> <div class="card" style="border-radius: 5px">
<div class="card-body" style="padding-top: 0.2rem;"> <div class="card-body" style="padding-top: 0.2rem;">
...@@ -23,13 +23,14 @@ ...@@ -23,13 +23,14 @@
{{-- Anexo do Projeto --}} {{-- Anexo do Projeto --}}
<div class="row justify-content-left"> <div class="row justify-content-left">
{{-- Arquivo --}} {{-- Arquivo --}}
<div class="col-sm-4"> <div class="col-sm-12">
<label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Projeto: ') }}</label> <label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Projeto: ') }}</label>
<a href="{{ route('baixar.anexo.projeto', ['id' => $trabalho->id])}}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a> <a href="{{ route('baixar.anexo.projeto', ['id' => $trabalho->id])}}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
</div> </div>
<br>
{{-- Autorização Especial --}} {{-- Autorização Especial --}}
<div class="col-sm-4"> <div class="col-sm-12">
<label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Autorização Especial: ') }}</label> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Autorização Especial: ') }}</label>
@if($trabalho->anexoAutorizacaoComiteEtica != null) @if($trabalho->anexoAutorizacaoComiteEtica != null)
<a href="{{ route('baixar.anexo.comite', ['id' => $trabalho->id]) }}"> <img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a> <a href="{{ route('baixar.anexo.comite', ['id' => $trabalho->id]) }}"> <img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
...@@ -37,6 +38,7 @@ ...@@ -37,6 +38,7 @@
- -
@endif @endif
</div> </div>
<br>
{{-- Anexo(s) do Plano(s) de Trabalho --}} {{-- Anexo(s) do Plano(s) de Trabalho --}}
@foreach( $trabalho->participantes as $participante) @foreach( $trabalho->participantes as $participante)
@php @php
...@@ -46,12 +48,12 @@ ...@@ -46,12 +48,12 @@
$planoTrabalhoTemp = null; $planoTrabalhoTemp = null;
} }
@endphp @endphp
<div class="col-sm-4"> <div class="col-sm-12">
<label for="anexoProjeto" class="col-form-label font-tam limit" style="font-weight: bold" <label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold"
title="{{$participante->planoTrabalho->titulo}}">{{ __('Projeto: ') }}{{$participante->planoTrabalho->titulo}}</label> title="{{$participante->planoTrabalho->titulo}}">{{ __('Projeto: ') }}{{$participante->planoTrabalho->titulo}}</label>
@if($planoTrabalhoTemp != null) @if($planoTrabalhoTemp != null)
<a href="{{route('download', ['file' => $planoTrabalhoTemp])}}"><img src="{{asset('img/icons/pdf.ico')}}" style="width:40px;margin-bottom: 35px" alt=""></a> <a href="{{route('download', ['file' => $planoTrabalhoTemp])}}"><img src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
@endif @endif
</div> </div>
@endforeach @endforeach
...@@ -92,6 +94,22 @@ ...@@ -92,6 +94,22 @@
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name="textParecer" placeholder="Digite aqui o seu parecer" required>{{ $trabalho->pivot->parecer }}</textarea> <textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name="textParecer" placeholder="Digite aqui o seu parecer" required>{{ $trabalho->pivot->parecer }}</textarea>
@endcomponent @endcomponent
</div> </div>
<div class="form-group">
<div class="row justify-content-start">
<div class="col-sm-3">
@component('componentes.input', ['label' => 'Pontuação calculada'])
<input type="number" min="0" step="1" name="pontuacao" style="width: 70px"
@if($trabalho->pivot!=null && $trabalho->pivot->pontuacao !=null )
value="{{$trabalho->pivot->pontuacao}}"
@else value="0"
@endif required>
@endcomponent
</div>
</div>
</div>
<select class="custom-select" name="recomendacao" > <select class="custom-select" name="recomendacao" >
<option @if($trabalho->pivot->recomendacao =='RECOMENDADO' ) selected @endif value="RECOMENDADO">RECOMENDADO</option> <option @if($trabalho->pivot->recomendacao =='RECOMENDADO' ) selected @endif value="RECOMENDADO">RECOMENDADO</option>
<option @if($trabalho->pivot->recomendacao =='NAO-RECOMENDADO' ) selected @endif value="NAO-RECOMENDADO">NAO-RECOMENDADO</option> <option @if($trabalho->pivot->recomendacao =='NAO-RECOMENDADO' ) selected @endif value="NAO-RECOMENDADO">NAO-RECOMENDADO</option>
...@@ -145,14 +163,6 @@ ...@@ -145,14 +163,6 @@
</div> </div>
@endsection @endsection
<style>
.limit {
max-width: 35ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>
@section('javascript') @section('javascript')
<script type="text/javascript"> <script type="text/javascript">
......
...@@ -5,19 +5,29 @@ ...@@ -5,19 +5,29 @@
</head> </head>
<body> <body>
@if($tipo == 'resultado') @if($tipo == 'resultado')
<h4>Resultado pedido de substituição</h4> <h4>Saudações</h4>
<p>A sua solicitação de substituição no projeto <strong>{{$projeto->titulo}}</strong> foi analisada e o resultado você pode conferir <a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}">aqui.</a></p> <p>O pedido de substituição de estudante no projeto {{$projeto->titulo}} foi analisado e obteve o seguinte resultado: {{$status}}</p>
<p>O resultado também pode conferir-se <a href="{{route('trabalho.trocaParticipante', ['evento_id' => $projeto->evento->id, 'projeto_id' => $projeto->id])}}">aqui.</a></p>
<p> <p>
Atenciosamente, Atenciosamente,
<br> <br>
Equipe submeta. Universidade Federal do Agreste de Pernambuco.
</p> </p>
@else @else
<h4>Um pedido de substituição foi solicitado</h4> <h4>Saudações</h4>
<p>O proponente <strong>{{$projeto->proponente->user->name}}</strong> solicitou uma substituição no projeto <strong>{{$projeto->titulo}}</strong> do edital <strong>{{$edital->nome}}</strong> </p>
<p><a href="{{route('trabalho.telaAnaliseSubstituicoes', ['trabalho_id' => $projeto->id])}}" class="">Clique aqui</a> para analisar.</p> <p>O(A) proponente / coordenador(a) solicitou a substituição de
@if($sub=="TrocarPlano")plano de trabalho @elseif(
$sub=="ManterPLano")participante @else
participante e plano de trabalho @endif
no projeto {{$projeto->titulo}} do edital {{$edital->nome}}.</p>
<p>Solicitamos gentilmente que acesse o sistema Submeta através do <a href="{{route('trabalho.telaAnaliseSubstituicoes', ['trabalho_id' => $projeto->id])}}">LINK</a> para avaliar a solicitação.</p>
<p>
Atenciosamente,
<br>
Universidade Federal do Agreste de Pernambuco.
</p>
@endif @endif
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -8,18 +8,17 @@ ...@@ -8,18 +8,17 @@
<h3>Prezado(a) Avaliador(a), saudações!</h3> <h3>Prezado(a) Avaliador(a), saudações!</h3>
<p> <p>
Agradecemos seu aceite para participar do Comitê Externo do {{$nomeEvento}} da Universidade Federal do Agreste de Pernambuco (UFAPE). Agradecemos seu aceite para participar da avaliação de propostas do Edital {{$nomeEvento}} da Universidade Federal do Agreste de Pernambuco (UFAPE).
<br>Solicitamos gentilmente que acesse o sistema Submeta através do <a href="{{ url('http://sistemas.ufape.edu.br/submeta/') }}">LINK</a> e da senha {{$senhaTemporaria}} para concluir seu cadastro e receber os projetos para avaliação. <br>Solicitamos gentilmente que acesse o sistema Submeta através do <a href="{{ url('http://sistemas.ufape.edu.br/submeta/') }}">LINK</a> e da senha {{$senhaTemporaria}} para concluir seu cadastro e receber os projetos para avaliação.
@if($tipoEvento == 'PIBITI') @if($tipoEvento == 'PIBITI')
<br>Aproveitamos para enviar os arquivos para emissão do Parecer do Projeto, bem como Termo de Confidencialidade que deverão ser compactados e anexados ao sistema. <br><strong>Obs:</strong>Aproveitamos para enviar os arquivos para emissão do Parecer do Projeto, bem como Termo de Confidencialidade que deverão ser compactados e anexados ao sistema.
<br><br>Desde já, a UFAPE agradece toda a atenção dispensada por Vossa Senhoria. <br><br>Atenciosamente,
<br>Comitê Interno PIBITI - UFAPE <br>Universidade Federal do Agreste de Pernambuco
@else @else
<br>Aproveitamos para enviar o formulário de avaliação que deverá ser anexado ao sistema com o seu parecer. <br><strong>Obs:</strong>Aproveitamos para enviar o formulário de avaliação que deverá ser anexado ao sistema com o seu parecer.
<br><br>Desde já, a UFAPE agradece toda a atenção dispensada por Vossa Senhoria. <br><br>Atenciosamente,
<br>Karla Andrade <br>Universidade Federal do Agreste de Pernambuco
<br>Comitê Interno PIBIC/PIC - UFAPE
@endif @endif
</p> </p>
...@@ -41,17 +40,16 @@ ...@@ -41,17 +40,16 @@
<h3>Prezado(a) Avaliador(a), saudações!</h3> <h3>Prezado(a) Avaliador(a), saudações!</h3>
<p> <p>
Agradecemos seu aceite para participar do Comitê Externo do {{$nomeEvento}} da Universidade Federal do Agreste de Pernambuco (UFAPE). Agradecemos seu aceite para participar da avaliação de propostas do Edital {{$nomeEvento}} da Universidade Federal do Agreste de Pernambuco (UFAPE).
<br>Solicitamos gentilmente que acesse o sistema Submeta através do <a href="{{ url('http://sistemas.ufape.edu.br/submeta/') }}">LINK</a>. <br>Solicitamos gentilmente que acesse o sistema Submeta através do <a href="{{ url('http://sistemas.ufape.edu.br/submeta/') }}">LINK</a> para dar seguimentos nas avaliações.
@if($tipoEvento == 'PIBITI') @if($tipoEvento == 'PIBITI')
<br>Aproveitamos para enviar os arquivos para emissão do Parecer do Projeto, bem como Termo de Confidencialidade que deverão ser compactados e anexados ao sistema. <br><strong>Obs:</strong>Aproveitamos para enviar os arquivos para emissão do Parecer do Projeto, bem como Termo de Confidencialidade que deverão ser compactados e anexados ao sistema.
<br><br>Desde já, a UFAPE agradece toda a atenção dispensada por Vossa Senhoria. <br><br>Atenciosamente,
<br>Comitê Interno PIBITI - UFAPE <br>Universidade Federal do Agreste de Pernambuco
@else @else
<br>Aproveitamos para enviar o formulário de avaliação que deverá ser anexado ao sistema com o seu parecer. <br><strong>Obs:</strong>Aproveitamos para enviar o formulário de avaliação que deverá ser anexado ao sistema com o seu parecer.
<br><br>Desde já, a UFAPE agradece toda a atenção dispensada por Vossa Senhoria. <br><br>Atenciosamente,
<br>Karla Andrade <br>Universidade Federal do Agreste de Pernambuco
<br>Comitê Interno PIBIC/PIC - UFAPE
@endif @endif
</p> </p>
@endif @endif
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
<option @if(old('tipo')=='PIBIC' ) selected @endif value="PIBIC">PIBIC</option> <option @if(old('tipo')=='PIBIC' ) selected @endif value="PIBIC">PIBIC</option>
<option @if(old('tipo')=='PIBIC-EM' ) selected @endif value="PIBIC-EM">PIBIC-EM</option> <option @if(old('tipo')=='PIBIC-EM' ) selected @endif value="PIBIC-EM">PIBIC-EM</option>
<option @if(old('tipo')=='PIBITI' ) selected @endif value="PIBITI">PIBITI</option> <option @if(old('tipo')=='PIBITI' ) selected @endif value="PIBITI">PIBITI</option>
<option @if(old('tipo')=='PIBEX' ) selected @endif value="PIBEX">PIBEX</option>
</select> </select>
@error('tipo') @error('tipo')
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
@enderror @enderror
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<label for="numParticipantes" class="col-form-label">{{ __('Nº de Participantes*:') }}</label> <label for="numParticipantes" class="col-form-label">{{ __('Nº de Bolsistas*:') }}</label>
<input id="numParticipantes" type="number" min="1" max="20" class="form-control @error('numParticipantes') is-invalid @enderror" name="numParticipantes" value="{{ old('numParticipantes') }}" required autocomplete="numParticipantes" autofocus> <input id="numParticipantes" type="number" min="1" max="20" class="form-control @error('numParticipantes') is-invalid @enderror" name="numParticipantes" value="{{ old('numParticipantes') }}" required autocomplete="numParticipantes" autofocus>
...@@ -67,8 +68,7 @@ ...@@ -67,8 +68,7 @@
@enderror @enderror
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">
<label for="consu" class="col-form-label">{{ __('Consu obrigatório?*') }}</label> <label for="consu" class="col-form-label">{{ __('CONSEPE obrigatório?*') }}</label>
<br>
<input type="checkbox" name="consu" id="consu"> <input type="checkbox" name="consu" id="consu">
{{-- <input id="consu" type="checkbox" class="form-control @error('consu') is-invalid @enderror" name="consu" @if(old('consu')) checked @endif required autocomplete="consu" autofocus> --}} {{-- <input id="consu" type="checkbox" class="form-control @error('consu') is-invalid @enderror" name="consu" @if(old('consu')) checked @endif required autocomplete="consu" autofocus> --}}
...@@ -77,6 +77,16 @@ ...@@ -77,6 +77,16 @@
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
<br>
<label for="cotaDoutor" class="col-form-label">{{ __('Cota para recém doutor?') }}</label>
<input type="checkbox" name="cotaDoutor" id="cotaDoutor">
@error('cotaDoutor')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div> </div>
</div>{{-- end nome | Participantes | Tipo--}} </div>{{-- end nome | Participantes | Tipo--}}
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
<option value="PIBIC" {{ $evento->tipo == "PIBIC" ? 'selected' :'' }}>PIBIC</option> <option value="PIBIC" {{ $evento->tipo == "PIBIC" ? 'selected' :'' }}>PIBIC</option>
<option value="PIBIC-EM" {{ $evento->tipo == "PIBIC-EM" ? 'selected' :'' }}>PIBIC-EM</option> <option value="PIBIC-EM" {{ $evento->tipo == "PIBIC-EM" ? 'selected' :'' }}>PIBIC-EM</option>
<option value="PIBITI" {{ $evento->tipo == "PIBITI" ? 'selected' :'' }}>PIBITI</option> <option value="PIBITI" {{ $evento->tipo == "PIBITI" ? 'selected' :'' }}>PIBITI</option>
<option value="PIBEX" {{ $evento->tipo == "PIBEX" ? 'selected' :'' }}>PIBEX</option>
</select> </select>
@error('tipo') @error('tipo')
<span class="invalid-feedback" role="alert"> <span class="invalid-feedback" role="alert">
...@@ -61,7 +62,7 @@ ...@@ -61,7 +62,7 @@
@enderror @enderror
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<label for="numParticipantes" class="col-form-label">{{ __('Nº de Discentes*:') }}</label> <label for="numParticipantes" class="col-form-label">{{ __('Nº de Bolsistas*:') }}</label>
<input id="numParticipantes" type="number" min="1" max="20" class="form-control @error('numParticipantes') is-invalid @enderror" name="numParticipantes" value="{{ $evento->numParticipantes }}" required autocomplete="numParticipantes" autofocus> <input id="numParticipantes" type="number" min="1" max="20" class="form-control @error('numParticipantes') is-invalid @enderror" name="numParticipantes" value="{{ $evento->numParticipantes }}" required autocomplete="numParticipantes" autofocus>
@error('numParticipantes') @error('numParticipantes')
...@@ -71,8 +72,7 @@ ...@@ -71,8 +72,7 @@
@enderror @enderror
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">
<label for="consu" class="col-form-label">{{ __('Consu obrigatório?*') }}</label> <label for="consu" class="col-form-label">{{ __('CONSEPE obrigatório?*') }}</label>
<br>
<input type="checkbox" @if($evento->consu) checked @endif name="consu" id="consu"> <input type="checkbox" @if($evento->consu) checked @endif name="consu" id="consu">
{{-- <input id="consu" type="checkbox" class="form-control @error('consu') is-invalid @enderror" name="consu" @if(old('consu')) checked @endif required autocomplete="consu" autofocus> --}} {{-- <input id="consu" type="checkbox" class="form-control @error('consu') is-invalid @enderror" name="consu" @if(old('consu')) checked @endif required autocomplete="consu" autofocus> --}}
...@@ -81,6 +81,17 @@ ...@@ -81,6 +81,17 @@
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
<br>
<label for="cotaDoutor" class="col-form-label">{{ __('Cota para recém doutor?') }}</label>
<input type="checkbox" @if($evento->cotaDoutor) checked @endif name="cotaDoutor" id="cotaDoutor">
@error('cotaDoutor')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div> </div>
</div>{{-- end nome | Participantes | Tipo--}} </div>{{-- end nome | Participantes | Tipo--}}
......
<!-- Anexos --> <!-- Anexos -->
<div class="col-md-10" style="text-align: center; margin-top:2rem"><h4 style="margin-top: 1rem;">3º Passo</h4></div> <div class="col-md-12" style="margin-top: 20px">
<div class="col-md-10" style="text-align: center;"><h5 style="margin-bottom:1rem;color:#909090">Anexos</h5></div> <div class="card" style="border-radius: 5px">
<div class="col-md-10"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="card" style="border-radius: 12px">
<div class="card-body">
<div class="container"> <div class="container">
<div class="form-row mt-3"> <div class="form-row mt-3">
<div class="col-md-12"><h5 style="color: #1492E6; margin-bottom:-0.4rem">Anexos</h5></div> <div class="col-md-12"><h5 style="color: #234B8B; font-weight: bold">Anexos</h5></div>
<div class="col-md-12" style="margin-bottom: -0.8rem;"><hr style="border-top: 1px solid#1492E6"></div> </div>
<hr style="border-top: 1px solid#1492E6; margin-bottom: 10px" >
{{-- Anexo do Projeto --}}
<div class="row justify-content-start">
{{-- Arquivo --}}
<div class="form-group col-md-6" style="margin-top: 10px"> <div class="form-group col-md-6">
@component('componentes.input', ['label' => 'Projeto (.pdf)']) <label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Projeto: ') }}</label>
<input type="file" class="input-group-text" name="anexoProjeto" placeholder="nomeProjeto" accept="application/pdf" /> <input type="file" class="input-group-text" name="anexoProjeto" placeholder="nomeProjeto" accept="application/pdf" />
@error('anexoProjeto') @error('anexoProjeto')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent
</div> </div>
<div class="form-group col-md-6" style="margin-top: 10px"> @if($edital->tipo != "PIBEX")
@component('componentes.input', ['label' => 'Currículo Lattes do Proponente (.pdf)']) <div class="form-group col-md-6" style="margin-top: 10px">
<input type="file" class="input-group-text" name="anexoLattesCoordenador" placeholder="anexoPlanoTrabalho" accept=".pdf" /> <label for="anexoLatterCoordenador" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes do Coordenador: ') }}</label>
@endcomponent <input type="file" class="input-group-text" name="anexoLattesCoordenador" placeholder="anexoPlanoTrabalho" accept=".pdf" />
@error('anexoLattesCoordenador') @error('anexoLattesCoordenador')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
<div class="form-group col-md-6"> @endif
@component('componentes.input', ['label' => 'Planilha de Pontuação (.xlsx,.xls,.ods)'])
<input type="file" class="input-group-text" name="anexoPlanilhaPontuacao" placeholder="anexoPlanilhaPontuacao" accept=".xlsx, .xls, .ods" /> @if($edital->tipo != "PIBEX")
@error('anexoPlanilhaPontuacao') <div class="form-group col-md-6">
<label for="anexoPlanilhaPontuacao" class="col-form-label font-tam" style="font-weight: bold">{{ __('Planilha de Pontuação: ') }}</label>
<input type="file" class="input-group-text" name="anexoPlanilhaPontuacao" placeholder="anexoPlanilhaPontuacao" accept=".xlsx, .xls, .ods" />
@error('anexoPlanilhaPontuacao')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent
</div> </div>
@endif
@if($edital->consu) @if($edital->consu)
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<label class=" control-label" for="firstname">Decisão do CONSU (.pdf)<span style="color: red; font-weight:bold">*</span></label> <label for="anexoCONSU" class="col-form-label font-tam" style="font-weight: bold">{{ __('Decisão do CONSEPE: ') }}</label>
<input type="file" class="input-group-text" name="anexoDecisaoCONSU" accept=".pdf" /> <input type="file" class="input-group-text" name="anexoDecisaoCONSU" accept=".pdf" />
@error('anexoDecisaoCONSU') @error('anexoDecisaoCONSU')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
@else @else
<div class="form-group col-md-6"> <div class="form-group col-md-6">
<label class=" control-label" for="firstname">Decisão do CONSU (.pdf)</label> <label for="anexoCONSU" class="col-form-label font-tam" style="font-weight: bold">{{ __('Decisão do CONSEPE: ') }}</label>
<input type="file" class="input-group-text" name="anexoDecisaoCONSU" accept=".pdf" /> <input type="file" class="input-group-text" name="anexoDecisaoCONSU" accept=".pdf" />
@error('anexoDecisaoCONSU') @error('anexoDecisaoCONSU')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
@endif @endif
<div class="form-group col-md-6" style="margin-top: 10px"> @if($edital->tipo != "PIBEX")
@component('componentes.input', ['label' => 'Grupo de Pesquisa (.pdf)']) <div class="form-group col-md-6" style="margin-top: 10px">
<input type="file" class="input-group-text" name="anexoGrupoPesquisa" placeholder="Anexo do Grupo de Pesquisa" accept="application/pdf" /> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label>
@error('anexoGrupoPesquisa') <input type="file" class="input-group-text" name="anexoGrupoPesquisa" placeholder="Anexo do Grupo de Pesquisa" accept="application/pdf" />
@error('anexoGrupoPesquisa')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent </div>
@endif
</div>
<div class="form-group col-md-6"> @if($edital->tipo != "PIBEX")
<label for="botao" class="col-form-label @error('botao') is-invalid @enderror" data-toggle="tooltip" data-placement="bottom" title="Se possuir, coloque todas em único arquivo pdf." style="margin-right: 15px;">{{ __('Possui autorizações especiais?') }} <span style="color: red; font-weight:bold">*</span></label> <div class="form-group col-md-6">
<input type="radio" checked id="radioSim" onchange="displayAutorizacoesEspeciais('sim')">
<label for="radioSim" style="margin-right: 5px">Sim</label> <label for="botao" class="col-form-label font-tam @error('botao') is-invalid @enderror" data-toggle="tooltip" data-placement="bottom" title="Se possuir, coloque todas em único arquivo pdf." style="font-weight: bold">{{ __('Possui autorizações especiais?') }} <span style="color: red; font-weight:bold">*</span></label>
<input type="radio" id="radioNao" onchange="displayAutorizacoesEspeciais('nao')"> <input type="radio" checked id="radioSim" onchange="displayAutorizacoesEspeciais('sim')">
<label for="radioNao" style="margin-right: 5px">Não</label><br> <label for="radioSim" style="margin-right: 5px">Sim</label>
<span id="idAvisoAutorizacaoEspecial" class="invalid-feedback" role="alert" style="overflow: visible; display:none"> <input type="radio" id="radioNao" onchange="displayAutorizacoesEspeciais('nao')">
<label for="radioNao" style="margin-right: 5px">Não</label><br>
<span id="idAvisoAutorizacaoEspecial" class="invalid-feedback" role="alert" style="overflow: visible; display:none">
<strong>Selecione a autorização e envie o arquivo!</strong> <strong>Selecione a autorização e envie o arquivo!</strong>
</span> </span>
<div class="form-group" id="displaySim" style="display: block; margin-top:-1rem"> <div class="form-group" id="displaySim" style="display: block; margin-top:-1rem">
@component('componentes.input', ['label' => 'Sim, declaro que necessito de autorizações especiais (.pdf)']) <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold;font-size: 13px">{{ __('Sim, declaro que necessito de autorizações especiais') }}</label>
<input type="file" class="input-group-text" name="anexoAutorizacaoComiteEtica" placeholder="anexoComiteEtica" accept=".pdf" /> <input type="file" class="input-group-text" name="anexoAutorizacaoComiteEtica" placeholder="anexoComiteEtica" accept=".pdf" />
@error('anexoAutorizacaoComiteEtica') @error('anexoAutorizacaoComiteEtica')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent
</div> </div>
<div class="form-group" id="displayNao" style="display: none; margin-top:-1rem"> <div class="form-group" id="displayNao" style="display: none; margin-top:-1rem">
@component('componentes.input', ['label' => 'Declaração de que não necessito de autorização especiais (.pdf)']) <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Declaração de que não necessito de autorização especiais ') }}</label>
<input type="file" class="input-group-text" name="justificativaAutorizacaoEtica" placeholder="justificativaAutorizacaoEtica" accept=".pdf" /> <input type="file" class="input-group-text" name="justificativaAutorizacaoEtica" placeholder="justificativaAutorizacaoEtica" accept=".pdf" />
@error('justificativaAutorizacaoEtica') @error('justificativaAutorizacaoEtica')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent </div>
</div> </div>
</div> @endif
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--X Anexos X--> \ No newline at end of file
\ No newline at end of file
<!-- Finalizar --> <!-- Finalizar -->
<div class="col-md-10" style="text-align: center; margin-top:2rem"><h4 style="margin-top: 1rem;">5º Passo</h4></div> <div class="col-md-12" style="margin-top: 20px">
<div class="col-md-10" style="text-align: center;"><h5 style="margin-bottom:1rem;color:#909090">Finalizar</h5></div> <div class="card" style="border-radius: 5px">
<div class="col-md-10"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="card" style="border-radius: 12px"> <div class="container">
<div class="card-body"> <div class="form-row mt-3">
<div class="container"> <div class="col-md-12"><h5 style="color: #234B8B; font-weight: bold">Finalizar</h5></div>
<div class="form-row mt-3"> </div>
<div class="col-md-12"><h5 style="color: #1492E6; margin-bottom:-0.4rem">Finalizar</h5></div> <hr style="border-top: 1px solid#1492E6">
<div class="col-md-12" style="margin-bottom: -0.8rem;"><hr style="border-top: 1px solid#1492E6"></div>
</div>
<div class=" d-flex justify-content-between align-items-center" style="margin-top: 15px; margin-bottom:18px"> <div class=" d-flex justify-content-between align-items-center" style="margin-top: 15px; margin-bottom:18px">
<h6 style="font-family:Arial, Helvetica, sans-serif; margin-right:15px"><span style="color: red; font-weight:bold">*</span> Campos obrigatórios</h6> <h6 style="font-weight: bold"><span style="color: red; font-weight:bold">*</span> Campos obrigatórios</h6>
<button id="submeterFormProposta" type="submit" style="display: none;"></button> <button id="submeterFormProposta" type="submit" style="display: none;"></button>
<button type="submit" class="btn btn-primary " id="idButtonSubmitRascunho" >{{ __('Salvar como rascunho') }}</button> <button type="submit" class="btn btn-primary " id="idButtonSubmitRascunho" >{{ __('Salvar como rascunho') }}</button>
<button type="submit" class="btn btn-success" id="idButtonSubmitProjeto" >{{ __('Submeter projeto') }}</button> <button type="submit" class="btn btn-success" id="idButtonSubmitProjeto" >{{ __('Submeter projeto') }}</button>
......
<!-- Participantes --> <!-- Participantes -->
<div class="col-md-10" style="text-align: center; margin-top:2rem"><h4 style="margin-top: 1rem;">4º Passo</h4></div> <div class="col-md-12" style="margin-top: 20px">
<div class="col-md-10" style="text-align: center;"><h5 style="margin-bottom:1rem;color:#909090">Área do(s) discente(s)</h5></div> <div class="card" style="border-radius: 5px">
<div class="col-md-10"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="card" style="border-radius: 12px; padding:15px"> <div class="container">
<div class="card-body" style="margin-bottom: -2rem"> <div class="form-row mt-3">
<div class="d-flex justify-content-between align-items-center"> <div class="col-md-12"><h5 style="color: #234B8B; font-weight: bold">Participantes</h5></div>
<div><h5 style="color: #1492E6; margin-top:0.5rem">Discente(s)</h5></div>
<div>
{{-- <button type="button" class="btn btn-light" id="buttonMais" >Adicionar discente </button> -- }}
{{-- <button type="button" class="btn btn-light" id="buttonMenos" >Remover participante</button> --}}
<span>Marque a caixa ao lado do discente que queira adicionar</span>
</div>
</div>
<div style="margin-top:-10px"><hr style="border-top: 1px solid#1492E6"></div>
</div>
<ol style="counter-reset: item;list-style-type: none; margin-left:-20px; margin-right:20px; margin-top:10px">
<li id="item">
<div style="margin-bottom:15px">
<div id="participante" >
@for($i = 0; $i < $edital->numParticipantes; $i++)
<div class="form-row mb-1">
<div class="col-md-11">
<a class="btn btn-light" data-toggle="collapse" id="idCollapseParticipante" href="#collapseParticipante{{$i}}" role="button" aria-expanded="false" aria-controls="collapseParticipante" style="width: 100%; text-align:left">
<div class="d-flex justify-content-between align-items-center">
<h4 id="tituloParticipante" style="color: #01487E; font-size:17px; margin-top:5px">Discente<span id="pontos" style="display: none;">:</span> <span style="display: none;" id="display"></span> </h4>
</div>
</a>
</div> </div>
<div class="col-1" style="margin-top:9.3px"> <hr style="border-top: 1px solid#1492E6">
{{-- <button type="button" class="btn btn-danger shadow-sm" id="buttonRemover" onclick="removerPart(this)" >X</button> --}} <div class="row-cols-sm-12 justify-content-start">
<input type="checkbox" aria-label="Checkbox for following text input" @if(old('name')[$i] ?? "" == $i) checked @endif name="marcado[]" value="{{ $i }}"> <ol style="counter-reset: item;list-style-type: none; margin-left:-20px; margin-right:20px; margin-top:10px">
</div> <li id="item">
<div class="col-md-12"> <div style="margin-bottom:15px">
<div class="collapse" id="collapseParticipante{{$i}}"> <div id="participante" class="row">
<div class="container"> @for($i = 0; $i < $edital->numParticipantes; $i++)
<div class="row"> <div class="form-row mb-1 col-md-3" style="margin-top: 10px">
<input type="hidden" name="funcaoParticipante[]" value="4"> <div class="col-md-12">
<div class="col-md-12 mt-3"><h5>Dados do discente</h5></div> <button type="button" class="btn btn-primary justify-content-center" data-toggle="modal" id="button" data-target="#exampleModal{{$i}}">
<div class="col-6"> Participante {{$i+1}}
@component('componentes.input', ['label' => 'Nome completo']) </button>
<input type="text" class="form-control " value="{{old('name')[$i] ?? "" }}" name="name[{{$i}}]" placeholder="Nome Completo" maxlength="150" id="nome{{$i}}"/> </div>
<span style="color: red; font-size: 12px" id="caracsRestantesnome{{$i}}"> </div>
<div class="modal fade" id="exampleModal{{$i}}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Dados do Participante {{$i+1}}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="col-1" style="margin-top:9.3px" hidden>
{{-- <button type="button" class="btn btn-danger shadow-sm" id="buttonRemover" onclick="removerPart(this)" >X</button> --}}
<input type="checkbox" id="checkB{{$i}}" aria-label="Checkbox for following text input" @if(old('name')[$i] ?? "" == $i) checked @endif name="marcado[]" value="{{ $i }}">
</div>
<div class="col-md-12">
<div class="container">
<div class="row">
<input type="hidden" name="funcaoParticipante[]" value="4">
<div class="col-md-12 mt-3"><h5>Dados do discente</h5></div>
<div class="col-6">
@component('componentes.input', ['label' => 'Nome completo'])
<input type="text" class="form-control " value="{{old('name')[$i] ?? "" }}" name="name[{{$i}}]" placeholder="Nome Completo" maxlength="150" id="nome{{$i}}"/>
<span style="color: red; font-size: 12px" id="caracsRestantesnome{{$i}}">
</span> </span>
@error("name.".$i) @error("name.".$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'E-mail']) @component('componentes.input', ['label' => 'E-mail'])
<input type="email" class="form-control" value="{{old('email')[$i] ?? "" }}" name="email[{{$i}}]" placeholder="E-mail" maxlength="150" id="email{{$i}}" /> <input type="email" class="form-control" value="{{old('email')[$i] ?? "" }}" name="email[{{$i}}]" placeholder="E-mail" maxlength="150" id="email{{$i}}" />
<span style="color: red; font-size: 12px" id="caracsRestantesemail{{$i}}"> <span style="color: red; font-size: 12px" id="caracsRestantesemail{{$i}}">
</span> </span>
@error('email.'.$i) @error('email.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Data de nascimento']) @component('componentes.input', ['label' => 'Data de nascimento'])
<input type="date" class="form-control" value="{{old('data_de_nascimento')[$i] ?? "" }}" name="data_de_nascimento[{{$i}}]" placeholder="Data de nascimento" /> <input type="date" class="form-control" value="{{old('data_de_nascimento')[$i] ?? "" }}" name="data_de_nascimento[{{$i}}]" placeholder="Data de nascimento" />
@error('data_de_nascimento.'.$i) @error('data_de_nascimento.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'CPF']) @component('componentes.input', ['label' => 'CPF'])
<input type="text" class="form-control cpf" value="{{old('cpf')[$i] ?? "" }}" name="cpf[{{$i}}]" placeholder="CPF" /> <input type="text" class="form-control cpf" value="{{old('cpf')[$i] ?? "" }}" name="cpf[{{$i}}]" placeholder="CPF" />
@error('cpf.'.$i) @error('cpf.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'RG']) @component('componentes.input', ['label' => 'RG'])
<input type="text" class="form-control rg" min="9" maxlength="9" value="{{old('rg')[$i] ?? "" }}" name="rg[{{$i}}]" placeholder="RG" /> <input type="text" class="form-control rg" min="9" maxlength="9" value="{{old('rg')[$i] ?? "" }}" name="rg[{{$i}}]" placeholder="RG" />
@error('rg.'.$i) @error('rg.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Celular']) @component('componentes.input', ['label' => 'Celular'])
<input type="tel" class="form-control celular" value="{{old('celular')[$i] ?? "" }}" name="celular[{{$i}}]" placeholder="Celular" /> <input type="tel" class="form-control celular" value="{{old('celular')[$i] ?? "" }}" name="celular[{{$i}}]" placeholder="Celular" />
@error('celular.'.$i) @error('celular.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-md-12"><h5>Endereço</h5></div> <div class="col-md-12"><h5>Endereço</h5></div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'CEP']) @component('componentes.input', ['label' => 'CEP'])
<input type="text" class="form-control cep" value="{{old('cep')[$i] ?? "" }}" name="cep[{{$i}}]" placeholder="CEP" /> <input type="text" class="form-control cep" value="{{old('cep')[$i] ?? "" }}" name="cep[{{$i}}]" placeholder="CEP" />
@error('cep.'.$i) @error('cep.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.select', ['label' => 'Estado']) @component('componentes.select', ['label' => 'Estado'])
<select name="uf[{{$i}}]" id="estado" class="form-control" style="visibility: visible" > <select name="uf[{{$i}}]" id="estado" class="form-control" style="visibility: visible" >
<option value="" selected>-- Selecione uma opção --</option> <option value="" selected>-- Selecione uma opção --</option>
@foreach ($estados as $sigla => $nome) @foreach ($estados as $sigla => $nome)
<option @if(old('uf')[$i] ?? "" == $sigla ) selected @endif value="{{ $sigla }}">{{ $nome }}</option> <option @if(old('uf')[$i] ?? "" == $sigla ) selected @endif value="{{ $sigla }}">{{ $nome }}</option>
@endforeach @endforeach
</select> </select>
@error('uf.'.$i) @error('uf.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Cidade']) @component('componentes.input', ['label' => 'Cidade'])
<input type="text" class="form-control" value="{{old('cidade')[$i] ?? "" }}" name="cidade[{{$i}}]" placeholder="Cidade" maxlength="50" id="cidade{{$i}}" /> <input type="text" class="form-control" value="{{old('cidade')[$i] ?? "" }}" name="cidade[{{$i}}]" placeholder="Cidade" maxlength="50" id="cidade{{$i}}" />
<span style="color: red; font-size: 12px" id="caracsRestantescidade{{$i}}"> <span style="color: red; font-size: 12px" id="caracsRestantescidade{{$i}}">
</span> </span>
@error('cidade.'.$i) @error('cidade.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Bairro']) @component('componentes.input', ['label' => 'Bairro'])
<input type="text" class="form-control" value="{{old('bairro')[$i] ?? "" }}" name="bairro[{{$i}}]" placeholder="Bairro" maxlength="50" id="bairro{{$i}}" /> <input type="text" class="form-control" value="{{old('bairro')[$i] ?? "" }}" name="bairro[{{$i}}]" placeholder="Bairro" maxlength="50" id="bairro{{$i}}" />
<span style="color: red; font-size: 12px" id="caracsRestantesbairro{{$i}}"> <span style="color: red; font-size: 12px" id="caracsRestantesbairro{{$i}}">
</span> </span>
@error('bairro.'.$i) @error('bairro.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Rua']) @component('componentes.input', ['label' => 'Rua'])
<input type="text" class="form-control" value="{{old('rua')[$i] ?? "" }}" name="rua[{{$i}}]" placeholder="Rua" maxlength="100" id="rua{{$i}}" /> <input type="text" class="form-control" value="{{old('rua')[$i] ?? "" }}" name="rua[{{$i}}]" placeholder="Rua" maxlength="100" id="rua{{$i}}" />
<span style="color: red; font-size: 12px" id="caracsRestantesrua{{$i}}"> <span style="color: red; font-size: 12px" id="caracsRestantesrua{{$i}}">
</span> </span>
@error('rua.'.$i) @error('rua.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Número']) @component('componentes.input', ['label' => 'Número'])
<input type="text" class="form-control" value="{{old('numero')[$i] ?? "" }}" name="numero[{{$i}}]" placeholder="Número" /> <input type="text" class="form-control" value="{{old('numero')[$i] ?? "" }}" name="numero[{{$i}}]" placeholder="Número" />
@error('numero.'.$i) @error('numero.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-12"> <div class="col-12">
<div class="form-group"> <div class="form-group">
<label class=" control-label" for="firstname">Complemento</label> <label class=" control-label" for="firstname">Complemento</label>
<input type="text" class="form-control" value="{{old('complemento')[$i] ?? "" }}" name="complemento[{{$i}}]" placeholder="Complemento" maxlength="75" id="complemento{{$i}}"/> <input type="text" class="form-control" value="{{old('complemento')[$i] ?? "" }}" name="complemento[{{$i}}]" placeholder="Complemento" maxlength="75" id="complemento{{$i}}"/>
<span style="color: red; font-size: 12px" id="caracsRestantescomplemento{{$i}}"> <span style="color: red; font-size: 12px" id="caracsRestantescomplemento{{$i}}">
</span> </span>
@error('complemento.'.$i) @error('complemento.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
</div> </div>
<div class="col-md-12"><h5>Dados do curso</h5></div> <div class="col-md-12"><h5>Dados do curso</h5></div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Instituição de Ensino']) @component('componentes.input', ['label' => 'Instituição de Ensino'])
<select style="display: inline" onchange="showInstituicao(this)" class="form-control" name="instituicao[{{$i}}]"> <select style="display: inline" onchange="showInstituicao(this)" class="form-control" name="instituicao[{{$i}}]">
<option value="" disabled selected hidden>-- Instituição --</option> <option value="" disabled selected hidden>-- Instituição --</option>
<option @if(old('instituicao')[$i] ?? "" == 'UFAPE' ) selected @endif value="UFAPE">Universidade Federal do Agreste de Pernambuco - UFAPE</option> <option @if(old('instituicao')[$i] ?? "" == 'UFAPE' ) selected @endif value="UFAPE">Universidade Federal do Agreste de Pernambuco - UFAPE</option>
<option @if(old('instituicao')[$i] ?? "" == 'Outra' ) selected @endif value="Outra" >Outra</option> <option @if(old('instituicao')[$i] ?? "" == 'Outra' ) selected @endif value="Outra" >Outra</option>
</select> </select>
@error('instituicao.'.$i) @error('instituicao.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6" id="displayinstituicao[{{$i}}]" style='display:none'> <div class="col-6" id="displayinstituicao[{{$i}}]" style='display:none'>
@component('componentes.input', ['label' => 'Digite a Instituição']) @component('componentes.input', ['label' => 'Digite a Instituição'])
<input id="outrainstituicao[{{$i}}]" type="text" class="form-control @error('instituicao') is-invalid @enderror" name="outrainstituicao[{{$i}}]" value="{{ old('outrainstituicao')[$i] ?? "" }}" placeholder="Digite o nome da Instituição" autocomplete="instituicao" autofocus> <input id="outrainstituicao[{{$i}}]" type="text" class="form-control @error('instituicao') is-invalid @enderror" name="outrainstituicao[{{$i}}]" value="{{ old('outrainstituicao')[$i] ?? "" }}" placeholder="Digite o nome da Instituição" autocomplete="instituicao" autofocus>
@error('outrainstituicao.'.$i) @error('outrainstituicao.'.$i)
<span class="invalid-feedback" role="alert"> <span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'Curso']) @component('componentes.input', ['label' => 'Curso'])
<select style="display: inline" class="form-control" name="curso[{{$i}}]" onchange="showCurso(this)"> <select style="display: inline" class="form-control" name="curso[{{$i}}]" onchange="showCurso(this)">
<option value="" disabled selected hidden>-- Selecione uma opção--</option> <option value="" disabled selected hidden>-- Selecione uma opção--</option>
<option @if(old('curso')[$i] ?? "" == 'Bacharelado em Agronomia' ) selected @endif value="Bacharelado em Agronomia">Bacharelado em Agronomia</option> <option @if(old('curso')[$i] ?? "" == 'Bacharelado em Agronomia' ) selected @endif value="Bacharelado em Agronomia">Bacharelado em Agronomia</option>
<option @if(old('curso')[$i] ?? "" == 'Bacharelado em Ciência da Computação' ) selected @endif value="Bacharelado em Ciência da Computação">Bacharelado em Ciência da Computação</option> <option @if(old('curso')[$i] ?? "" == 'Bacharelado em Ciência da Computação' ) selected @endif value="Bacharelado em Ciência da Computação">Bacharelado em Ciência da Computação</option>
<option @if(old('curso')[$i] ?? "" == 'Bacharelado em Engenharia de Alimentos' ) selected @endif value="Bacharelado em Engenharia de Alimentos">Bacharelado em Engenharia de Alimentos</option> <option @if(old('curso')[$i] ?? "" == 'Bacharelado em Engenharia de Alimentos' ) selected @endif value="Bacharelado em Engenharia de Alimentos">Bacharelado em Engenharia de Alimentos</option>
<option @if(old('curso')[$i] ?? "" == 'Bacharelado em Medicina Veterinária' ) selected @endif value="Bacharelado em Medicina Veterinária">Bacharelado em Medicina Veterinária</option> <option @if(old('curso')[$i] ?? "" == 'Bacharelado em Medicina Veterinária' ) selected @endif value="Bacharelado em Medicina Veterinária">Bacharelado em Medicina Veterinária</option>
<option @if(old('curso')[$i] ?? "" == 'Bacharelado em Zootecnia' ) selected @endif value="Bacharelado em Zootecnia">Bacharelado em Zootecnia</option> <option @if(old('curso')[$i] ?? "" == 'Bacharelado em Zootecnia' ) selected @endif value="Bacharelado em Zootecnia">Bacharelado em Zootecnia</option>
<option @if(old('curso')[$i] ?? "" == 'Licenciatura em Letras' ) selected @endif value="Licenciatura em Letras">Licenciatura em Letras</option> <option @if(old('curso')[$i] ?? "" == 'Licenciatura em Letras' ) selected @endif value="Licenciatura em Letras">Licenciatura em Letras</option>
<option @if(old('curso')[$i] ?? "" == 'Licenciatura em Pedagogia' ) selected @endif value="Licenciatura em Pedagogia">Licenciatura em Pedagogia</option> <option @if(old('curso')[$i] ?? "" == 'Licenciatura em Pedagogia' ) selected @endif value="Licenciatura em Pedagogia">Licenciatura em Pedagogia</option>
<option @if(old('curso')[$i] ?? "" == 'Outro' ) selected @endif value="Outro" >Outro</option> <option @if(old('curso')[$i] ?? "" == 'Outro' ) selected @endif value="Outro" >Outro</option>
</select> </select>
@error('curso.'.$i) @error('curso.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6" id="displaycurso[{{$i}}]" style='display:none'> <div class="col-6" id="displaycurso[{{$i}}]" style='display:none'>
@component('componentes.input', ['label' => 'Digite o nome do curso']) @component('componentes.input', ['label' => 'Digite o nome do curso'])
<input id="outrocurso[{{$i}}]" type="text" class="form-control" name="outrocurso[{{$i}}]" value="{{ old('outrocurso')[$i] ?? "" }}" placeholder="Digite o nome do curso" autocomplete="curso" autofocus> <input id="outrocurso[{{$i}}]" type="text" class="form-control" name="outrocurso[{{$i}}]" value="{{ old('outrocurso')[$i] ?? "" }}" placeholder="Digite o nome do curso" autocomplete="curso" autofocus>
@error('outrocurso.'.$i) @error('outrocurso.'.$i)
<span class="invalid-feedback" role="alert"> <span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.select', ['label' => 'Turno']) @component('componentes.select', ['label' => 'Turno'])
<select name="turno[{{$i}}]" class="form-control" > <select name="turno[{{$i}}]" class="form-control" >
<option value="" selected>-- Selecione uma opção --</option> <option value="" selected>-- Selecione uma opção --</option>
@foreach ($enum_turno as $key => $value) @foreach ($enum_turno as $key => $value)
<option @if(old('turno')[$i] ?? "" == $value ) selected @endif value="{{ $value }}">{{ $value }}</option> <option @if(old('turno')[$i] ?? "" == $value ) selected @endif value="{{ $value }}">{{ $value }}</option>
@endforeach @endforeach
</select> </select>
@error('turno.'.$i) @error('turno.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
@php @php
$options = array('3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7,'8' => 8,'9' => 9,'10' => 10,'11' => 11,'12' => 12); $options = array('3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7,'8' => 8,'9' => 9,'10' => 10,'11' => 11,'12' => 12);
@endphp @endphp
<div class="col-6"> <div class="col-6">
@component('componentes.select', ['label' => 'Total de períodos/anos do curso']) @component('componentes.select', ['label' => 'Total de períodos/anos do curso'])
<select name="total_periodos[{{$i}}]" class="form-control" onchange="gerarPeriodo(this)" > <select name="total_periodos[{{$i}}]" class="form-control" onchange="gerarPeriodo(this)" >
<option value="" selected>-- Selecione uma opção --</option> <option value="" selected>-- Selecione uma opção --</option>
@foreach ($options as $key => $value) @foreach ($options as $key => $value)
<option @if(old('total_periodos')[$i] ?? "" == $key ) selected @endif value="{{ $key }}">{{ $value }}</option> <option @if(old('total_periodos')[$i] ?? "" == $key ) selected @endif value="{{ $key }}">{{ $value }}</option>
@endforeach @endforeach
</select> </select>
@error('total_periodos.'.$i) @error('total_periodos.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.select', ['label' => 'Período/Ano atual']) @component('componentes.select', ['label' => 'Período/Ano atual'])
<select name="periodo_atual[]" class="form-control" > <select name="periodo_atual[]" class="form-control" >
<option value="" selected>-- Selecione uma opção --</option> <option value="" selected>-- Selecione uma opção --</option>
</select> </select>
@error('periodo_atual.'.$i) @error('periodo_atual.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade[]" class="form-control" > <select name="ordem_prioridade[]" class="form-control" >
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) @for($j = 1; $j <= $edital->numParticipantes; $j++)
<option @if(old('total_periodos')[$i] ?? "" == $j ) selected @endif value="{{ $j }}">{{ $j }}</option> <option @if(old('total_periodos')[$i] ?? "" == $j ) selected @endif value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
</select> </select>
@error('ordem_prioridade.'.$i) @error('ordem_prioridade.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> @if($edital->tipo != "PIBEX")
@component('componentes.input', ['label' => 'Coeficiente de rendimento (média geral)'])
<input type="number" class="form-control media" value="{{old('media_do_curso')[$i] ?? "" }}" name="media_do_curso[{{$i}}]" min="0" max="10" step="0.01" > <div class="col-6">
@error('media_do_curso.'.$i) @component('componentes.input', ['label' => 'Coeficiente de rendimento (média geral)'])
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <input type="number" class="form-control media" value="{{old('media_do_curso')[$i] ?? "" }}" name="media_do_curso[{{$i}}]" min="0" max="10" step="0.01" >
<strong>{{ $message }}</strong> @error('media_do_curso.'.$i)
</span> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
@enderror <strong>{{ $message }}</strong>
@endcomponent </span>
</div> @enderror
<div class="col-md-12"><h5>Plano de trabalho</h5></div> @endcomponent
<div class="col-12"> </div>
@component('componentes.input', ['label' => 'Título']) @endif
<input type="text" class="form-control" value="{{old('nomePlanoTrabalho')[$i] ?? "" }}" name="nomePlanoTrabalho[{{$i}}]" placeholder="Digite o título do plano de trabalho" maxlength="255" id="nomePlanoTrabalho{{$i}}"> <div class="col-md-12"><h5>Plano de trabalho</h5></div>
<span style="color: red; font-size: 12px" id="caracsRestantesnomePlanoTrabalho{{$i}}"> <div class="col-12">
@component('componentes.input', ['label' => 'Título'])
<input type="text" class="form-control" value="{{old('nomePlanoTrabalho')[$i] ?? "" }}" name="nomePlanoTrabalho[{{$i}}]" placeholder="Digite o título do plano de trabalho" maxlength="255" id="nomePlanoTrabalho{{$i}}">
<span style="color: red; font-size: 12px" id="caracsRestantesnomePlanoTrabalho{{$i}}">
</span> </span>
@error('nomePlanoTrabalho.'.$i) @error('nomePlanoTrabalho.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> </div>
<div class="col-6"> <div class="col-12">
@component('componentes.input', ['label' => 'Anexo (.pdf)']) @component('componentes.input', ['label' => 'Anexo (.pdf)'])
<input type="file" class="input-group-text" value="{{old('anexoPlanoTrabalho')[$i] ?? "" }}" name="anexoPlanoTrabalho[{{$i}}]" accept=".pdf" placeholder="Anexo do Plano de Trabalho" /> <input type="file" class="input-group-text" value="{{old('anexoPlanoTrabalho')[$i] ?? "" }}" name="anexoPlanoTrabalho[{{$i}}]" accept=".pdf" placeholder="Anexo do Plano de Trabalho" />
@error('anexoPlanoTrabalho.'.$i) @error('anexoPlanoTrabalho.'.$i)
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@error('anexoPlanoTrabalho') @error('anexoPlanoTrabalho')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
@endcomponent @endcomponent
</div> <br>
</div> </div>
</div> <div class="col-6">
</div> <button data-dismiss="modal" type="button" id="cancelar{{$i}}" class=" btn btn-danger" style="font-size: 16px" onclick="desmarcar({{$i}})">Cancelar</button>
</div> </div>
</div> <div class="col-6">
@endfor <button data-dismiss="modal" type="button" id="guardar{{$i}}" class="btn btn-success float-right" style="font-size: 16px" onclick="marcar({{$i}})">Guardar</button>
</div>
</div> </div>
</div> </div>
</div>
</li>
</ol>
</div>
</div>
</div>
</div>
</div>
@endfor
</div>
</div>
</li>
</ol>
</div>
</div>
</div>
</div>
</div> </div>
<script> <script>
$("input.rg:text").mask('00.000.000-0'); $("input.rg:text").mask('00.000.000-0');
function marcar(id){
document.getElementById("checkB"+id).checked = true;
document.getElementById("exampleModal"+id).modal('hide');
}
function desmarcar(id){
document.getElementById("checkB"+id).checked = false;
document.getElementById("exampleModal"+id).modal('hide');
}
</script> </script>
<!--X Participantes X--> <!--X Participantes X-->
<!-- projeto --> <!-- projeto -->
<div class="col-md-10" style="text-align: center; margin-top:2rem"><h4 style="margin-top: 1rem;">1º Passo</h4></div> <div class="col-md-12" style="margin-top: 20px">
<div class="col-md-10" style="text-align: center;"><h5 style="margin-bottom:1rem;color:#909090">Preencha os campos com as informações do projeto</h5></div> <div class="card" style="border-radius: 5px">
<div class="col-md-10"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="card" style="border-radius: 12px">
<div class="card-body">
<div class="container"> <div class="container">
<div class="form-row mt-3"> <div class="form-row mt-3">
<div class="col-md-12"><h5 style="color: #1492E6; margin-bottom:-0.4rem">Informações do projeto</h5></div> <div class="col-md-12"><h5 style="color: #234B8B; font-weight: bold">Informações do Projeto</h5></div>
<div class="col-md-12" style="margin-bottom: -0.8rem;"><hr style="border-top: 1px solid#1492E6"></div> </div>
<hr style="border-top: 1px solid#1492E6">
<div class="row">
<div class="form-group col-md-12" style="margin-top: 10px"> <div class="form-group col-md-12" style="margin-top: 10px">
<label for="titulo" class="col-form-label">{{ __('Nome do Projeto') }} <span style="color: red; font-weight:bold">*</span></label> <label for="titulo" class="col-form-label" style="font-weight: bold">{{ __('Nome do Projeto') }} <span style="color: red; font-weight:bold">*</span></label>
<input id="titulo" type="text" class="form-control @error('titulo') is-invalid @enderror" name="titulo" placeholder="Digite o nome do projeto" value="" autocomplete="titulo" maxlength="255" > <input id="titulo" type="text" class="form-control @error('titulo') is-invalid @enderror" name="titulo" placeholder="Digite o nome do projeto" value="" autocomplete="titulo" maxlength="255" >
<span style="color: red; font-size: 12px" id="caracsRestantestitulo"> <span style="color: red; font-size: 12px" id="caracsRestantestitulo">
</span> </span>
...@@ -21,9 +20,11 @@ ...@@ -21,9 +20,11 @@
</span> </span>
@enderror @enderror
</div> </div>
</div>
<div class="row">
<div class="form-group col-md-4"> <div class="form-group col-md-4">
<label for="grandeArea" class="col-form-label">{{ __('Grande Área') }} <span style="color: red; font-weight:bold">*</span></label> <label for="grandeArea" class="col-form-label" style="font-weight: bold">{{ __('Grande Área') }} <span style="color: red; font-weight:bold">*</span></label>
<select class="form-control @error('grandeArea') is-invalid @enderror" id="grandeArea" name="grande_area_id" onchange="areas()" > <select class="form-control @error('grandeArea') is-invalid @enderror" id="grandeArea" name="grande_area_id" onchange="areas()" >
<option value="" disabled selected hidden>-- Grande Área --</option> <option value="" disabled selected hidden>-- Grande Área --</option>
@foreach($grandeAreas as $grandeArea) @foreach($grandeAreas as $grandeArea)
...@@ -38,7 +39,7 @@ ...@@ -38,7 +39,7 @@
@enderror @enderror
</div> </div>
<div class="form-group col-md-4"> <div class="form-group col-md-4">
<label for="area" class="col-form-label">{{ __('Área') }} <span style="color: red; font-weight:bold">*</span></label> <label for="area" class="col-form-label" style="font-weight: bold">{{ __('Área') }} <span style="color: red; font-weight:bold">*</span></label>
<input type="hidden" id="oldArea" value="{{ old('area') }}" > <input type="hidden" id="oldArea" value="{{ old('area') }}" >
<select class="form-control @error('area') is-invalid @enderror" id="area" name="area_id" onchange="subareas()" > <select class="form-control @error('area') is-invalid @enderror" id="area" name="area_id" onchange="subareas()" >
<option value="" disabled selected hidden>-- Área --</option> <option value="" disabled selected hidden>-- Área --</option>
...@@ -50,7 +51,7 @@ ...@@ -50,7 +51,7 @@
@enderror @enderror
</div> </div>
<div class="form-group col-md-4"> <div class="form-group col-md-4">
<label for="subArea" class="col-form-label">{{ __('Subárea') }} </label> <label for="subArea" class="col-form-label" style="font-weight: bold">{{ __('Subárea') }} </label>
<input type="hidden" id="oldSubArea" value="{{ old('subArea') }}" > <input type="hidden" id="oldSubArea" value="{{ old('subArea') }}" >
<select class="form-control @error('subArea') is-invalid @enderror" id="subArea" name="sub_area_id" > <select class="form-control @error('subArea') is-invalid @enderror" id="subArea" name="sub_area_id" >
<option value="" disabled selected hidden>-- Subárea --</option> <option value="" disabled selected hidden>-- Subárea --</option>
...@@ -66,10 +67,10 @@ ...@@ -66,10 +67,10 @@
</span> </span>
@enderror @enderror
</div> </div>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
<!--X projeto X--> <!--X projeto X-->
\ No newline at end of file
<!-- Proponente --> <!-- Proponente -->
<div class="col-md-10" style="text-align: center; margin-top:2rem"><h4 style="margin-top: 1rem;">2º Passo</h4></div> <div class="col-md-12" style="margin-top: 20px">
<div class="col-md-10" style="text-align: center;"><h5 style="margin-bottom:1rem;color:#909090">Preencha os campos com as informações do proponente</h5></div> <div class="card" style="border-radius: 5px">
<div class="col-md-10"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="card" style="border-radius: 12px">
<div class="card-body">
<div class="container"> <div class="container">
<div class="form-row mt-3"> <div class="form-row mt-3">
<div class="col-md-12"><h5 style="color: #1492E6; margin-bottom:-0.4rem">Informações do proponente</h5></div> <div class="col-md-12"><h5 style="color: #234B8B; font-weight: bold">Informações do Proponente</h5></div>
<div class="col-md-12" style="margin-bottom: -0.8rem;"><hr style="border-top: 1px solid#1492E6"></div> </div>
<hr style="border-top: 1px solid#1492E6">
<div class="form-group col-md-12" style="margin-top: 15px"> <div class="form-row mt-3">
<label for="nomeCompletoProponente1">Proponente</label> <div class="col-md-1">
<label for="nome" class="col-form-label font-tam" style="font-weight: bold">{{ __('Nome: ') }}</label>
</div>
<div class="col-md-11">
<input class="form-control" type="text" id="nomeCompletoProponente1" name="nomeCoordenador" disabled="disabled" value="{{ Auth()->user()->name }}"> <input class="form-control" type="text" id="nomeCompletoProponente1" name="nomeCoordenador" disabled="disabled" value="{{ Auth()->user()->name }}">
</div>
</div>
<div class="col-md-1">
<div class="form-group col-md-6"> <br>
<label for="linkLattesEstudante">Link do currículo Lattes<span style="color: red; font-weight:bold">*</span></label> <label for="lattes" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes: ') }}</label>
<input class="form-control @error('linkLattesEstudante') is-invalid @enderror" type="text" name="linkLattesEstudante" </div>
@if(Auth()->user()->proponentes != null && Auth()->user()->proponentes->linkLattes != null) <div class="col-md-11">
value="{{ Auth()->user()->proponentes->linkLattes }}" <br>
@else <input class="form-control @error('linkLattesEstudante') is-invalid @enderror" type="text" name="linkLattesEstudante"
value="" @if(Auth()->user()->proponentes != null && Auth()->user()->proponentes->linkLattes != null)
@endif > value="{{ Auth()->user()->proponentes->linkLattes }}"
<small>Ex.: http://lattes.cnpq.br/8363536830656923</small> @else
value=""
@endif >
@error('linkLattesEstudante') @error('linkLattesEstudante')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
<div class="form-group col-md-6">
<label for="linkGrupo">Link do grupo de pesquisa</label>
<input class="form-control @error('linkGrupoPesquisa') is-invalid @enderror" type="url" name="linkGrupoPesquisa"
value="" >
<small>Ex.: http://dgp.cnpq.br/dgp/espelhogrupo/228363</small> @if($edital->tipo != "PIBEX")
<div class="col-md-2">
<br>
<label for="lattes" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label>
</div>
<div class="col-md-10">
<br>
<input class="form-control @error('linkGrupoPesquisa') is-invalid @enderror" type="url" name="linkGrupoPesquisa"
value="" >
@error('linkGrupoPesquisa') @error('linkGrupoPesquisa')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
<div class="form-group col-md-6"> @endif
<label for="pontuacaoPlanilha">Valor da planilha de pontuação <span style="color: red; font-weight:bold">*</span></label>
<input class="form-control @error('pontuacaoPlanilha') is-invalid @enderror" type="number" min="0" step=".01" name="pontuacaoPlanilha"
value="" >
@if($edital->tipo != "PIBEX")
<div class="col-md-3">
<br>
<label for="lattes" class="col-form-label font-tam" style="font-weight: bold">{{ __('Valor da Planilha de Pontuação: ') }}</label>
</div>
<div class="col-md-9">
<br>
<input class="form-control @error('pontuacaoPlanilha') is-invalid @enderror" type="number" min="0" step=".01" name="pontuacaoPlanilha"
value="" >
@error('pontuacaoPlanilha') @error('pontuacaoPlanilha')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
</span> </span>
@enderror @enderror
</div> </div>
@endif
@if($edital->cotaDoutor != false)
<div class="col-md-1">
<br>
<label for="modalidade" class="col-form-label font-tam" style="font-weight: bold">{{ __('Modalidade: ') }}</label>
</div>
<div class="col-md-11">
<br>
<select id="modalidade" type="text" class="form-control @error('modalidade') is-invalid @enderror" name="modalidade" value="{{ old('modalidade') }}" required
style="width: 250px">
<option value="" disabled selected hidden>-- Modalidade --</option>
<option @if(old('modalidade')=='AmplaConcorrencia' ) selected @endif value="AmplaConcorrencia">Ampla Concorrência</option>
<option @if(old('modalidade')=='RecemDoutor' ) selected @endif value="RecemDoutor">Recém Doutor</option>
</select>
</div>
@endif
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</div> </div>
@endif @endif
<div class="row justify-content-center"> <div class="row justify-content-center" style="margin-top: 35px">
@include('evento.formulario.projeto') @include('evento.formulario.projeto')
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
@include('evento.formulario.anexos') @include('evento.formulario.anexos')
@include('evento.formulario.participantes') @include('evento.formulario.participantes')
@include('evento.formulario.finalizar') @include('evento.formulario.finalizar')
</div> </div>
</div> </div>
......
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade[]" class="form-control" > <select name="ordem_prioridade[]" class="form-control" >
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) @for($j = 1; $j <= $edital->numParticipantes; $j++)
<option @if(old('ordem_prioridade')[$i] ?? $p->ordem_prioridade == $j ) selected @endif value="{{ $j }}">{{ $j }}</option> <option @if(old('ordem_prioridade')[$i] ?? $p->ordem_prioridade == $j ) selected @endif value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
...@@ -635,7 +635,7 @@ ...@@ -635,7 +635,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade']) @component('componentes.select', ['label' => 'Ordem de prioridade'])
<select name="ordem_prioridade[]" class="form-control" > <select name="ordem_prioridade[]" class="form-control" >
<option value="" selected>-- ORDEM --</option> <option value="" selected>-- ORDEM --</option>
@for($j = 1; $j <= 3; $j++) @for($j = 1; $j <= $edital->numParticipantes; $j++)
<option @if(old('ordem_prioridade')[$i] ?? "" == $j ) selected @endif value="{{ $j }}">{{ $j }}</option> <option @if(old('ordem_prioridade')[$i] ?? "" == $j ) selected @endif value="{{ $j }}">{{ $j }}</option>
@endfor @endfor
......
<!--Anexos--> <!--Anexos-->
<div style="margin-top: 20px;"> <div class="col-md-12" style="margin-top: 20px">
<div class="col-md-12">
<div class="card" style="border-radius: 5px"> <div class="card" style="border-radius: 5px">
<div class="card-body" style="padding-top: 0.2rem;"> <div class="card-body" style="padding-top: 0.2rem;">
<div class="container"> <div class="container">
...@@ -10,20 +9,23 @@ ...@@ -10,20 +9,23 @@
<hr style="border-top: 1px solid#1492E6"> <hr style="border-top: 1px solid#1492E6">
{{-- Anexo do Projeto --}} {{-- Anexo do Projeto --}}
<div class="row justify-content-center"> <div class="row justify-content-start">
{{-- Arquivo --}} {{-- Arquivo --}}
<div class="col-sm-4"> <div class="col-sm-4" style="float: left">
<label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Projeto: ') }}</label> <label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Projeto: ') }}</label>
<a href="{{ route('baixar.anexo.projeto', ['id' => $projeto->id])}}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a> <a href="{{ route('baixar.anexo.projeto', ['id' => $projeto->id])}}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
</div> </div>
@if($edital->tipo != "PIBEX")
<div class="col-sm-4"> <div class="col-sm-4">
<label for="anexoLatterCoordenador" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes do Coordenador: ') }}</label> <label for="anexoLatterCoordenador" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes do Coordenador: ') }}</label>
<a href="{{ route('baixar.anexo.lattes', ['id' => $projeto->id]) }}"> <img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a> <a href="{{ route('baixar.anexo.lattes', ['id' => $projeto->id]) }}"> <img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
</div> </div>
@endif
@if($edital->tipo != "PIBEX")
<div class="col-sm-4"> <div class="col-sm-4">
<label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Autorização Especial: ') }}</label> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Autorização Especial: ') }}</label>
@if($projeto->anexoAutorizacaoComiteEtica != null) @if($projeto->anexoAutorizacaoComiteEtica != null)
...@@ -32,13 +34,17 @@ ...@@ -32,13 +34,17 @@
- -
@endif @endif
</div> </div>
@endif
@if($edital->tipo != "PIBEX")
<div class="col-sm-4"> <div class="col-sm-4">
<label for="anexoPlanilha" class="col-form-label font-tam" style="font-weight: bold">{{ __('Planilha de Pontuação: ') }}</label> <label for="anexoPlanilha" class="col-form-label font-tam" style="font-weight: bold">{{ __('Planilha de Pontuação: ') }}</label>
<a href="{{ route('baixar.anexo.planilha', ['id' => $projeto->id]) }}"><img class="" src="{{asset('img/icons/xlsx.ico')}}" style="width:40px" alt=""></a> <a href="{{ route('baixar.anexo.planilha', ['id' => $projeto->id]) }}"><img class="" src="{{asset('img/icons/xlsx.ico')}}" style="width:40px" alt=""></a>
</div> </div>
@endif
@if($edital->tipo != "PIBEX")
<div class="col-sm-4"> <div class="col-sm-4">
<label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label>
@if($projeto->anexoGrupoPesquisa != null) @if($projeto->anexoGrupoPesquisa != null)
...@@ -47,11 +53,12 @@ ...@@ -47,11 +53,12 @@
- -
@endif @endif
</div> </div>
@endif
@if($edital->tipo == 'PIBIC' || $edital->tipo == 'PIBIC-EM') @if($edital->tipo == 'PIBIC' || $edital->tipo == 'PIBIC-EM' || $edital->tipo == "PIBEX")
{{-- Decisão do CONSU --}} {{-- Decisão do CONSU --}}
<div class="col-sm-4"> <div class="col-sm-4">
<label for="anexoCONSU" class="col-form-label font-tam" style="font-weight: bold">{{ __('Decisão do CONSU: ') }}</label> <label for="anexoCONSU" class="col-form-label font-tam" style="font-weight: bold">{{ __('Decisão do CONSEPE: ') }}</label>
<a href="{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a> <a href="{{ route('baixar.anexo.consu', ['id' => $projeto->id]) }}"><img class="" src="{{asset('img/icons/pdf.ico')}}" style="width:40px" alt=""></a>
</div> </div>
@endif @endif
...@@ -61,5 +68,5 @@ ...@@ -61,5 +68,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<!--X Anexos X--> <!--X Anexos X-->
\ No newline at end of file
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
@endif @endif
</div> </div>
@if( (Auth::user()->avaliadors != null) && (Auth::user()->avaliadors->tipo != 'Externo' || Auth::user()->avaliadors->tipo == null))
<div class="col-md-12"> <div class="col-md-12">
<br> <br>
<b style="color: #4D4D4D;">Grupo de Pesquisa: </b> <b style="color: #4D4D4D;">Grupo de Pesquisa: </b>
...@@ -33,6 +35,18 @@ ...@@ -33,6 +35,18 @@
<b style="color: #4D4D4D;">Valor da Planilha de Pontuação: </b> <b style="color: #4D4D4D;">Valor da Planilha de Pontuação: </b>
<a style="color: #4D4D4D;">{{$projeto->pontuacaoPlanilha}}</a> <a style="color: #4D4D4D;">{{$projeto->pontuacaoPlanilha}}</a>
</div> </div>
@endif
@if($projeto->modalidade!=null)
<div class="col-md-12">
<br>
<b style="color: #4D4D4D;">Modalidade: </b>
@if($projeto->modalidade=="RecemDoutor")
<a style="color: #4D4D4D;">Recém Doutor</a>
@else
<a style="color: #4D4D4D;">Ampla Concorrência</a>
@endif
</div>
@endif
</div> </div>
</div> </div>
......
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