% }
<BR>
<TABLE> <TR>
- <TD STYLE="width:650px">
+ <TD>
%#; padding-right:2px; vertical-align:top">
<FONT CLASS="fsinnerbox-title"><% mt('Billing address') |h %></FONT>
<TABLE CLASS="fsinnerbox" WIDTH="100%">
</TR>
<TR><TD STYLE="height:14px"></TD></TR>
<TR>
- <TD STYLE="width:650px">
+ <TD>
<FONT CLASS="fsinnerbox-title"><% mt('Service address') |h %></FONT>
<INPUT TYPE="checkbox"
NAME="same"
<INPUT TYPE="hidden" NAME="agentnum" ID="agentnum"
VALUE="<% $agentnum %>">
<TR>
- <TD ALIGN="right"><% mt('Agent') |h %></TD>
+ <TH ALIGN="right"><% mt('Agent') |h %></TD>
<TD CLASS="fsdisabled"><% $cust_main->agent->agent |h %></TD>
</TR>
<& /elements/tr-select-agent.html,
'curr_value' => $cust_main->agentnum,
- 'label' => "<B>${r}".emt('Agent')."</B>",
+ 'label' => $r. emt('Agent'),
'empty_label' => emt('Select agent'),
'disable_empty' => ( $cust_main->agentnum ? 1 : 0 ),
'viewall_right' => emt('None'),
% if ( $conf->exists('cust_main-edit_agent_custid') ) {
<TR>
- <TD ALIGN="right"><% mt('Customer identifier') |h %></TD>
+ <TH ALIGN="right"><% mt('Customer identifier') |h %></TD>
<TD><INPUT TYPE="text" NAME="agent_custid" VALUE="<% $cust_main->agent_custid %>"></TD>
</TR>
%#sales person
<& /elements/tr-select-sales.html,
'curr_value' => $cust_main->salesnum,
+ 'th' => 1,
&>
%# referral (advertising source)
<& /elements/tr-select-part_referral.html,
'curr_value' => $refnum,
- 'label' => "<B>${r}".emt('Advertising source')."</B>"
+ 'label' => $r. emt('Advertising source'),
&>
% }
%) {
<TR>
- <TD ALIGN="right"><% mt('Referring customer') |h %></TD>
+ <TH ALIGN="right"><% mt('Referring customer') |h %></TD>
<TD>
<A HREF="<% popurl(1) %>/cust_main.cgi?<% $cust_main->referral_custnum %>"><% $cust_main->referral_custnum %>: <% $referring_cust_main->name |h %></A>
</TD>
% } elsif ( ! $conf->exists('disable_customer_referrals') ) {
<TR>
- <TD ALIGN="right"><% mt('Referring customer') |h %></TD>
+ <TH ALIGN="right"><% mt('Referring customer') |h %></TD>
<TD>
<& /elements/search-cust_main.html,
'field_name' => 'referral_custnum',
% my $cust_main = shift;
<TR ID="company_row" <% $cust_main->company ? '' : 'STYLE="display:none"' %>>
- <TD ALIGN="right"><% mt('Company') |h %></TD>
+ <TH ALIGN="right"><% mt('Company') |h %></TD>
<TD COLSPAN=6><INPUT TYPE="text" NAME="company" ID="company" SIZE=60
VALUE="<% $cust_main->company |h %>">
</TD>
% my $cust_main = shift;
<TR>
- <TD ALIGN="right"><% mt('Fax') |h %></TD>
+ <TH ALIGN="right"><% mt('Fax') |h %></TD>
<TD><INPUT TYPE="text" NAME="fax" VALUE="<% $cust_main->fax %>" SIZE=18></TD>
</TR>
% my ($field, $value, $label, $extra) = @_;
<DIV STYLE="display: inline-block">
<INPUT TYPE="text" NAME="<% $field %>" VALUE="<% $value |h %>" <%$extra%>>
- <BR><FONT SIZE=-1><% mt($label) %></FONT>
+ <BR><FONT SIZE="-1" COLOR="#333333"><% mt($label) %></FONT>
</DIV>
</%def>
<TR>
- <TD CLASS="required label"><% mt('Contact name') |h %></TD>
+ <TH CLASS="required label" ALIGN="right"><% mt('Contact name') |h %></TD>
<TD COLSPAN=6 STYLE="vertical-align:top">
<& .namepart, 'last', $cust_main->last, 'Last', ',' &>
<& .namepart, 'first', $cust_main->first, 'First' &>
</TR>
% if ( $conf->exists('cust_main-enable_spouse') ) {
<TR ID="spouse_row">
- <TD CLASS="label"><% mt('Spouse\'s name') |h %></TD>
+ <TH CLASS="label"><% mt('Spouse\'s name') |h %></TD>
<TD COLSPAN=6>
<& .namepart, 'spouse_last', $cust_main->spouse_last, 'Last', ',' &>
<& .namepart, 'spouse_first', $cust_main->spouse_first, 'First' &>
% if ( $conf->exists('cust-email-high-visibility') ) {
<TR>
- <TD ALIGN="right" CLASS="
+ <TH ALIGN="right" CLASS="
<% $conf->exists('cust_main-require_invoicing_list_email', $agentnum)
? 'required label'
: 'label' %>">Email address(es)
<TR>
- <TD VALIGN="top" ALIGN="right"><% mt('Phones') |h %></TD>
+ <TH VALIGN="top" ALIGN="right"><% mt('Phones') |h %></TD>
<TD COLSPAN=6>
<TABLE CELLSPACING=0 CELLPADDING=0>
<TR>
VALUE="<% $cust_main->get($phone) %>"
SIZE=18
>
- <BR><FONT SIZE=-1><% mt($phone_label{$phone}) |h %></FONT>
+ <BR><FONT SIZE=-1 COLOR="#333333"><% mt($phone_label{$phone}) |h %></FONT>
</TD>
<TD> </TD>
% }
.fsinnerbox {
/* background-color:#cccccc; */
padding:2px;
- border: 1px solid #cccccc;
+ border: 1px solid #999999;
border-radius: 2px;
}
.fsinnerbox th {
font-weight:normal;
- font-size:75%;
+ font-size:80%;
valign: bottom;
color: #666666;
}
% if ( $label_prefix eq '_location' ) {
<TR>
- <TD ALIGN="right" ><% $opt{'locationname_label'} || emt('Location ID') %></TD>
+ <TH ALIGN="right" ><% $opt{'locationname_label'} || emt('Location ID') %></TD>
<TD COLSPAN=7>
<INPUT TYPE = "text"
NAME = "<%$pre%>locationname"
% if ( ! $opt{'alt_format'} ) { #regular format
<TR>
- <TD ALIGN="right"><FONT ID="<% $pre %>address2_required" color="#ff0000" <% $address2_label_style %>>*</FONT> <FONT ID="<% $pre %>address2_label" <% $address2_label_style %>><B>Unit #</B></FONT></TD>
+ <TH ALIGN="right"><FONT ID="<% $pre %>address2_required" color="#ff0000" <% $address2_label_style %>>*</FONT> <FONT ID="<% $pre %>address2_label" <% $address2_label_style %>><B>Unit #</B></FONT></TD>
<TD COLSPAN=7>
<INPUT TYPE = "text"
NAME = "<%$pre%>address2"
% if ( $opt{enable_coords} ) {
<TR>
- <TD ALIGN="right"><% mt('Latitude') |h %></TD>
+ <TH ALIGN="right"><% mt('Latitude') |h %></TD>
<TD COLSPAN=7>
<INPUT TYPE = "text"
NAME = "<%$pre%>latitude"
<% $disabled %>
<% $style %>
>
- <% mt('Longitude') |h %>
+ <FONT SIZE="-1" COLOR="#666666"><% mt('Longitude') |h %></FONT>
<INPUT TYPE = "text"
NAME = "<%$pre%>longitude"
ID = "<%$pre%>longitude"
%
% if ( $opt{enable_censustract} ) {
<TR>
- <TD ALIGN="right">Census tract</TD>
+ <TH ALIGN="right">Census tract</TD>
<TD COLSPAN=8>
<INPUT TYPE="text" SIZE=15
ID="<% $pre %>enter_censustract"
NAME="<% $pre %>enter_censustract"
VALUE="<% $object->censustract |h %>">
- <% '(automatic)' %>
+ <FONT SIZE="-1" COLOR="#333333"><% '(automatic)' %></FONT>
</TD>
</TR>
% }
% if ( scalar(@agents) != 1 ) {
<TR>
- <TD ALIGN="right"><% $opt{'label'} || emt('Agent') %></TD>
+ <TH ALIGN="right"><% $opt{'label'} || emt('Agent') %></TD>
<TD BGCOLOR="#dddddd" <% $colspan %>>
% my $agent = qsearchs('agent', { 'agentnum' => $agentnum });
<% $agent ? $agent->agent : '(all)' |h %>
% } else {
<TR>
- <TD ALIGN="right"><% $opt{'label'} || emt('Agent') %></TD>
+ <TH ALIGN="right"><% $opt{'label'} || emt('Agent') %></TD>
<TD <% $colspan %>>
<& /elements/select-agent.html,
'curr_value' => $agentnum,
% } else {
<TR>
- <TD ALIGN="right"><% $opt{'label'} || 'Customer class' %></TD>
+ <TH ALIGN="right"><% $opt{'label'} || 'Customer class' %></TD>
<TD>
<% include( '/elements/select-cust_class.html',
'curr_value' => $classnum,
% if ( ($curuser->access_right('Edit customer tags') && @part_tag) || $is_report ) {
<TR>
- <TD ALIGN="right"><% $opt{'label'} || 'Tags' %></TD>
+ <TH ALIGN="right"><% $opt{'label'} || 'Tags' %></TD>
<TD>
<% include( '/elements/select-cust_tag.html',
'curr_value' => \@curr_tagnum,
+<%doc>
+
+Actually <TR> <TH> $label </TH>
+
+</%doc>
<TR>
- <TD ALIGN = "right"
+ <TH ALIGN = "right"
VALIGN = "<% $opt{'valign'} || 'top' %>"
STYLE = "<% $style %>"
ID = "<% $opt{label_id} || $opt{id}. '_label0' %>"