X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fmenu.html;h=4d35a02352dcaa2e35b93f081fba12e7e7e08e8a;hb=5f4157a6abad950e88e4c2b095f9399d9120183a;hp=7b8f68a8cb0f12dd9bd3bfb259abdb512bb56fde;hpb=e61046ea9f0efc021d568bbda0f7759ad51881d3;p=freeside.git diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index 7b8f68a8c..4d35a0235 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -64,14 +64,6 @@ background: transparent; } -%# #customer_menu ul li.ui-state-active { -%# background: #f8f0fc; -%# border: 1px solid #7e0079; -%# border-radius: 2px; -%# margin-right: 1px; -%# margin-left: 1px; -%# } - <& /elements/dropdown-menu.html, @@ -91,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;