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