refs #2056
This commit is contained in:
parent
4870269131
commit
64575107f3
@ -609,7 +609,7 @@ abstract class DocumentShow extends Base
|
||||
$height = setting('invoice.logo_size_height');
|
||||
|
||||
if ($media) {
|
||||
$image->make($media->stream())->resize($width, $height)->encode();
|
||||
$image->make(Storage::get($path))->resize($width, $height)->encode();
|
||||
} else {
|
||||
$image->make($path)->resize($width, $height)->encode();
|
||||
}
|
||||
|
@ -211,7 +211,7 @@ abstract class DocumentTemplate extends Base
|
||||
$height = setting('invoice.logo_size_height');
|
||||
|
||||
if ($media) {
|
||||
$image->make($media->stream())->resize($width, $height)->encode();
|
||||
$image->make(Storage::get($path))->resize($width, $height)->encode();
|
||||
} else {
|
||||
$image->make($path)->resize($width, $height)->encode();
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ class Logo
|
||||
$height = setting('invoice.logo_size_height');
|
||||
|
||||
if ($media) {
|
||||
$image->make($media->stream())->resize($width, $height)->encode();
|
||||
$image->make(Storage::get($path))->resize($width, $height)->encode();
|
||||
} else {
|
||||
$image->make($path)->resize($width, $height)->encode();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user