X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fname.html;h=4929f87349224d2a1e60ced5b549f606f74bf9f9;hb=659bfc275fe537566bfde62b3a2a7477e10e0bc0;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..4929f8734 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -1,48 +1,61 @@ <%def .namepart> % my ($field, $value, $label, $extra) = @_; - +
>
<% mt($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') ) { - + Email address(es) + invoicing_list_emailonly_scalar %>> + VALUE="<% $cust_main->invoicing_list_emailonly_scalar %>"> + + + + message_noemail eq 'Y' ) + ? 'CHECKED' + : '' + %>> <% emt('Do not send notices') %> + % } <%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') ) {