% if ( $curuser->access_right('List customers') ) {

<% mt('Advanced') |h %>
<% $menu_position eq 'left' ? '
' : '' |n %> % } <%init> my $conf = new FS::Conf; my $curuser = $FS::CurrentUser::CurrentUser; my $menu_position = $curuser->option('menu_position') || 'top'; my $cust_width = 246; my $cust_label = '(cust #, name, company, email'; if ( $conf->exists('address1-search') ) { $cust_label .= ', address'; $cust_width += 56; } $cust_label .= ' or contact phone)'; $cust_label = emt($cust_label); my $width = $menu_position eq 'left' ? '190px' : $cust_width.'px';