<!-- Anexos --> <div class="col-md-12" style="margin-top: 20px"> <div class="card" style="border-radius: 5px"> <div class="card-body" style="padding-top: 0.2rem;"> <div class="container"> <div class="form-row mt-3"> <div class="col-md-12"><h5 style="color: #234B8B; font-weight: bold">Anexos do Projeto</h5></div> </div> <hr style="border-top: 1px solid#1492E6; margin-bottom: 10px" > {{-- Anexo do Projeto --}} <div class="row justify-content-start"> {{-- Arquivo --}} @if($edital->tipo == "CONTINUO") <div class="form-group col-md-8" style="margin-top: 10px"> <label for="anexo_SIPAC" class="col-form-label font-tam" style="font-weight: bold">{{ __('Processo SIPAC: ') }}<span style="color: red; font-weight:bold">*</span></label> <input type="file" class="input-group-text" name="anexo_SIPAC" placeholder="PDF do processo SIPAC" accept=".pdf" /> <span>Processo completo registrado no SIPAC com o parecer da Comissão de Extensão e Cultura, a decisão de aprovação na Câmara de Extensão e Cultura e a proposta de Atividade de Extensão.</span> @error('anexo_SIPAC') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @else <div class="form-group col-md-6"> <label for="anexoProjeto" class="col-form-label font-tam" style="font-weight: bold">{{ __('Projeto: ') }}<span style="color: red; font-weight:bold">*</span></label> <input type="file" class="input-group-text" name="anexoProjeto" placeholder="nomeProjeto" accept="application/pdf" /> @error('anexoProjeto') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @if($edital->tipo != "PIBEX") <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" /> @error('anexoLattesCoordenador') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @endif @if($edital->tipo != "PIBEX") <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" /> @error('anexoPlanilhaPontuacao') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @endif @if($edital->consu) <div class="form-group col-md-6"> <label title="Decisão da Câmara ou Conselho Pertinente" for="anexoCONSU" class="col-form-label font-tam" style="font-weight: bold">{{ __('Decisão da Câmara ou Conselho Pertinente: ') }}<span style="color: red; font-weight:bold">*</span></label> <input type="file" class="input-group-text" name="anexoDecisaoCONSU" accept=".pdf" /> @error('anexoDecisaoCONSU') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @else <div class="form-group col-md-6"> <label title="Decisão da Câmara ou Conselho Pertinente" for="anexoCONSU" class="col-form-label font-tam" style="font-weight: bold">{{ __('Decisão da Câmara ou Conselho Pertinente:') }}</label> <input type="file" class="input-group-text" name="anexoDecisaoCONSU" accept=".pdf" /> @error('anexoDecisaoCONSU') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @endif @if($edital->tipo != "PIBEX") <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" /> @error('anexoGrupoPesquisa') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @endif @if($edital->tipo != "PIBEX") <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> <input type="radio" id="radioSim" name="autorizacaoFlag" onchange="displayAutorizacoesEspeciaisDois('sim')" checked value="sim"> <label for="radioSim" style="margin-right: 5px">Sim</label> <input type="radio" id="radioNao" name="autorizacaoFlag" onchange="displayAutorizacoesEspeciaisDois('nao')" value="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> </span> <div class="form-group" id="displaySim" style="display: block; margin-top:-1rem"> <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" /> @error('anexoAutorizacaoComiteEtica') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> <div class="form-group" id="displayNao" style="display: none; margin-top:-1rem"> <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" /> @error('justificativaAutorizacaoEtica') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> </div> @endif @if($edital->nome_docExtra != null) <div class="form-group col-md-6"> <label title="{{$edital->nome_docExtra}}" for="anexo_docExtra" class="col-form-label font-tam" style="font-weight: bold">{{$edital->nome_docExtra}}: @if($edital->obrigatoriedade_docExtra == true) <span style="color: red; font-weight:bold">*</span> @endif</label> <input type="file" class="input-group-text" name="anexo_docExtra" accept=".pdf,.docx,.doc,.zip " /> @error('anexo_docExtra') <span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <strong>{{ $message }}</strong> </span> @enderror </div> @endif @endif </div> </div> </div> </div> </div> <script> //console.log("{{old('autorizacaoFlag')}}"); if("{{old('autorizacaoFlag')}}" == "sim"){ $('#radioSim').click() } if("{{old('autorizacaoFlag')}}" == "nao"){ $('#radioNao').click() } function displayAutorizacoesEspeciaisDois(valor){ if(valor == "sim"){ document.getElementById("radioSim").checked = true; document.getElementById("radioNao").checked = false; document.getElementById("displaySim").style.display = "block"; document.getElementById("displayNao").style.display = "none"; document.getElementById("idAvisoAutorizacaoEspecial").style.display = "none"; }else if(valor == "nao"){ document.getElementById("radioSim").checked = false; document.getElementById("radioNao").checked = true; document.getElementById("displaySim").style.display = "none"; document.getElementById("displayNao").style.display = "block"; document.getElementById("idAvisoAutorizacaoEspecial").style.display = "none"; } } </script>