Fix PDF invoice - now depends on php-7.3-ext

This commit is contained in:
Deon George
2020-04-02 17:34:22 +11:00
parent 6a3b8692e1
commit 26365c57ff
5 changed files with 873 additions and 473 deletions

View File

@@ -232,7 +232,6 @@ return [
'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class,
'SnappyImage' => Barryvdh\Snappy\Facades\SnappyImage::class,
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
'Storage' => Illuminate\Support\Facades\Storage::class,
'Str' => Illuminate\Support\Str::class,

View File

@@ -3,14 +3,14 @@
return [
'pdf' => array(
'enabled' => true,
'binary' => '/var/www/html/vendor/bin/wkhtmltopdf-amd64',
'binary' => '/usr/bin/wkhtmltopdf',
'timeout' => false,
'options' => array('print-media-type' => true),
'env' => array(),
),
'image' => array(
'enabled' => true,
'enabled' => false,
'binary' => '/var/www/html/vendor/bin/wkhtmltoimage',
'timeout' => false,
'options' => array(),