Merge pull request #1762 from burakcakirel/invoice-logo-width-height
Add height for invoice logo
This commit is contained in:
@ -33,7 +33,8 @@ class Logo
|
||||
}
|
||||
|
||||
$image = Image::cache(function($image) use ($path) {
|
||||
$width = $height = setting('invoice.logo_size', 128);
|
||||
$width = setting('invoice.logo_size_width');
|
||||
$height = setting('invoice.logo_size_height');
|
||||
|
||||
$image->make($path)->resize($width, $height)->encode();
|
||||
});
|
||||
|
Reference in New Issue
Block a user