projects
/
WP-Plugins
/
glm-member-db-billing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b848edc
)
Update for new option
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 19 Mar 2019 19:14:29 +0000
(15:14 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 19 Mar 2019 19:14:29 +0000
(15:14 -0400)
read option for logo width
lib/GlmPDFInvoice.php
patch
|
blob
|
history
diff --git
a/lib/GlmPDFInvoice.php
b/lib/GlmPDFInvoice.php
index
0814e65
..
b59b33f
100644
(file)
--- a/
lib/GlmPDFInvoice.php
+++ b/
lib/GlmPDFInvoice.php
@@
-408,7
+408,7
@@
class GlmPDFInvoice extends Cezpdf
$this->ezImage(
GLM_MEMBERS_PLUGIN_MEDIA_PATH . '/images/large/' . $this->config['settings']['company_logo'], // image
0, // padding
-
13
0, // width
+
( $this->config['settings']['company_logo_width'] ) ? $this->config['settings']['company_logo_width'] : 26
0, // width
'none', // resize
'left', // justification
'', // angle