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
1933f6ed
Commit
1933f6ed
authored
Mar 29, 2023
by
Yuri Resende
Browse files
Atualizando o fork com os commits do repositório principal
parent
4e61e3b6
Changes
5
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
1933f6ed
...
@@ -404,16 +404,18 @@ class TrabalhoController extends Controller
...
@@ -404,16 +404,18 @@ class TrabalhoController extends Controller
$trabalhos_user
=
TrabalhoUser
::
where
(
'trabalho_id'
,
$projeto
->
id
)
->
get
();
$trabalhos_user
=
TrabalhoUser
::
where
(
'trabalho_id'
,
$projeto
->
id
)
->
get
();
$avals_projeto
=
[];
$AvalRelatParcial
=
[];
$AvalRelatParcial
=
[];
$AvalRelatFinal
=
[];
$AvalRelatFinal
=
[];
foreach
(
$participantes
as
$participante
)
{
if
(
isset
(
$arquivos
))
{
if
(
isset
(
$participante
->
planoTrabalho
))
{
foreach
(
$arquivos
as
$arquivo
)
{
$avals
=
AvaliacaoRelatorio
::
where
(
'arquivo_id'
,
$participante
->
planoTrabalho
->
id
)
->
get
();
array_push
(
$avals_projeto
,
AvaliacaoRelatorio
::
where
(
'arquivo_id'
,
$arquivo
->
id
)
->
get
());
}
else
{
}
$avals
=
[];
}
}
foreach
(
$avals
as
$aval
)
{
foreach
(
$avals_projeto
as
$avals
)
{
foreach
(
$avals
as
$aval
){
if
(
$aval
->
tipo
==
'Parcial'
)
{
if
(
$aval
->
tipo
==
'Parcial'
)
{
array_push
(
$AvalRelatParcial
,
$aval
);
array_push
(
$AvalRelatParcial
,
$aval
);
}
else
{
}
else
{
...
@@ -422,6 +424,8 @@ class TrabalhoController extends Controller
...
@@ -422,6 +424,8 @@ class TrabalhoController extends Controller
}
}
}
}
return
view
(
'projeto.visualizar'
)
->
with
([
'projeto'
=>
$projeto
,
return
view
(
'projeto.visualizar'
)
->
with
([
'projeto'
=>
$projeto
,
'grandeAreas'
=>
$grandeAreas
,
'grandeAreas'
=>
$grandeAreas
,
'areas'
=>
$areas
,
'areas'
=>
$areas
,
...
...
resources/views/administrador/analisarProposta.blade.php
View file @
1933f6ed
...
@@ -739,17 +739,22 @@
...
@@ -739,17 +739,22 @@
<
hr
style
=
"border-top: 1px solid#1492E6"
>
<
hr
style
=
"border-top: 1px solid#1492E6"
>
@
if
(
count
(
$arquivos
)
>
0
)
@
if
(
count
(
$arquivos
)
>
0
)
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliações
de
Relatórios
Parciais
</
h6
></
div
>
<
div
class
=
"col-md-11"
><
h6
style
=
"color: #234B8B; font-weight: bold"
>
Avaliações
de
Relatórios
Parciais
</
h6
></
div
>
</
div
>
</
div
>
@
for
(
$i
=
0
;
$i
<
count
(
$arquivos
);
$i
++
)
@
for
(
$i
=
0
;
$i
<
count
(
$arquivos
);
$i
++
)
<
div
class
=
'row justify-content-start'
style
=
'margin-top:40px;'
>
<
div
class
=
'row justify-content-start'
style
=
'margin-top:40px;'
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Título
:<
span
style
=
"font-weight: normal"
>
{{
$arquivos
[
$i
]
->
titulo
}}
</
span
><
h6
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Título
:<
span
style
=
"font-weight: normal"
>
{{
$arquivos
[
$i
]
->
titulo
}}
</
span
><
h6
>
<
h6
class
=
'col-9'
style
=
"color: black; font-weight: bold"
>
Média
das
avaliações
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'relatorio_parcial'
]}}
</
span
><
h6
>
</
div
>
<
div
class
=
'row justify-content-start'
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Média
das
avaliações
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'relatorio_parcial'
]}}
</
span
><
h6
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Média
da
apresentação
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'apresentacao_parcial'
]}}
</
span
><
h6
>
<
h6
class
=
'col-4'
style
=
"color: black; font-weight: bold"
>
Média
da
apresentação
:<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'apresentacao_parcial'
]}}
</
span
><
h6
>
<
h6
class
=
'col-3'
style
=
"color: black; font-weight: bold"
>
Avaliações
pendentes
:
<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'pendentes_parcial'
]}}
</
span
><
h6
>
<
h6
class
=
'col-3'
style
=
"color: black; font-weight: bold"
>
Avaliações
pendentes
:
<
span
style
=
"font-weight: normal"
>
{{
$mediaAval
[
$i
][
'pendentes_parcial'
]}}
</
span
><
h6
>
<
br
><
br
>
<
br
><
br
>
</
div
>
</
div
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
<
div
class
=
"row justify-content-start"
style
=
"alignment: center"
>
@
foreach
(
$mediaAval
[
$i
][
'avaliacoes_parciais'
]
as
$aval
)
@
foreach
(
$mediaAval
[
$i
][
'avaliacoes_parciais'
]
as
$aval
)
<
div
class
=
"col-sm-1"
style
=
"margin-bottom: 7px"
>
<
div
class
=
"col-sm-1"
style
=
"margin-bottom: 7px"
>
...
@@ -784,8 +789,6 @@
...
@@ -784,8 +789,6 @@
<
a
type
=
"button"
class
=
"btn btn-danger"
href
=
"
{
{route('avaliacaoRelatorio.remover.avaliador',$aval->id)}
}
"
>
Remover
</
a
>
<
a
type
=
"button"
class
=
"btn btn-danger"
href
=
"
{
{route('avaliacaoRelatorio.remover.avaliador',$aval->id)}
}
"
>
Remover
</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
@@ -810,7 +813,7 @@
...
@@ -810,7 +813,7 @@
@
include
(
'avaliacaoRelatorio.avaliacao'
,
[
'avaliacao'
=>
$aval
])
@
include
(
'avaliacaoRelatorio.avaliacao'
,
[
'avaliacao'
=>
$aval
])
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
@
endforeach
</
div
>
</
div
>
@
endforeach
@
endforeach
</
div
>
</
div
>
...
...
resources/views/administrador/listaProjetos.blade.php
View file @
1933f6ed
...
@@ -310,10 +310,6 @@
...
@@ -310,10 +310,6 @@
@endforeach
@endforeach
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
...
...
resources/views/avaliacaoRelatorio/avaliacao.blade.php
View file @
1933f6ed
@
php
$arquivo
=
\
App\Arquivo
::
find
(
$aval
->
arquivo_id
);
@
endphp
@
php
$arquivo
=
\
App\Arquivo
::
find
(
$aval
->
arquivo_id
);
@
endphp
<
div
class
=
"container-fluid"
>
<
div
class
=
"container-fluid"
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
@
if
(
$arquivo
->
trabalho
->
evento
->
numParticipante
!=
0
)
@
if
(
$arquivo
->
trabalho
->
evento
->
numParticipante
s
!=
0
)
<
h5
><
b
>
Discente
:</
b
>
<
h5
><
b
>
Discente
:</
b
>
{{
\
App\Participante
::
find
(
$arquivo
->
participanteId
)
->
user
->
name
}}
</
h5
>
{{
\
App\Participante
::
find
(
$arquivo
->
participanteId
)
->
user
->
name
}}
</
h5
>
@
else
@
else
...
@@ -20,10 +20,19 @@
...
@@ -20,10 +20,19 @@
<
label
for
=
"lattes"
class
=
"col-form-label font-tam"
<
label
for
=
"lattes"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Nota: '
)
}}
</
label
>
style
=
"font-weight: bold"
>
{{
__
(
'Nota: '
)
}}
</
label
>
</
div
>
</
div
>
<
div
class
=
"col-sm-
6
text-center padEsquerda"
>
<
div
class
=
"col-sm-
5
text-center padEsquerda"
>
<
input
class
=
"form-control"
name
=
"nota"
type
=
"number"
<
input
class
=
"form-control"
name
=
"nota"
type
=
"number"
style
=
"width: 60px"
@
if
(
isset
(
$aval
))
value
=
"
{
{$aval->nota}
}
"
@
endif
disabled
>
style
=
"width: 60px"
@
if
(
isset
(
$aval
))
value
=
"
{
{$aval->nota}
}
"
@
endif
disabled
>
</
div
>
</
div
>
<
div
class
=
"col-sm-2 padEsquerda"
>
<
label
for
=
"lattes"
class
=
"col-form-label font-tam"
style
=
"font-weight: bold"
>
{{
__
(
'Apresentação: '
)
}}
</
label
>
</
div
>
<
div
class
=
"col-sm-4 text-center padEsquerda"
>
<
input
class
=
"form-control"
name
=
"nota"
type
=
"number"
style
=
"width: 60px"
@
if
(
isset
(
$aval
))
value
=
"
{
{$aval->nota_apresentacao}
}
"
@
endif
disabled
>
</
div
>
</
div
>
</
div
>
<
div
class
=
"row"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-12 padEsquerda"
>
<
div
class
=
"col-sm-12 padEsquerda"
>
...
...
resources/views/projeto/formularioVisualizar/relatorio.blade.php
View file @
1933f6ed
...
@@ -45,7 +45,6 @@
...
@@ -45,7 +45,6 @@
</div>
</div>
</div>
</div>
@if($edital->numParticipantes > 0)
<br>
<br>
<div
class=
"row justify-content-start"
>
<div
class=
"row justify-content-start"
>
<div
class=
"col-md-3"
><h6
style=
"color: #234B8B; font-weight: bold"
>
Avaliações dos Relatórios
</h6></div>
<div
class=
"col-md-3"
><h6
style=
"color: #234B8B; font-weight: bold"
>
Avaliações dos Relatórios
</h6></div>
...
@@ -131,7 +130,6 @@
...
@@ -131,7 +130,6 @@
@endforeach
@endforeach
</tbody>
</tbody>
</table>
</table>
@endif
</div>
</div>
</div>
</div>
</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