Commit 3894aa53 authored by Yuri Resende's avatar Yuri Resende
Browse files

Retirando informações referentes ao relatório parcial das views do proponente...

Retirando informações referentes ao relatório parcial das views do proponente e do coordenador quando o edital é do tipo PIBEX
parent 30ab3958
......@@ -564,6 +564,7 @@
<div class="row justify-content-center">
{{-- Relatório Parcial --}}
@if($evento->tipo != 'PIBEX')
<div class="col-sm-3">
<label for="dt_inicioRelatorioParcial" class="col-form-label font-tam"
style="font-weight: bold">{{ __('Início do Relatório Parcial: ') }}</label>
......@@ -582,6 +583,7 @@
name="dt_fimRelatorioParcial" value="{{$evento->dt_fimRelatorioParcial}}"
required autocomplete="dt_fimRelatorioParcial" disabled autofocus>
</div>
@endif
{{-- Relatório Final --}}
<div class="col-sm-3">
<label for="dt_inicioRelatorioFinal" class="col-form-label font-tam"
......@@ -659,7 +661,7 @@
@csrf
<input type="hidden" name="trabalho_id" value="{{ $trabalho->id }}">
<input type="hidden" name="evento_id" value="{{ $evento->id }}">
@if($evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal)
@if($evento->tipo != "PIBEX" && $evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal)
<input type="hidden" name="tipo_relatorio" value="Parcial">
@php $tipoTemp = "Parcial"; @endphp
@else
......@@ -669,7 +671,7 @@
<div class="form-group">
<div class="row" style="margin-left: 2px;margin-bottom: 1px">
<div class="col-md-6">
@if($evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal)
@if($evento->tipo != "PIBEX" && $evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal)
<label for="exampleFormControlSelect2"
style="font-size: 16px;">Selecione o(s) avaliador(es)
para a(s) avaliacões de relatorio parcial</label>
......@@ -750,7 +752,7 @@
</div>
<hr style="border-top: 1px solid#1492E6">
@if(count($arquivos) > 0)
@if(count($arquivos) > 0 && $evento->tipo != "PIBEX")
<div class="row justify-content-start" style="alignment: center">
<div class="col-md-11"><h6 style="color: #234B8B; font-weight: bold">Avaliações de Relatórios Parciais</h6></div>
</div>
......
......@@ -24,7 +24,9 @@
@if ($evento->numParticipantes != 0)
<th scope="col" style="width:200px; text-align: center;">Discente</th>
@endif
@if ($evento->tipo != 'PIBEX')
<th scope="col" style="width:200px; text-align: center;">Relatório Parcial</th>
@endif
<th scope="col" style="width:200px; text-align: center;">Relatório Final</th>
</tr>
</thead>
......@@ -36,6 +38,7 @@
@if ($evento->numParticipantes != 0)
<td style="text-align: center;" title="{{$arquivo->participante->user->name}}" id="td-nomeAluno">{{$arquivo->participante->user->name}}</td>
@endif
@if ($evento->tipo != 'PIBEX')
<td style="text-align: center;">
@if((Auth::user()->proponentes != null) && ($arquivo->relatorioParcial == null) &&
($arquivo->trabalho->evento->dt_inicioRelatorioParcial <= $hoje) && ($hoje <= $arquivo->trabalho->evento->dt_fimRelatorioParcial))
......@@ -61,7 +64,7 @@
@endif
@endif
</td>
@endif
<td style="text-align: center;">
@if((Auth::user()->proponentes != null) && ($arquivo->relatorioFinal == null) &&
($arquivo->trabalho->evento->dt_inicioRelatorioFinal <= $hoje) && ($hoje <= $arquivo->trabalho->evento->dt_fimRelatorioFinal))
......
......@@ -18,6 +18,7 @@
<div class="row justify-content-center">
{{-- Relatório Parcial --}}
@if($edital->tipo != "PIBEX")
<div class="col-sm-3">
<label for="dt_inicioRelatorioParcial" class="col-form-label font-tam" style="font-weight: bold">{{ __('Início do Relatório Parcial: ') }}</label>
</div>
......@@ -30,6 +31,7 @@
<div class="col-sm-3">
<input id="dt_fimRelatorioParcial{{$edital->id}}" type="date" class="form-control" name="dt_fimRelatorioParcial" value="{{$edital->dt_fimRelatorioParcial}}" required autocomplete="dt_fimRelatorioParcial" disabled autofocus>
</div>
@endif
{{-- Relatório Final --}}
<div class="col-sm-3">
<label for="dt_inicioRelatorioFinal" class="col-form-label font-tam" style="font-weight: bold">{{ __('Início do Relatório Final:') }}</label>
......
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