diff --git a/app/Evento.php b/app/Evento.php index 15fa38f01fbf05981e9960a9a0dac26333cc09ac..c3d45dc77dabd6eeddb80bf90359712ae2d193e4 100755 --- a/app/Evento.php +++ b/app/Evento.php @@ -34,8 +34,8 @@ class Evento extends Model 'fim_recurso' => ['required', 'date'], 'resultado_final' => ['required', 'date'], 'resultado_preliminar' => ['required', 'date'], - 'dt_inicioRelatorioParcial' => ['exclude_if:tipo,PIBEX', 'required', 'date'], - 'dt_fimRelatorioParcial' => ['exclude_if:tipo,PIBEX', 'required', 'date'], + 'dt_inicioRelatorioParcial' => ['exclude_if:tipo,PIBEX,PIACEX', 'required', 'date'], + 'dt_fimRelatorioParcial' => ['exclude_if:tipo,PIBEX,PIACEX', 'required', 'date'], 'dt_inicioRelatorioFinal' => ['required', 'date'], 'dt_fimRelatorioFinal' => ['required', 'date'], 'inicioProjeto' => ['required', 'date'], @@ -67,8 +67,8 @@ class Evento extends Model 'inicio_recurso' => ['required', 'date', 'after_or_equal:resultado_preliminar'], 'fim_recurso' => ['required', 'date', 'after:inicio_recurso'], 'resultado_final' => ['required', 'date', 'after:fim_recurso'], - 'dt_inicioRelatorioParcial' => ['exclude_if:tipo,PIBEX', 'required', 'date', 'after:resultado_final'], - 'dt_fimRelatorioParcial' => ['exclude_if:tipo,PIBEX', 'required', 'date', 'after_or_equal:dt_inicioRelatorioParcial'], + 'dt_inicioRelatorioParcial' => ['exclude_if:tipo,PIBEX,PIACEX', 'required', 'date', 'after:resultado_final'], + 'dt_fimRelatorioParcial' => ['exclude_if:tipo,PIBEX,PIACEX', 'required', 'date', 'after_or_equal:dt_inicioRelatorioParcial'], 'dt_inicioRelatorioFinal' => ['required', 'date', 'after:dt_fimRelatorioParcial'], 'dt_fimRelatorioFinal' => ['required', 'date', 'after_or_equal:dt_inicioRelatorioFinal'], 'pdfEdital' => [('pdfEditalPreenchido'!=='sim'?'required':''), 'file', 'mimes:pdf', 'max:2048'], @@ -106,8 +106,8 @@ class Evento extends Model 'inicio_recurso' => ['required', 'date', 'after_or_equal:resultado_preliminar'], 'fim_recurso' => ['required', 'date', 'after:inicio_recurso'], 'resultado_final' => ['required', 'date', 'after:fim_recurso'], - 'dt_inicioRelatorioParcial' => ['exclude_if:tipo,PIBEX', 'required', 'date', 'after:resultado_final'], - 'dt_fimRelatorioParcial' => ['exclude_if:tipo,PIBEX', 'required', 'date', 'after_or_equal:dt_inicioRelatorioParcial'], + 'dt_inicioRelatorioParcial' => ['exclude_if:tipo,PIBEX,PIACEX', 'required', 'date', 'after:resultado_final'], + 'dt_fimRelatorioParcial' => ['exclude_if:tipo,PIBEX,PIACEX', 'required', 'date', 'after_or_equal:dt_inicioRelatorioParcial'], 'dt_inicioRelatorioFinal' => ['required', 'date', 'after:dt_fimRelatorioParcial'], 'dt_fimRelatorioFinal' => ['required', 'date', 'after_or_equal:dt_inicioRelatorioFinal'], 'modeloDocumento.*' => ['file', 'mimes:zip,doc,docx,odt,pdf', 'max:2048'], diff --git a/app/Http/Controllers/EventoController.php b/app/Http/Controllers/EventoController.php index 2f68de0c309de11fe261be5af2ece26f30244fc1..8977d598b8fa135208bd1c3fdaccf1e7b6c5678f 100755 --- a/app/Http/Controllers/EventoController.php +++ b/app/Http/Controllers/EventoController.php @@ -181,7 +181,8 @@ class EventoController extends Controller $evento['fim_recurso'] = $request->fim_recurso; $evento['resultado_preliminar']= $request->resultado_preliminar; $evento['resultado_final'] = $request->resultado_final; - if($request->tipo != "PIBEX"){ + + if($request->tipo != "PIBEX" || $request->tipo != "PIACEX"){ $evento['dt_inicioRelatorioParcial'] = $request->dt_inicioRelatorioParcial; $evento['dt_fimRelatorioParcial'] = $request->dt_fimRelatorioParcial; } diff --git a/app/Http/Controllers/TrabalhoController.php b/app/Http/Controllers/TrabalhoController.php index 8ac98e5600d6eac603d253bef9781d9c90a33d35..97a9f707dee63192bcc5e75721e7ba265ed34bd5 100755 --- a/app/Http/Controllers/TrabalhoController.php +++ b/app/Http/Controllers/TrabalhoController.php @@ -1072,18 +1072,17 @@ class TrabalhoController extends Controller $data['instituicao'] = $request->outrainstituicao[$part]; } - $data['total_periodos'] = $request->total_periodos[$part]; - if ($request->curso[$part] != "Outro") { $data['curso'] = $request->curso[$part]; } else { $data['curso'] = $request->outrocurso[$part]; } - - $data['turno'] = $request->turno[$part]; - $data['periodo_atual'] = $request->periodo_atual[$part]; - $data['ordem_prioridade'] = $request->ordem_prioridade[$part]; - if($evento->tipo!="PIBEX") { + + if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") { + $data['turno'] = $request->turno[$part]; + $data['periodo_atual'] = $request->periodo_atual[$part]; + $data['ordem_prioridade'] = $request->ordem_prioridade[$part]; + $data['total_periodos'] = $request->total_periodos[$part]; $data['media_do_curso'] = $request->media_do_curso[$part]; } $data['nomePlanoTrabalho'] = $request->nomePlanoTrabalho[$part]; @@ -1218,6 +1217,7 @@ class TrabalhoController extends Controller } catch (\Throwable $th) { DB::rollback(); + return redirect(route('proponente.projetos'))->with(['mensagem' => $th->getMessage()]); } @@ -1347,7 +1347,7 @@ class TrabalhoController extends Controller DB::beginTransaction(); - if($evento->tipo=="PIBEX"){ + if($evento->tipo=="PIBEX" || $evento->tipo=="PIACEX"){ $trabalho = Auth::user()->proponentes->trabalhos() ->create($request->except([ 'anexoProjeto', 'anexoDecisaoCONSU','modalidade','anexo_docExtra', 'anexo_SIPAC' @@ -1413,7 +1413,7 @@ class TrabalhoController extends Controller } if($evento->tipo != "CONTINUO"){ - if($evento->tipo != "PIBEX") { + if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") { $data['media_do_curso'] = $request->media_do_curso[$part]; } $data['nomePlanoTrabalho'] = $request->nomePlanoTrabalho[$part]; @@ -1547,7 +1547,7 @@ class TrabalhoController extends Controller } } catch (\Throwable $th) { DB::rollback(); - return redirect(route('proponente.projetos'))->with(['mensagem' => $th->getMessage()]); + return redirect(route('proponente.projetos'))->withErrors(['mensagem' => 'Não foi possÃvel realizar a submissão do Projeto!']); } diff --git a/app/Http/Requests/StoreTrabalho.php b/app/Http/Requests/StoreTrabalho.php index e6f89a8df1adc0a2113ff2158447c0797130ec50..ec8292701b4fc97482704d3fc8a3e0cfa3f26a62 100755 --- a/app/Http/Requests/StoreTrabalho.php +++ b/app/Http/Requests/StoreTrabalho.php @@ -103,7 +103,7 @@ class StoreTrabalho extends FormRequest } - if ($evento->tipo != "PIBEX" && $evento->tipo != "CONTINUO") { + if ($evento->tipo != "PIBEX" && $evento->tipo != "CONTINUO" && $evento->tipo != "PIACEX") { //dd($this->preenchimentoFormFlag); $rules['anexoPlanilhaPontuacao'] = ['required']; $rules['anexoLattesCoordenador'] = ['required', 'mimes:pdf']; diff --git a/app/Http/Requests/UpdateTrabalho.php b/app/Http/Requests/UpdateTrabalho.php index fe3d21d31bd52b3a73dd64686408c0fca17b55ea..57dc368f15b674e34f878106c7523798a19f8f36 100755 --- a/app/Http/Requests/UpdateTrabalho.php +++ b/app/Http/Requests/UpdateTrabalho.php @@ -60,15 +60,17 @@ class UpdateTrabalho extends FormRequest $rules['curso.'.$value] = ['required', 'string']; - if($evento->tipo != "PIBEX" && $evento->tipo != "CONTINUO") { + if($evento->tipo != "PIBEX" && $evento->tipo != "CONTINUO" && $evento->tipo != "PIACEX") { $rules['media_do_curso.' . $value] = ['required', 'string']; } if($evento->tipo != "CONTINUO"){ - $rules['turno.'.$value] = ['required', 'string']; - $rules['ordem_prioridade.'.$value] = ['required', 'string']; - $rules['periodo_atual.'.$value] = ['required', 'string']; - $rules['total_periodos.'.$value] = ['required', 'string']; + if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX"){ + $rules['turno.'.$value] = ['required', 'string']; + $rules['ordem_prioridade.'.$value] = ['required', 'string']; + $rules['periodo_atual.'.$value] = ['required', 'string']; + $rules['total_periodos.'.$value] = ['required', 'string']; + } $rules['anexoPlanoTrabalho.'.$value] = [Rule::requiredIf($participante->planoTrabalho == null)]; $rules['nomePlanoTrabalho.'.$value] = ['required', 'string']; } @@ -88,7 +90,7 @@ class UpdateTrabalho extends FormRequest }else{ //$rules = []; - if($evento->tipo!="PIBEX" && $evento->tipo!="CONTINUO"){ + if($evento->tipo!="PIBEX" && $evento->tipo!="CONTINUO" && $evento->tipo != "PIACEX"){ $rules['anexoPlanilhaPontuacao'] = [Rule::requiredIf($projeto->anexoPlanilhaPontuacao == null)]; $rules['anexoLattesCoordenador'] = [Rule::requiredIf($projeto->anexoLattesCoordenador == null), 'mimes:pdf']; $rules['anexoGrupoPesquisa'] = [Rule::requiredIf($projeto->anexoGrupoPesquisa == null), 'mimes:pdf']; diff --git a/resources/views/administrador/analisarProposta.blade.php b/resources/views/administrador/analisarProposta.blade.php index e2dd6421a0759ff22fb2e7c273cf37cf288e947d..dad4a21039c8230da4618a577dd1326834d749f6 100644 --- a/resources/views/administrador/analisarProposta.blade.php +++ b/resources/views/administrador/analisarProposta.blade.php @@ -143,7 +143,7 @@ @endif </div> - @if($evento->tipo != "PIBEX" && $evento->tipo != "CONTINUO") + @if($evento->tipo != "PIBEX" && $evento->tipo != "CONTINUO" && $evento->tipo != "PIACEX") <div class="col-md-12"> <br> <b style="color: #4D4D4D;">Grupo de Pesquisa: </b> @@ -471,7 +471,7 @@ </div> - @if($evento->tipo != "PIBEX") + @if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") <div class="col-sm-4"> <label for="anexoLatterCoordenador" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes do Coordenador: ') }}</label> @@ -483,7 +483,7 @@ </div> @endif - @if($evento->tipo != "PIBEX") + @if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") <div class="col-sm-4"> @if($trabalho->anexoAutorizacaoComiteEtica != null) <label title="Declaração da autorização especial" for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Autorização Especial: ') }}</label> @@ -499,7 +499,7 @@ </div> @endif - @if($evento->tipo != "PIBEX") + @if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") <div class="col-sm-4"> <label for="anexoPlanilha" class="col-form-label font-tam" style="font-weight: bold">{{ __('Planilha de Pontuação: ') }}</label> @@ -510,7 +510,7 @@ </div> @endif - @if($evento->tipo != "PIBEX") + @if($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") <div class="col-sm-4"> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label> @@ -524,7 +524,7 @@ </div> @endif - @if($evento->tipo == 'PIBIC' || $evento->tipo == 'PIBIC-EM' || $evento->tipo == "PIBEX") + @if($evento->tipo == 'PIBIC' || $evento->tipo == 'PIBIC-EM' || $evento->tipo == "PIBEX" || $evento->tipo == "PIACEX") {{-- Decisão do CONSU --}} <div class="col-sm-4"> <label title="Decisão da Câmara ou Conselho Pertinente" for="anexoCONSU" class="col-form-label font-tam" @@ -598,7 +598,7 @@ <div class="row justify-content-center"> {{-- Relatório Parcial --}} - @if($evento->tipo != 'PIBEX') + @if($evento->tipo != 'PIBEX' && $evento->tipo != 'PIACEX') <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> @@ -695,7 +695,7 @@ @csrf <input type="hidden" name="trabalho_id" value="{{ $trabalho->id }}"> <input type="hidden" name="evento_id" value="{{ $evento->id }}"> - @if($evento->tipo != "PIBEX" && $evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal) + @if(($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") && $evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal) <input type="hidden" name="tipo_relatorio" value="Parcial"> @php $tipoTemp = "Parcial"; @endphp @else @@ -705,7 +705,7 @@ <div class="form-group"> <div class="row" style="margin-left: 2px;margin-bottom: 1px"> <div class="col-md-6"> - @if($evento->tipo != "PIBEX" && $evento->dt_fimRelatorioParcial < $hoje && $hoje<$evento->dt_inicioRelatorioFinal) + @if(($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX") && $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> @@ -788,7 +788,7 @@ </div> <hr style="border-top: 1px solid#1492E6"> - @if(count($arquivos) > 0 && $evento->tipo != "PIBEX") + @if(count($arquivos) > 0 && ($evento->tipo != "PIBEX" && $evento->tipo != "PIACEX")) <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> diff --git a/resources/views/evento/criarEvento.blade.php b/resources/views/evento/criarEvento.blade.php index fd88f9e555ace1ddc7d9e0e595557175aeeaf410..2c4cb9b1171c29b34f5cef9e2b46168ad934bb60 100755 --- a/resources/views/evento/criarEvento.blade.php +++ b/resources/views/evento/criarEvento.blade.php @@ -34,6 +34,7 @@ <option @if(old('tipo')=='PIBIC-AF' ) selected @endif value="PIBIC-AF">PIBIC-AF</option> <option @if(old('tipo')=='PIBITI' ) selected @endif value="PIBITI">PIBITI</option> <option @if(old('tipo')=='PIBEX' ) selected @endif value="PIBEX">PIBEX</option> + <option @if(old('tipo')=='PIACEX' ) selected @endif value="PIACEX">PIACEX</option> <option @if(old('tipo')=='CONTINUO' ) selected @endif value="CONTINUO">Fluxo ContÃnuo</option> </select> @@ -896,8 +897,8 @@ } - //retirada das datas dos relatórios parciais para o PIBEX - if(tipo.value === 'PIBEX'){ + //retirada das datas dos relatórios parciais para o PIBEX e PIACEX + if(tipo.value === 'PIBEX' || tipo.value === 'PIACEX'){ document.getElementById('div-inicio-relat-parcial').style.display = "none"; document.getElementById('div-fim-relat-parcial').style.display = "none"; diff --git a/resources/views/evento/editarEvento.blade.php b/resources/views/evento/editarEvento.blade.php index 2bf980d2b08941812a7852637a0e3e265c9140aa..41c8929e1b29c938749943febb46a109ea066971 100755 --- a/resources/views/evento/editarEvento.blade.php +++ b/resources/views/evento/editarEvento.blade.php @@ -47,6 +47,7 @@ <option value="PIBIC-AF" {{ $evento->tipo == "PIBIC-AF" ? 'selected' :'' }}>PIBIC-AF</option> <option value="PIBITI" {{ $evento->tipo == "PIBITI" ? 'selected' :'' }}>PIBITI</option> <option value="PIBEX" {{ $evento->tipo == "PIBEX" ? 'selected' :'' }}>PIBEX</option> + <option value="PIACEX" {{ $evento->tipo == "PIACEX" ? 'selected' :'' }}>PIACEX</option> <option value="CONTINUO" {{ $evento->tipo == "CONTINUO" ? 'selected' :'' }}>Fluxo ContÃnuo</option> </select> @error('tipo') @@ -1016,8 +1017,8 @@ }) } - //retirada das datas dos relatórios parciais para o PIBEX - if(tipo.value === 'PIBEX'){ + //retirada das datas dos relatórios parciais para o PIBEX e PIACEX + if(tipo.value === 'PIBEX' || tipo.value === 'PIACEX'){ document.getElementById('div-inicio-relat-parcial').style.display = "none"; document.getElementById('div-fim-relat-parcial').style.display = "none"; diff --git a/resources/views/evento/formulario/anexos.blade.php b/resources/views/evento/formulario/anexos.blade.php index d8d7f1261cc2f7ab36b784bed28e56e4efec8fb7..4f36b2e092ea9d9825ce0451a00fd0489661ded0 100755 --- a/resources/views/evento/formulario/anexos.blade.php +++ b/resources/views/evento/formulario/anexos.blade.php @@ -35,7 +35,7 @@ </div> - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6" style="margin-top: 10px"> <label for="anexoLatterCoordenador" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes do Coordenador: ') }}<span style="color: red; font-weight:bold">*</span></label> <input type="file" class="input-group-text" name="anexoLattesCoordenador" placeholder="anexoPlanoTrabalho" accept=".pdf" /> @@ -47,7 +47,7 @@ </div> @endif - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6"> <label for="anexoPlanilhaPontuacao" class="col-form-label font-tam" style="font-weight: bold">{{ __('Planilha de Pontuação: ') }}<span style="color: red; font-weight:bold">*</span></label> <input type="file" class="input-group-text" name="anexoPlanilhaPontuacao" placeholder="anexoPlanilhaPontuacao" accept=".xlsx, .xls, .ods" /> @@ -82,7 +82,7 @@ </div> @endif - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6" style="margin-top: 10px"> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}<span style="color: red; font-weight:bold">*</span></label> <input type="file" class="input-group-text" name="anexoGrupoPesquisa" placeholder="Anexo do Grupo de Pesquisa" accept="application/pdf" /> @@ -94,7 +94,7 @@ </div> @endif - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6"> <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> diff --git a/resources/views/evento/formulario/integrantes.blade.php b/resources/views/evento/formulario/integrantes.blade.php index 83315bbb6f89fbaefc1853afdcf506cdbd1b21b3..786228c6938fe673606eed19952c7474d7443ea9 100644 --- a/resources/views/evento/formulario/integrantes.blade.php +++ b/resources/views/evento/formulario/integrantes.blade.php @@ -57,7 +57,7 @@ @if($funcao->nome == "Vice-coordenador" || $funcao->nome == "Colaborador") <option value="{{$funcao->id}}">{{ $funcao->nome }}</option> @endif - @elseif($edital->natureza_id == 3 && $edital->tipo == "PIBEX") + @elseif($edital->natureza_id == 3 && ($edital->tipo == "PIBEX" || $edital->tipo == "PIACEX")) @if($funcao->nome == "Vice-coordenador" || $funcao->nome == "Colaborador" || $funcao->nome == "Bolsista") <option value="{{$funcao->id}}">{{ $funcao->nome }}</option> @endif diff --git a/resources/views/evento/formulario/proponente.blade.php b/resources/views/evento/formulario/proponente.blade.php index 5e0a16ce73e938c12a60b355b43780b9eadfa53c..bd0c1c471b2c7e45aa140072a7765cc5a8a42a49 100755 --- a/resources/views/evento/formulario/proponente.blade.php +++ b/resources/views/evento/formulario/proponente.blade.php @@ -34,7 +34,7 @@ @enderror </div> - @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO') + @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO' && $edital->tipo != "PIACEX") <div class="col-md-2"> <br> <label for="lattes" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}<span style="color: red; font-weight:bold">*</span></label> @@ -51,7 +51,7 @@ </div> @endif - @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO') + @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO' && $edital->tipo != "PIACEX") <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: ') }}<span style="color: red; font-weight:bold">*</span></label> @@ -117,7 +117,7 @@ </div> @endif - @if($edital->tipo != "CONTINUO" && $edital->tipo != "PIBEX") + @if($edital->tipo != "CONTINUO" && $edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="col-md-2"> <br> <label for="conflitosInteresse" class="col-form-label font-tam" diff --git a/resources/views/projeto/editaFormulario/anexos.blade.php b/resources/views/projeto/editaFormulario/anexos.blade.php index 532d76dac8129191a08399152786b1411862487b..c343010b480456e5fb009c0ab11ee200f1dfd5dc 100755 --- a/resources/views/projeto/editaFormulario/anexos.blade.php +++ b/resources/views/projeto/editaFormulario/anexos.blade.php @@ -47,7 +47,7 @@ </div> - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6" style="margin-top: 10px"> <label for="anexoLatterCoordenador" class="col-form-label font-tam" style="font-weight: bold">{{ __('Lattes do Coordenador: ') }}</label> @if($projeto->anexoLattesCoordenador) @@ -65,7 +65,7 @@ @endif - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <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> @if($projeto->anexoPlanilhaPontuacao) @@ -115,7 +115,7 @@ </div> @endif - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6" style="margin-top: 10px"> <label for="nomeTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label> @if($projeto->anexoGrupoPesquisa) @@ -133,7 +133,7 @@ @endif - @if($edital->tipo != "PIBEX") + @if($edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="form-group col-md-6"> <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> diff --git a/resources/views/projeto/editaFormulario/proponente.blade.php b/resources/views/projeto/editaFormulario/proponente.blade.php index 35344978578e9911ca23dff8f3ed29ba99a769bf..ce238e1ccc4d16daacf66cea2a28370dc3031583 100755 --- a/resources/views/projeto/editaFormulario/proponente.blade.php +++ b/resources/views/projeto/editaFormulario/proponente.blade.php @@ -40,7 +40,7 @@ @enderror </div> - @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO') + @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO' && $edital->tipo != "PIACEX") <div class="col-md-2"> <br> <label for="lattes" class="col-form-label font-tam" style="font-weight: bold">{{ __('Grupo de Pesquisa: ') }}</label> @@ -57,7 +57,7 @@ </div> @endif - @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO') + @if($edital->tipo != "PIBEX" && $edital->tipo !='CONTINUO' && $edital->tipo != "PIACEX") <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> @@ -139,7 +139,7 @@ </div> @endif - @if($edital->tipo !='CONTINUO' && $edital->tipo != "PIBEX") + @if($edital->tipo !='CONTINUO' && $edital->tipo != "PIBEX" && $edital->tipo != "PIACEX") <div class="col-md-2"> <br> <label for="conflitosInteresse" class="col-form-label font-tam"