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
48ec15e6
Commit
48ec15e6
authored
Apr 26, 2023
by
Yuri Resende
Browse files
Adicionando mensagem de confirmação de que a atividade foi aprovada
parent
2724e3da
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AvaliadorController.php
View file @
48ec15e6
...
@@ -59,7 +59,7 @@ class AvaliadorController extends Controller
...
@@ -59,7 +59,7 @@ class AvaliadorController extends Controller
$avaliacao
->
horas_reajuste
=
$req
->
hora_reajuste
;
$avaliacao
->
horas_reajuste
=
$req
->
hora_reajuste
;
if
(
$avaliacao
->
save
())
{
if
(
$avaliacao
->
save
())
{
return
redirect
()
->
back
();
return
redirect
()
->
back
()
->
with
([
'mensage'
=>
'Atividade aprovada!'
])
;
}
}
}
}
}
}
...
...
resources/views/pad/avaliacao/taferas_professor.blade.php
View file @
48ec15e6
...
@@ -13,6 +13,11 @@
...
@@ -13,6 +13,11 @@
@
endsection
@
endsection
@
section
(
'body'
)
@
section
(
'body'
)
<
div
class
=
"container"
>
<
div
class
=
"container"
>
@
if
(
session
(
'mensage'
))
<
div
class
=
"alert alert-success"
>
{{
session
(
'mensage'
)}}
</
div
>
@
endif
<
h3
>
{{
$professor
->
name
}}
</
h3
><
br
><
br
>
<
h3
>
{{
$professor
->
name
}}
</
h3
><
br
><
br
>
...
...
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