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
6a79f4fa
"app/Http/vscode:/vscode.git/clone" did not exist on "de3b0e3be0e6ae04a51d789a3637045a0ccac097"
Commit
6a79f4fa
authored
Jun 09, 2022
by
Guilherme Silva
Browse files
Ajuste na exibição de avaliadores
parent
edb8bac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/administrador/analisarProposta.blade.php
View file @
6a79f4fa
...
...
@@ -865,7 +865,7 @@
class="
form
-
control
" id="
exampleFormControlSelect3
"
style="
height
:
200
px
;
font
-
size
:
15
px
">
@foreach (
$trabalho->avaliadors
as
$avaliador
)
@if(
$avaliador->trabalhos
()->where("
trabalho_id
",
$trabalho->id
)->first()->pivot->acesso == 2)
@if(
$avaliador->trabalhos
()->where("
trabalho_id
",
$trabalho->id
)->first()->pivot->acesso == 2
|| (
$avaliador->trabalhos
()->where("
trabalho_id
",
$trabalho->id
)->first()->pivot->acesso == null &&
$avaliador->tipo
== "
Interno
")
)
<option value="
{{
$avaliador
->
id
}}
">{{
$avaliador->user
->name }}
> {{$avaliador->user->instituicao ?? 'Instituição Indefinida'}}
> {{$avaliador->area->nome ?? 'Indefinida'}}
...
...
@@ -907,7 +907,7 @@
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
$avaliador
->
tipo
==
'Interno'
&&
(
$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
))
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
div
>
...
...
@@ -939,7 +939,7 @@
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$trabalho
->
avaliadors
as
$avaliador
)
@
if
(
(
$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
)
<
div
class
=
"col-sm-1"
>
<
img
src
=
"
{
{asset('img/icons/usuario.svg')}
}
"
style
=
"width:60px"
alt
=
""
>
</
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