From: Ivan Kohler Date: Thu, 3 Mar 2016 22:08:52 +0000 (-0800) Subject: prevent customer payment type changes from skewing payment report X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c8666a392471849f3b945eb44f7c9f838686ad0a;p=freeside.git prevent customer payment type changes from skewing payment report --- diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index d31e918d0..136c8e6af 100644 --- 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 = ();