Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
43d5051b
Unverified
Commit
43d5051b
authored
Jun 25, 2023
by
Antônio Durval
Committed by
GitHub
Jun 25, 2023
Browse files
Merge pull request #915 from antonioDurval/master
Adição de arquivos para o projeto de tipo PIBITI
parents
3f3bc277
6b42a1fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Requests/StoreTrabalho.php
View file @
43d5051b
...
...
@@ -112,7 +112,7 @@ class StoreTrabalho extends FormRequest
$rules
[
'justificativaAutorizacaoEtica'
]
=
[
Rule
::
requiredIf
(
$this
->
autorizacaoFlag
==
'nao'
)];
$rules
[
'pontuacaoPlanilha'
]
=
[
'required'
,
'string'
];
$rules
[
'linkGrupoPesquisa'
]
=
[
'required'
,
'string'
];
if
(
$evento
->
tipo
==
"PIBIC"
){
if
(
$evento
->
tipo
==
"PIBIC"
||
$evento
->
tipo
==
"PIBITI"
){
$rules
[
'preenchimentoFormFlag'
]
=
[
Rule
::
in
([
'sim'
]),
'required'
];
}
$rules
[
'anexo_acao_afirmativa'
]
=
[
Rule
::
requiredIf
(
$this
->
radioAcoesAfirmativas
==
'sim'
)];
...
...
@@ -184,7 +184,9 @@ class StoreTrabalho extends FormRequest
'ods.*'
=>
'Deve ser selecionada pelo menos uma ODS'
,
'linkLattesEstudante.*'
=>
"O link do currículo lattes do estudante é obrigatório"
,
'anexoDecisaoCONSU.*'
=>
'anexoDecisaoCONSU'
,
'anexo_SIPAC.*'
=>
'anexo_SIPAC'
'anexo_SIPAC.*'
=>
'anexo_SIPAC'
,
'preenchimentoFormFlag.*'
=>
'Preencha o questionário de pesquisa de prospecção interna.'
,
'anexo_acao_afirmativa.*'
=>
'O anexo de ação afirmativa deve ser anexado'
];
}
}
resources/views/evento/formulario/anexos.blade.php
View file @
43d5051b
...
...
@@ -133,7 +133,7 @@
</div>
@endif
@if($edital->tipo == "PIBIC"
&&
$edital->natureza_id == 2)
@if(
(
$edital->tipo == "PIBIC"
|| $edital->tipo == "PIBITI")
&&
$edital->natureza_id == 2)
<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;"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment