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
a7b551e8
Commit
a7b551e8
authored
Aug 10, 2022
by
GuilhermeGz
Browse files
Mudança na listagem dos avaliadores presentes nas avaliações da proposta na tela de analise
parent
6d5f55cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
a7b551e8
...
@@ -920,7 +920,8 @@
...
@@ -920,7 +920,8 @@
</
div
>
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
'Interno'
&&
(
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
null
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
2
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
3
))
@
if
((
$avaliador
->
tipo
==
'Interno'
&&
(
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
null
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
2
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
3
))
||
$avaliador
->
user
->
instituicao
==
"UFAPE"
||
$avaliador
->
user
->
instituicao
==
"Universidade Federal do Agreste de Pernambuco"
)
<
div
class
=
"col-sm-1"
>
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
</
div
>
...
@@ -972,7 +973,8 @@
...
@@ -972,7 +973,8 @@
</
div
>
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
(
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
null
&&
$avaliador
->
tipo
==
"Externo"
)
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
1
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
3
)
@
if
(
(
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
null
&&
$avaliador
->
tipo
==
"Externo"
)
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
1
||
$avaliador
->
trabalhos
()
->
where
(
"trabalho_id"
,
$trabalho
->
id
)
->
first
()
->
pivot
->
acesso
==
3
||
(
$avaliador
->
user
->
instituicao
!=
"UFAPE"
&&
$avaliador
->
user
->
instituicao
!=
"Universidade Federal do Agreste de Pernambuco"
))
<
div
class
=
"col-sm-1"
>
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
</
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