Commit 2895270f authored by Jonathan Foucher's avatar Jonathan Foucher
Browse files
parent 012106c2
Pipeline #29863 passed with stages
in 10 minutes and 16 seconds
......@@ -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'actions - " . date('Y-m-d') . '.pdf');
return Storage::download('action_plan/' . $filename, "Plan d'action - " . date('Y-m-d') . '.pdf');
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment