2 % my ($field, $value, $label, $extra) = @_;
4 <INPUT TYPE="text" NAME="<% $field %>" VALUE="<% $value |h %>" <%$extra%>>
5 <BR><FONT SIZE=-1><% mt($label) %></FONT>
10 <TH VALIGN="top" ALIGN="right"><%$r%><% mt('Contact name') |h %></TH>
12 <TABLE CELLSPACING=0 CELLPADDING=0>
14 <& .namepart, 'last', $cust_main->last, 'Last' &>
15 <TD VALIGN="top"> , </TD>
16 <& .namepart, 'first', $cust_main->first, 'First' &>
17 % if ( $conf->exists('show_ss') ) {
19 <& .namepart, 'ss', $ss, 'SS#', "SIZE=11" &>
21 <INPUT TYPE="hidden" NAME="ss" VALUE="<% $ss %>">
28 % if ( $conf->exists('cust-email-high-visibility') ) {
31 <% $conf->exists('cust_main-require_invoicing_list_email', $agentnum)
33 : '' %>Email address(es)
35 <TD BGCOLOR="#FFFF00">
36 <INPUT TYPE="text" NAME="invoicing_list"
37 VALUE=<% $cust_main->invoicing_list_emailonly_scalar %>>
42 my $cust_main = shift;
43 my $agentnum = $cust_main->agentnum if $cust_main->custnum;
44 my $conf = FS::Conf->new;
45 my $r = '<font color="#ff0000">*</font> ';
48 if ( $cgi->param('error') or $conf->exists('unmask_ss') ) {
51 $ss = $cust_main->masked('ss');