projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb84931
)
prevent customer payment type changes from skewing payment report
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 3 Mar 2016 22:08:51 +0000
(14:08 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 3 Mar 2016 22:08:51 +0000
(14:08 -0800)
FS/FS/UI/Web.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UI/Web.pm
b/FS/FS/UI/Web.pm
index
d31e918
..
136c8e6
100644
(file)
--- a/
FS/FS/UI/Web.pm
+++ b/
FS/FS/UI/Web.pm
@@
-377,7
+377,7
@@
sub cust_sql_fields {
push @fields, $field if (grep { $_ eq $field } @cust_fields);
}
push @fields, "payby AS cust_payby"
- if grep {
'cust_payby' eq $field
} @cust_fields;
+ if grep {
$_ eq 'cust_payby'
} @cust_fields;
push @fields, 'agent_custid';
my @extra_fields = ();