From: Ivan Kohler Date: Thu, 3 Mar 2016 22:08:51 +0000 (-0800) Subject: prevent customer payment type changes from skewing payment report X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=1fcc14f0b94db3e5ec886ee163c20b9fe786543d;hp=bb8493151593420f2d2440c476c2ce43473a2476;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 = ();