Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
c4834eb8
Commit
c4834eb8
authored
2 years ago
by
S-Nathalia
Browse files
Options
Download
Email Patches
Plain Diff
restringir envio de parecer fora da data
parent
d8e2596f
master
carl-branch
dependabot/composer/symfony/http-kernel-4.4.50
dependabot/npm_and_yarn/decode-uri-component-0.2.2
dependabot/npm_and_yarn/express-4.18.2
dependabot/npm_and_yarn/json5-and-json5-2.2.3
dependabot/npm_and_yarn/loader-utils-and-webpack-cli-1.4.2
dependabot/npm_and_yarn/minimist-and-mkdirp-1.2.8
dependabot/npm_and_yarn/qs-and-express-6.11.0
excluir_projeto_submetido
updates_mar
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Http/Controllers/AvaliadorController.php
+3
-0
app/Http/Controllers/AvaliadorController.php
resources/views/avaliador/listarTrabalhos.blade.php
+2
-7
resources/views/avaliador/listarTrabalhos.blade.php
resources/views/avaliador/parecerInterno.blade.php
+2
-2
resources/views/avaliador/parecerInterno.blade.php
with
7 additions
and
9 deletions
+7
-9
app/Http/Controllers/AvaliadorController.php
View file @
c4834eb8
...
...
@@ -135,6 +135,8 @@ class AvaliadorController extends Controller
//
$participantes
=
$trabalho
->
participantes
;
$arquivos
=
Arquivo
::
where
(
'trabalhoId'
,
$trabalho
->
id
)
->
get
();
$hoje
=
Carbon
::
today
(
'America/Recife'
);
$hoje
=
$hoje
->
toDateString
();
return
view
(
'avaliador.parecerInterno'
,
[
'trabalho'
=>
$trabalho
,
...
...
@@ -147,6 +149,7 @@ class AvaliadorController extends Controller
'enum_turno'
=>
Participante
::
ENUM_TURNO
,
'arquivos'
=>
$arquivos
,
'estados'
=>
$this
->
estados
,
'hoje'
=>
$hoje
]);
}
...
...
This diff is collapsed.
Click to expand it.
resources/views/avaliador/listarTrabalhos.blade.php
View file @
c4834eb8
...
...
@@ -218,15 +218,10 @@
<
form
action
=
"{{ route('avaliador.parecer', ['evento' =>
$evento
]) }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
@
if
(
$trabalho
->
pivot
->
AnexoParecer
==
null
)
<
button
type
=
"submit"
class
=
"btn btn-primary mr-2 ml-2"
>
Parecer
</
button
>
@
else
<
button
type
=
"submit"
class
=
"btn btn-secondary mr-2 ml-2"
>
Enviado
</
button
>
@
endif
</
form
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/avaliador/parecerInterno.blade.php
View file @
c4834eb8
...
...
@@ -235,9 +235,9 @@
<
div
><
hr
></
div
>
<
div
class
=
"d-flex justify-content-end"
>
<
div
style
=
"margin-right: 15px"
><
a
href
=
"{{ route('avaliador.visualizarTrabalho', ['evento_id' =>
$evento->id
])}}"
class
=
"btn btn-light"
style
=
"color: red;"
>
Cancelar
</
a
></
div
>
<
div
><
button
type
=
"submit"
class
=
"btn btn-success"
>
Enviar
meu
parecer
</
button
></
div
>
<
div
>
<
button
type
=
"submit"
class
=
"btn btn-success"
@
if
(
$evento
->
inicioRevisao
>
$hoje
||
$evento
->
fimRevisao
<
$hoje
)
disabled
@
endif
>
Enviar
meu
parecer
</
button
></
div
>
</
div
>
</
form
>
</
div
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help