X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fname.html;h=713f54cdbaabd67155c1c7b7ee6d4ca9fefa6a07;hb=a6c5bd2d56ad177a8f79ac0aa5c88b389513dc82;hp=2641ec930f42c4844aca07f814562c006c340357;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html index 2641ec930..713f54cdb 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -1,48 +1,50 @@ <%def .namepart> % my ($field, $value, $label, $extra) = @_; - +
> -
<% mt($label) %> - +
<% emt($label) %> +
- <%$r%><% mt('Contact name') |h %> - - - - <& .namepart, 'last', $cust_main->last, 'Last' &> - + +   <& .namepart, 'ss', $ss, 'SS#', "SIZE=11" &> % } else { % } - -
, <% mt('Contact name') |h %> + + <& .namepart, 'last', $cust_main->last, 'Last', ',' &> <& .namepart, 'first', $cust_main->first, 'First' &> % if ( $conf->exists('show_ss') ) { -  
+% if ( $conf->exists('cust_main-enable_spouse') ) { + +
<% mt('Spouse\'s name') |h %>
+ + <& .namepart, 'spouse_last', $cust_main->spouse_last, 'Last', ',' &> + <& .namepart, 'spouse_first', $cust_main->spouse_first, 'First' &> + + +% } -% if ( $conf->exists('cust-email-high-visibility') ) { - + + - invoicing_list_emailonly_scalar %>> + ? 'required label' + : 'label' %>">Email address(es) + + + -% } <%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') ) {