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
5b58a289
"vscode:/vscode.git/clone" did not exist on "4685346cb6a59264b5c50d2e6e1f96dd503e4869"
Commit
5b58a289
authored
May 10, 2023
by
José Fernando Mendes da Costa
Browse files
n permite edicao de proposta submetida
parent
f8237d70
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
5b58a289
...
...
@@ -505,6 +505,8 @@ class TrabalhoController extends Controller
$projeto
=
Trabalho
::
find
(
$id
);
}
else
{
$projeto
=
Auth
::
user
()
->
proponentes
->
trabalhos
()
->
where
(
'id'
,
$id
)
->
first
();
if
(
$projeto
->
status
!=
'rascunho'
)
return
redirect
()
->
back
()
->
with
(
'mensagem'
,
'Não é possível alterar uma proposta já submetida'
);
}
$proponente
=
Proponente
::
where
(
'user_id'
,
$projeto
->
proponente
->
user_id
)
->
first
();
...
...
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