[freeside-commits] branch FREESIDE_3_BRANCH updated. bdbee8e92b988588aac63adaf2c73b1369733c0e
Ivan
ivan at 420.am
Thu Mar 3 13:55:25 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via bdbee8e92b988588aac63adaf2c73b1369733c0e (commit)
from 5c02fc3a3dfca024fc359009a8eade1ac6d4606c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bdbee8e92b988588aac63adaf2c73b1369733c0e
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Mar 3 13:55:25 2016 -0800
prevent customer payment type changes from skewing payment report
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index d73d9cf..5f0c053 100644
--- a/FS/FS/UI/Web.pm
+++ b/FS/FS/UI/Web.pm
@@ -273,7 +273,7 @@ sub cust_header {
'(service) Latitude' => 'ship_latitude',
'(service) Longitude' => 'ship_longitude',
'Invoicing email(s)' => 'invoicing_list_emailonly_scalar',
- 'Payment Type' => 'payby',
+ 'Payment Type' => 'cust_payby',
'Current Balance' => 'current_balance',
'Agent Cust#' => 'agent_custid',
);
@@ -373,9 +373,11 @@ sub cust_sql_fields {
}
}
- foreach my $field (qw(daytime night mobile fax payby)) {
+ foreach my $field (qw(daytime night mobile fax )) {
push @fields, $field if (grep { $_ eq $field } @cust_fields);
}
+ push @fields, "payby AS cust_payby"
+ if grep { 'cust_payby' eq $field } @cust_fields;
push @fields, 'agent_custid';
my @extra_fields = ();
-----------------------------------------------------------------------
Summary of changes:
FS/FS/UI/Web.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list