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
43ca658e
Commit
43ca658e
authored
Aug 22, 2022
by
GuilhermeGz
Browse files
Alteração na listagem de avaliadores possiveis para a avaliação de relatório
parent
edcfd82a
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
43ca658e
...
...
@@ -636,14 +636,14 @@
</
div
>
@
php
$avaliacoesId
=
\
App\AvaliacaoRelatorio
::
where
(
"arquivo_id"
,
$participante
->
planoTrabalho
->
id
)
->
where
(
"tipo"
,
$tipoTemp
)
->
pluck
(
'user_id'
);
$avalProjeto
=
\
App\User
::
whereNotIn
(
'id'
,
$avaliacoesId
)
->
where
(
'tipo'
,
'avaliador'
)
->
orderBy
(
'name'
)
->
get
();
$avalProjeto
=
\
Illuminate\Support\Facades\DB
::
table
(
'users'
)
->
join
(
'avaliadors'
,
'users.id'
,
'='
,
'avaliadors.user_id'
)
->
whereNotIn
(
'users.id'
,
$avaliacoesId
)
->
orderBy
(
'
users.
name'
)
->
get
();
@
endphp
<
select
name
=
"avaliadores_
{
{$participante->planoTrabalho->id}
}
_id[]"
multiple
class
=
"form-control"
id
=
"avaliacaoSelect"
style
=
"height: 200px;font-size:15px"
>
@
foreach
(
$avalProjeto
as
$avaliador
)
<
option
value
=
"{{
$avaliador->id
}}"
>
{{
$avaliador
->
name
}}
<
option
value
=
"{{
$avaliador->
user_
id
}}"
>
{{
$avaliador
->
name
}}
>
{{
$avaliador
->
instituicao
??
'Instituição Indefinida'
}}
>
{{
$avaliador
->
tipo
}}
>
{{
$avaliador
->
email
}}
</
option
>
...
...
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