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
71190855
"app/vscode:/vscode.git/clone" did not exist on "7f3e0df217fd667f949f50868d4e8468765c98a8"
Commit
71190855
authored
Jun 04, 2022
by
Guilherme Silva
Browse files
Ajuste na edição de proposta
parent
47f37073
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
71190855
...
@@ -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 @
71190855
...
@@ -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