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
464662f4
Commit
464662f4
authored
Apr 09, 2022
by
Guilherme Silva
Browse files
Limitando a ordem de prioridade de um participante, pela quantidade de bolsas definida no edital
parent
335c8815
Changes
5
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/substituirParticipanteCompletoForm.blade.php
View file @
464662f4
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade'])
@component('componentes.select', ['label' => 'Ordem de prioridade'])
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordem{{$participante->id}}"
required
>
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordem{{$participante->id}}"
required
>
<option
value=
""
selected
>
-- ORDEM --
</option>
<option
value=
""
selected
>
-- ORDEM --
</option>
@for($j = 1; $j
<
=
3
;
$
j
++)
<
option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@for($j = 1; $j
<
=
$
edital-
>
numParticipantes
; $j++)
<option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@endfor
@endfor
</select>
</select>
...
...
resources/views/administrador/substituirParticipanteDadoDiscenteForm.blade.php
View file @
464662f4
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade'])
@component('componentes.select', ['label' => 'Ordem de prioridade'])
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordem{{$participante->id}}"
required
>
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordem{{$participante->id}}"
required
>
<option
value=
""
selected
>
-- ORDEM --
</option>
<option
value=
""
selected
>
-- ORDEM --
</option>
@for($j = 1; $j
<
=
3
;
$
j
++)
<
option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@for($j = 1; $j
<
=
$
edital-
>
numParticipantes
; $j++)
<option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@endfor
@endfor
</select>
</select>
...
...
resources/views/administrador/substituirParticipanteForm.blade.php
View file @
464662f4
...
@@ -499,7 +499,7 @@
...
@@ -499,7 +499,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade'])
@component('componentes.select', ['label' => 'Ordem de prioridade'])
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordem{{$participante->id}}"
required
>
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordem{{$participante->id}}"
required
>
<option
value=
""
selected
>
-- ORDEM --
</option>
<option
value=
""
selected
>
-- ORDEM --
</option>
@for($j = 1; $j
<
=
3
;
$
j
++)
<
option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@for($j = 1; $j
<
=
$
edital-
>
numParticipantes
; $j++)
<option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@endfor
@endfor
</select>
</select>
...
...
resources/views/administrador/substituirParticipantePlanoForm.blade.php
View file @
464662f4
...
@@ -307,7 +307,7 @@
...
@@ -307,7 +307,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade'])
@component('componentes.select', ['label' => 'Ordem de prioridade'])
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordemManter{{$participante->id}}"
disabled
>
<select
name=
"ordem_prioridade"
class=
"form-control"
id=
"ordemManter{{$participante->id}}"
disabled
>
<option
value=
""
selected
>
-- ORDEM --
</option>
<option
value=
""
selected
>
-- ORDEM --
</option>
@for($j = 1; $j
<
=
3
;
$
j
++)
<
option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@for($j = 1; $j
<
=
$
edital-
>
numParticipantes
; $j++)
<option
value=
"{{ $j }}"
>
{{ $j }}
</option>
@endfor
@endfor
</select>
</select>
...
...
resources/views/projeto/editaFormulario/participantes.blade.php
View file @
464662f4
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade'])
@component('componentes.select', ['label' => 'Ordem de prioridade'])
<select
name=
"ordem_prioridade[]"
class=
"form-control"
>
<select
name=
"ordem_prioridade[]"
class=
"form-control"
>
<option
value=
""
selected
>
-- ORDEM --
</option>
<option
value=
""
selected
>
-- ORDEM --
</option>
@for($j = 1; $j
<
=
3
;
$
j
++)
@for($j = 1; $j
<
=
$
edital-
>
numParticipantes
; $j++)
<option
@
if
(
old
('
ordem_prioridade
')[$
i
]
??
$
p-
>
ordem_prioridade == $j ) selected @endif value="{{ $j }}">{{ $j }}
</option>
<option
@
if
(
old
('
ordem_prioridade
')[$
i
]
??
$
p-
>
ordem_prioridade == $j ) selected @endif value="{{ $j }}">{{ $j }}
</option>
@endfor
@endfor
...
@@ -635,7 +635,7 @@
...
@@ -635,7 +635,7 @@
@component('componentes.select', ['label' => 'Ordem de prioridade'])
@component('componentes.select', ['label' => 'Ordem de prioridade'])
<select
name=
"ordem_prioridade[]"
class=
"form-control"
>
<select
name=
"ordem_prioridade[]"
class=
"form-control"
>
<option
value=
""
selected
>
-- ORDEM --
</option>
<option
value=
""
selected
>
-- ORDEM --
</option>
@for($j = 1; $j
<
=
3
;
$
j
++)
@for($j = 1; $j
<
=
$
edital-
>
numParticipantes
; $j++)
<option
@
if
(
old
('
ordem_prioridade
')[$
i
]
??
""
==
$
j
)
selected
@
endif
value=
"{{ $j }}"
>
{{ $j }}
</option>
<option
@
if
(
old
('
ordem_prioridade
')[$
i
]
??
""
==
$
j
)
selected
@
endif
value=
"{{ $j }}"
>
{{ $j }}
</option>
@endfor
@endfor
...
...
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