X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmenu.html;h=4d35a02352dcaa2e35b93f081fba12e7e7e08e8a;hp=6f177c3c4aefe1d753f5d8a5ebf19819404a844d;hb=5f4157a6abad950e88e4c2b095f9399d9120183a;hpb=def729d3a87b31aa3748527e9bf4e4a3558a8f30 diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 6f177c3c4..4d35a0235 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -83,7 +83,10 @@ my $custnum = $cust_main->custnum; my $curuser = $FS::CurrentUser::CurrentUser; my $conf = FS::Conf->new; -my %payby = map { $_ => 1 } $conf->config('payby'); +my @payby = grep /\w/, $conf->config('payby'); +@payby = (qw( CARD DCRD CHEK DCHK )) + unless @payby; +my %payby = map { $_ => 1 } @payby; # cached for conditions, to avoid looking it up twice my $invoicing_list_emailonly = $cust_main->invoicing_list_emailonly;