projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
default payby for new installs, regression from 3.x, RT#73853
[freeside.git]
/
httemplate
/
view
/
cust_main
/
menu.html
diff --git
a/httemplate/view/cust_main/menu.html
b/httemplate/view/cust_main/menu.html
index
7b8f68a
..
4d35a02
100644
(file)
--- a/
httemplate/view/cust_main/menu.html
+++ b/
httemplate/view/cust_main/menu.html
@@
-64,14
+64,6
@@
background: transparent;
}
background: transparent;
}
-%# #customer_menu ul li.ui-state-active {
-%# background: #f8f0fc;
-%# border: 1px solid #7e0079;
-%# border-radius: 2px;
-%# margin-right: 1px;
-%# margin-left: 1px;
-%# }
-
</style>
<& /elements/dropdown-menu.html,
</style>
<& /elements/dropdown-menu.html,
@@
-91,7
+83,10
@@
my $custnum = $cust_main->custnum;
my $curuser = $FS::CurrentUser::CurrentUser;
my $conf = FS::Conf->new;
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;
# cached for conditions, to avoid looking it up twice
my $invoicing_list_emailonly = $cust_main->invoicing_list_emailonly;