<%def .namepart> % my ($field, $value, $label, $extra) = @_; >
<% mt($label) %> <%$r%><% mt('Contact name') |h %> <& .namepart, 'last', $cust_main->last, 'Last' &> <& .namepart, 'first', $cust_main->first, 'First' &> % if ( $conf->exists('show_ss') ) { <& .namepart, 'ss', $ss, 'SS#', "SIZE=11" &> % } else { % }
,  
% if ( $conf->exists('cust-email-high-visibility') ) { <% $conf->exists('cust_main-require_invoicing_list_email', $agentnum) ? $r : '' %>Email address(es) invoicing_list_emailonly_scalar %>> % } <%init> my $cust_main = shift; my $agentnum = $cust_main->agentnum if $cust_main->custnum; my $conf = FS::Conf->new; my $r = '* '; my $ss; if ( $cgi->param('error') or $conf->exists('unmask_ss') ) { $ss = $cust_main->ss; } else { $ss = $cust_main->masked('ss'); }