pdf invoice generation scaffolding

This commit is contained in:
Peter Papp
2021-04-26 17:03:17 +02:00
parent 644fbaede4
commit 7cf193abb7
99 changed files with 390 additions and 325 deletions

View File

@@ -32,15 +32,18 @@ return [
| The environment variables to set while running the wkhtmltopdf process.
|
*/
'pdf' => [
'enabled' => true,
'binary' => app_path() . '/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64',
'binary' => env('WKHTML_PDF_BINARY', '/usr/local/bin/wkhtmltopdf'),
'timeout' => false,
'options' => [],
'options' => [
'enable-local-file-access' => true,
'encoding' => 'UTF-8'
],
'env' => [],
],
'image' => [
'enabled' => true,
'binary' => env('WKHTML_IMG_BINARY', '/usr/local/bin/wkhtmltoimage'),
@@ -48,5 +51,4 @@ return [
'options' => [],
'env' => [],
],
];