Fix PDF invoice - now depends on php-7.3-ext
This commit is contained in:
parent
6a3b8692e1
commit
26365c57ff
1305
composer.lock
generated
1305
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -232,7 +232,6 @@ return [
|
|||||||
'Route' => Illuminate\Support\Facades\Route::class,
|
'Route' => Illuminate\Support\Facades\Route::class,
|
||||||
'Schema' => Illuminate\Support\Facades\Schema::class,
|
'Schema' => Illuminate\Support\Facades\Schema::class,
|
||||||
'Session' => Illuminate\Support\Facades\Session::class,
|
'Session' => Illuminate\Support\Facades\Session::class,
|
||||||
'SnappyImage' => Barryvdh\Snappy\Facades\SnappyImage::class,
|
|
||||||
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
|
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
|
||||||
'Storage' => Illuminate\Support\Facades\Storage::class,
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||||
'Str' => Illuminate\Support\Str::class,
|
'Str' => Illuminate\Support\Str::class,
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
return [
|
return [
|
||||||
'pdf' => array(
|
'pdf' => array(
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
'binary' => '/var/www/html/vendor/bin/wkhtmltopdf-amd64',
|
'binary' => '/usr/bin/wkhtmltopdf',
|
||||||
'timeout' => false,
|
'timeout' => false,
|
||||||
'options' => array('print-media-type' => true),
|
'options' => array('print-media-type' => true),
|
||||||
'env' => array(),
|
'env' => array(),
|
||||||
),
|
),
|
||||||
|
|
||||||
'image' => array(
|
'image' => array(
|
||||||
'enabled' => true,
|
'enabled' => false,
|
||||||
'binary' => '/var/www/html/vendor/bin/wkhtmltoimage',
|
'binary' => '/var/www/html/vendor/bin/wkhtmltoimage',
|
||||||
'timeout' => false,
|
'timeout' => false,
|
||||||
'options' => array(),
|
'options' => array(),
|
||||||
|
28
public/css/print.css
vendored
28
public/css/print.css
vendored
@ -1,19 +1,19 @@
|
|||||||
@media print {
|
@media print {
|
||||||
body {
|
body {
|
||||||
color: #333;
|
color: #333;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 12px;
|
font-size: 0.85em;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr { page-break-inside:avoid; }
|
tr { page-break-inside:avoid; }
|
||||||
thead { display:table-header-group; }
|
thead { display:table-header-group; }
|
||||||
tfoot { display:table-footer-group; }
|
tfoot { display:table-footer-group; }
|
||||||
|
|
||||||
.table-responsive {
|
.table-responsive {
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<!-- info row -->
|
<!-- info row -->
|
||||||
<div class="row invoice-info">
|
<div class="row invoice-info">
|
||||||
<div class="col-sm-4 invoice-col">
|
<div class="col-4 invoice-col">
|
||||||
FROM:
|
FROM:
|
||||||
<address>
|
<address>
|
||||||
<strong>{{ $so->site_name }}</strong><br>
|
<strong>{{ $so->site_name }}</strong><br>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
</address>
|
</address>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-4 invoice-col">
|
<div class="col-4 invoice-col">
|
||||||
TO:
|
TO:
|
||||||
<address>
|
<address>
|
||||||
<strong>{{ $o->account->company }}</strong><br>
|
<strong>{{ $o->account->company }}</strong><br>
|
||||||
@ -51,9 +51,9 @@
|
|||||||
</address>
|
</address>
|
||||||
</div>
|
</div>
|
||||||
{{-- col-sm-offset-2 not working here --}}
|
{{-- col-sm-offset-2 not working here --}}
|
||||||
<div class="col-sm-1"></div>
|
<div class="col-1"></div>
|
||||||
|
|
||||||
<div class="col-md-3 invoice-col">
|
<div class="col-3 invoice-col">
|
||||||
<table class="table table-borderless text-right" style="font-size: 1.1rem;">
|
<table class="table table-borderless text-right" style="font-size: 1.1rem;">
|
||||||
<tr >
|
<tr >
|
||||||
<td class="p-0">Account:</td><td class="p-0"><strong>{{ $o->account->account_id }}</strong></td>
|
<td class="p-0">Account:</td><td class="p-0"><strong>{{ $o->account->account_id }}</strong></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user