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
6c5bcf4d
Commit
6c5bcf4d
authored
May 08, 2023
by
Yuri Resende
Browse files
Retirando funções que não são utilizadas nos editais PIBEX
parent
7edf98f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/formulario/integrantes.blade.php
View file @
6c5bcf4d
...
...
@@ -50,9 +50,13 @@
<label
for=
"funcao_participante"
>
Função do Integrante:
</label>
<select
name=
""
id=
"funcao_participante"
class=
"form-control"
>
@foreach($funcaoParticipantes as $funcao)
@if($funcao->nome != 'Bolsista')
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@elseif($edital->tipo != "CONTINUO")
@if($edital->natureza_id == 3)
@if($edital->tipo == "CONTINUO"
&&
$funcao->nome != 'Bolsista')
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@elseif($funcao->nome != "Consultor"
&&
$funcao->nome != "Pesquisador"
&&
$funcao->nome != "Voluntário")
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
@else
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
@endforeach
...
...
resources/views/projeto/editaFormulario/integrantes.blade.php
View file @
6c5bcf4d
...
...
@@ -45,13 +45,15 @@
<div
class=
"form-row d-flex"
style=
"margin-top:10px"
>
<label
for=
"funcao_participante"
>
Função do Integrante:
</label>
<select
name=
""
id=
"funcao_participante"
class=
"form-control"
>
@
foreach($funcaoParticipantes as $funcao
)
@if($funcao->nome != 'Bolsista')
@
if($edital->natureza_id == 3
)
@if(
$edital->tipo == "CONTINUO"
&&
$funcao->nome != 'Bolsista')
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@elseif($
edital->tipo != "CONTINUO
")
@elseif($
funcao->nome != "Consultor"
&&
$funcao->nome != "Pesquisador"
&&
$funcao->nome != "Voluntário
")
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
@endforeach
@else
<option
value=
"{{$funcao->id}}"
>
{{ $funcao->nome }}
</option>
@endif
</select>
</div>
...
...
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