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:
1621ead
)
Fix array of state
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 16 May 2019 18:59:04 +0000
(14:59 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 16 May 2019 18:59:04 +0000
(14:59 -0400)
should output state.value
lib/GlmPDFLabel.php
patch
|
blob
|
history
diff --git
a/lib/GlmPDFLabel.php
b/lib/GlmPDFLabel.php
index
9cbf2b6
..
884edef
100644
(file)
--- a/
lib/GlmPDFLabel.php
+++ b/
lib/GlmPDFLabel.php
@@
-58,6
+58,7
@@
class GlmPDFLabel extends Cezpdf
$columnCount = 0;
$rowCount = 0;
foreach ( $accounts as $account ) {
+ // echo '<pre>$account: ' . print_r( $account, true ) . '</pre>';
// $account = $invData['account'];
$columnCount++;
$colName = ( $columnCount % 2 == 0 ) ? 'col2' : 'col1';
@@
-76,7
+77,7
@@
class GlmPDFLabel extends Cezpdf
'<b>'.$account['ref_name'].'</b>',
$addressLine,
$account['billing_city'],
- $account['billing_state'],
+ $account['billing_state']
['value']
,
$account['billing_zip']
);
if ( $columnCount % 2 == 0 ) {