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
4e6d7f0c
Commit
4e6d7f0c
authored
Apr 10, 2023
by
Yuri Resende
Browse files
Corrigindo envio do anexo SIPAC na submissão do edital de fluxo contínuo
parent
80d4a0b0
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Http/Controllers/TrabalhoController.php
View file @
4e6d7f0c
...
@@ -327,14 +327,6 @@ class TrabalhoController extends Controller
...
@@ -327,14 +327,6 @@ 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