Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Soluris
Madis Cyber
Commits
2895270f
Commit
2895270f
authored
Aug 01, 2022
by
Jonathan Foucher
Browse files
change pdf filename. Fixes
https://app.asana.com/0/1202404842967175/1202680556238412
parent
012106c2
Pipeline
#29863
passed with stages
in 10 minutes and 16 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/PdfController.php
View file @
2895270f
...
...
@@ -89,6 +89,6 @@ public function ActionPlanPdf()
exec
(
'gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="'
.
storage_path
(
'app/action_plan/'
.
$filename
)
.
'" "'
.
storage_path
(
'app/action_plan/tmp.pdf'
)
.
'" "'
.
$measureDocs
.
'"'
);
return
Storage
::
download
(
'action_plan/'
.
$filename
,
"Plan d'action
s
- "
.
date
(
'Y-m-d'
)
.
'.pdf'
);
return
Storage
::
download
(
'action_plan/'
.
$filename
,
"Plan d'action - "
.
date
(
'Y-m-d'
)
.
'.pdf'
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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