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
8aebe419
Unverified
Commit
8aebe419
authored
Jul 27, 2021
by
José Rômulo
Committed by
GitHub
Jul 27, 2021
Browse files
Merge pull request #164 from J-Romulo/master
Correções visualizar parecer para avaliador
parents
d4e489d3
ea8c0a0f
Changes
2
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/AvaliadorController.php
View file @
8aebe419
...
...
@@ -80,7 +80,7 @@ class AvaliadorController extends Controller
}
else
{
$anexoParecer
=
$request
->
anexoParecer
;
$path
=
'anexoParecer/'
.
$avaliador
->
id
.
$trabalho
->
id
.
'/'
;
$nome
=
"parecer.pdf"
;
$nome
=
$anexoParecer
->
getClientOriginalName
()
;
Storage
::
putFileAs
(
$path
,
$anexoParecer
,
$nome
);
$anexoParecer
=
$path
.
$nome
;
...
...
resources/views/avaliador/listarTrabalhos.blade.php
View file @
8aebe419
...
...
@@ -86,9 +86,15 @@
<
form
action
=
"{{ route('avaliador.parecer', ['evento' =>
$evento
]) }}"
method
=
"POST"
>
@
csrf
<
input
type
=
"hidden"
name
=
"trabalho_id"
value
=
"{{
$trabalho->id
}}"
>
@
if
(
$trabalho
->
pivot
->
parecer
==
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
>
...
...
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