diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-06-03 02:04:52 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-06-03 19:49:55 -0500 |
commit | 79d69cc33b1c61c37ec969fa763708c31fdfb590 (patch) | |
tree | fe20dfb8ce517a1f0f80532ea580a7e133adf539 /FS/FS/UI | |
parent | 1ceeee1c6b8c46805c103fbcfc1bbee768b12609 (diff) |
RT#42398: still using cust_main.payby in FS::UI::Web::cust_sql_fields (v4+)
Diffstat (limited to 'FS/FS/UI')
-rw-r--r-- | FS/FS/UI/Web.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index e07e682..04aeda1 100644 --- a/FS/FS/UI/Web.pm +++ b/FS/FS/UI/Web.pm @@ -343,7 +343,8 @@ sub cust_header { '(service) Latitude' => 'ship_latitude', '(service) Longitude' => 'ship_longitude', 'Invoicing email(s)' => 'invoicing_list_emailonly_scalar', - 'Payment Type' => 'cust_payby', +# FS::Upgrade::upgrade_config removes this from existing cust-fields settings +# 'Payment Type' => 'cust_payby', 'Current Balance' => 'current_balance', 'Agent Cust#' => 'agent_custid', 'Advertising Source' => 'referral', @@ -447,8 +448,6 @@ sub cust_sql_fields { 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 { $_ eq 'cust_payby' } @cust_fields; push @fields, 'agent_custid'; my @extra_fields = (); |