mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-27 23:24:07 +00:00
Configurations cleanup & database configurations for mail and pdfs (#479)
* Move Mail, PDF configuration to Database, standardize configurations * Set default currency to USD on install * Pint code
This commit is contained in:
committed by
GitHub
parent
3da86965e1
commit
18d63a3375
@@ -2,13 +2,35 @@
|
||||
|
||||
return [
|
||||
|
||||
'driver' => env('PDF_DRIVER', 'gotenberg'),
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default PDF Driver
|
||||
|--------------------------------------------------------------------------
|
||||
| Here you may specify which of the PDF drivers below you wish to use as
|
||||
| your default driver for all PDF generation.
|
||||
|
|
||||
*/
|
||||
|
||||
'gotenberg' => [
|
||||
'host' => env('GOTENBERG_HOST', 'http://pdf:3000'),
|
||||
'papersize' => env('GOTENBERG_PAPERSIZE', '210mm 297mm'),
|
||||
'driver' => env('PDF_DRIVER', 'dompdf'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| PDF Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here are each of the connections setup for your application. Example
|
||||
| configuration has been included, but you may add as many connections as
|
||||
| you would like.
|
||||
|
|
||||
*/
|
||||
'connections' => [
|
||||
|
||||
'dompdf' => [],
|
||||
|
||||
'gotenberg' => [
|
||||
'host' => env('GOTENBERG_HOST', 'http://pdf:3000'),
|
||||
'papersize' => env('GOTENBERG_PAPERSIZE', '210mm 297mm'),
|
||||
],
|
||||
],
|
||||
|
||||
'dompdf' => [],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user