-<% ntable("#cccccc") %><TR><TD><% &ntable("#cccccc",2) %>
+<TABLE CLASS="fsinnerbox">
<TR>
<TD ALIGN="right"><% mt('Customer number') |h %></TD>
%
-<A HREF="<% popurl(1) %>cust_main.cgi?<% $cust_main->referral_custnum %>"><%$cust_main->referral_custnum %>:
+<A HREF="<% popurl(1) %>cust_main.cgi?<% $cust_main->referral_custnum %>"><%$referring_cust_main->display_custnum %>:
<%
( $referring_cust_main->company
? $referring_cust_main->company. ' ('.
% }
+% if ( $conf->exists('cust_main-enable_spouse_birthdate') ) {
+% my $dt = $cust_main->spouse_birthdate ne ''
+% ? DateTime->from_epoch( 'epoch' => $cust_main->spouse_birthdate,
+% 'time_zone' =>'floating',
+% )
+% : '';
+
+ <TR>
+ <TD ALIGN="right"><% mt('Spouse Date of Birth') |h %></TD>
+ <TD BGCOLOR="#ffffff"><% $dt ? $dt->strftime($date_format) : '' %></TD>
+ </TR>
+
+% }
+
% if ( $conf->exists('cust_main-require_censustract') ) {
<TR>
- <TD ALIGN="right"><% mt('Census tract') |h %></TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->censustract %></TD>
+ <TD ALIGN="right">
+ <% mt('Census tract ([_1])', $cust_main->ship_location->censusyear) |h %>
+ </TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->ship_location->censustract %></TD>
</TR>
% }
-% foreach (sort { $a cmp $b } $cust_main->virtual_fields) {
- <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %>
+% if ( $cust_main->district ) {
+
+ <TR>
+ <TD ALIGN="right"><% mt('Tax district') |h %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->ship_location->district %></TD>
+ </TR>
+
% }
+
% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
<TR>
% }
-</TABLE></TD></TR></TABLE>
+% foreach (sort { $a cmp $b } $cust_main->virtual_fields) {
+ <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %>
+% }
+
+</TABLE>
<%init>
my( $cust_main ) = @_;