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
"database/seeders/DatabaseSeeder.php" did not exist on "5de5a5999b6a65aaea6d0eaf43d557ac4c33adf6"
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 @@
...
@@ -636,14 +636,14 @@
</
div
>
</
div
>
@
php
@
php
$avaliacoesId
=
\
App\AvaliacaoRelatorio
::
where
(
"arquivo_id"
,
$participante
->
planoTrabalho
->
id
)
->
where
(
"tipo"
,
$tipoTemp
)
->
pluck
(
'user_id'
);
$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
@
endphp
<
select
name
=
"avaliadores_
{
{$participante->planoTrabalho->id}
}
_id[]"
multiple
<
select
name
=
"avaliadores_
{
{$participante->planoTrabalho->id}
}
_id[]"
multiple
class
=
"form-control"
id
=
"avaliacaoSelect"
class
=
"form-control"
id
=
"avaliacaoSelect"
style
=
"height: 200px;font-size:15px"
>
style
=
"height: 200px;font-size:15px"
>
@
foreach
(
$avalProjeto
as
$avaliador
)
@
foreach
(
$avalProjeto
as
$avaliador
)
<
option
value
=
"{{
$avaliador->id
}}"
>
{{
$avaliador
->
name
}}
<
option
value
=
"{{
$avaliador->
user_
id
}}"
>
{{
$avaliador
->
name
}}
>
{{
$avaliador
->
instituicao
??
'Instituição Indefinida'
}}
>
{{
$avaliador
->
instituicao
??
'Instituição Indefinida'
}}
>
{{
$avaliador
->
tipo
}}
>
{{
$avaliador
->
tipo
}}
>
{{
$avaliador
->
email
}}
</
option
>
>
{{
$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