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
f4f1b714
Unverified
Commit
f4f1b714
authored
Jun 04, 2022
by
GuilhermeGz
Committed by
GitHub
Jun 04, 2022
Browse files
Merge pull request #222 from GuilhermeGz/master
Ajuste na edição de proposta
parents
47f37073
71190855
Changes
2
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
f4f1b714
...
@@ -956,8 +956,6 @@ class TrabalhoController extends Controller
...
@@ -956,8 +956,6 @@ class TrabalhoController extends Controller
DB
::
commit
();
DB
::
commit
();
if
(
!
$request
->
has
(
'rascunho'
))
{
if
(
!
$request
->
has
(
'rascunho'
))
{
Notification
::
send
(
Auth
::
user
(),
new
SubmissaoNotification
(
$id
,
$trabalho
->
titulo
));
Notification
::
send
(
Auth
::
user
(),
new
SubmissaoNotification
(
$id
,
$trabalho
->
titulo
));
}
else
{
}
}
return
redirect
(
route
(
'proponente.projetos'
))
->
with
([
'mensagem'
=>
'Proposta atualizada!'
]);
return
redirect
(
route
(
'proponente.projetos'
))
->
with
([
'mensagem'
=>
'Proposta atualizada!'
]);
...
...
resources/views/projeto/editar.blade.php
View file @
f4f1b714
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
})
})
buttonRascunho
.
addEventListener
(
'click'
,
(
e
)
=>
{
buttonRascunho
.
addEventListener
(
'click'
,
(
e
)
=>
{
$
(
'.collapse'
)
.
addClass
(
'show'
)
$
(
'.collapse'
)
.
addClass
(
'show'
)
;
const
input
=
'<input id="input_rascunho" type="hidden" name="rascunho" value="true">'
;
const
input
=
'<input id="input_rascunho" type="hidden" name="rascunho" value="true">'
;
$
(
"#updateProjetoForm"
)
.
append
(
input
);
$
(
"#updateProjetoForm"
)
.
append
(
input
);
})
})
...
...
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