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
pad-upe
Commits
ae0021c6
Commit
ae0021c6
authored
May 15, 2023
by
alissonalbuquerque
Browse files
remocao de script
parent
87eb6d97
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/PadController.php
View file @
ae0021c6
...
@@ -463,23 +463,6 @@ class PadController extends Controller
...
@@ -463,23 +463,6 @@ class PadController extends Controller
$avaliacoes_ensino
=
Avaliacao
::
whereIn
(
'id'
,
$avaliacoes_ensino_ids
)
->
orderBy
(
'status'
);
$avaliacoes_ensino
=
Avaliacao
::
whereIn
(
'id'
,
$avaliacoes_ensino_ids
)
->
orderBy
(
'status'
);
//
//
//- - - Correção - - -
$tarefaIds
=
Avaliacao
::
whereType
(
AvaliacaoUtil
::
ENSINO_AULA
)
->
get
()
->
map
(
function
(
$model
)
{
return
$model
->
tarefa_id
;
});
foreach
(
$tarefaIds
as
$tarefaId
)
{
$avas
=
Avaliacao
::
whereType
(
AvaliacaoUtil
::
ENSINO_AULA
)
->
whereTarefaId
(
$tarefaId
)
->
get
();
if
(
count
(
$avas
)
==
2
)
{
$ava
=
Avaliacao
::
whereType
(
AvaliacaoUtil
::
ENSINO_AULA
)
->
whereTarefaId
(
$tarefaId
)
->
first
();
$ava
->
type
=
23
;
$ava
->
save
();
}
}
//- - - Correção - - -
}
}
if
(
in_array
(
Dimensao
::
PESQUISA
,
$dimensoes
))
{
if
(
in_array
(
Dimensao
::
PESQUISA
,
$dimensoes
))
{
...
...
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