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
80d4a0b0
Commit
80d4a0b0
authored
Apr 10, 2023
by
Yuri Resende
Browse files
Permitindo a submissão de projetos para editais de fluxo continuo
parent
28b8298c
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
80d4a0b0
...
@@ -327,6 +327,14 @@ class TrabalhoController extends Controller
...
@@ -327,6 +327,14 @@ class TrabalhoController extends Controller
$trabalho
->
anexo_docExtra
=
Storage
::
putFileAs
(
$pasta
,
$request
->
anexo_docExtra
,
"Documento_Extra."
.
$request
->
file
(
'anexo_docExtra'
)
->
extension
());
$trabalho
->
anexo_docExtra
=
Storage
::
putFileAs
(
$pasta
,
$request
->
anexo_docExtra
,
"Documento_Extra."
.
$request
->
file
(
'anexo_docExtra'
)
->
extension
());
}
}
//Anexo SIPAC
if
(
isset
(
$request
->
anexo_SIPAC
))
{
if
(
Storage
::
disk
()
->
exists
(
$trabalho
->
anexo_SIPAC
))
{
Storage
::
delete
(
$trabalho
->
anexo_SIPAC
);
}
$trabalho
->
anexo_SIPAC
=
Storage
::
putFileAs
(
$pasta
,
$request
->
anexo_SIPAC
,
"Anexo_SIPAC."
.
$request
->
file
(
'anexo_SIPAC'
)
->
extension
());
}
$trabalho
->
save
();
$trabalho
->
save
();
return
$trabalho
;
return
$trabalho
;
}
}
...
...
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