Invoice PDF rendering

This commit is contained in:
Deon George
2018-08-01 23:29:16 +10:00
parent c444e1d218
commit 46db6537d6
7 changed files with 210 additions and 206 deletions

19
config/snappy.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
return [
'pdf' => array(
'enabled' => true,
'binary' => '/var/www/html/vendor/bin/wkhtmltopdf-amd64',
'timeout' => false,
'options' => array('print-media-type' => true),
'env' => array(),
),
'image' => array(
'enabled' => true,
'binary' => '/var/www/html/vendor/bin/wkhtmltoimage',
'timeout' => false,
'options' => array(),
'env' => array(),
),
];