sales tax districts, #15089
[freeside.git] / httemplate / view / cust_main / misc.html
index 5987459..c7a3ebf 100644 (file)
@@ -77,7 +77,7 @@
 %
 
 
-<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-require_censustract') ) {
 
   <TR>
-    <TD ALIGN="right"><% mt('Census tract') |h %></TD>
+    <TD ALIGN="right">
+      <% mt('Census tract ([_1])', $cust_main->censusyear) |h %>
+    </TD>
     <TD BGCOLOR="#ffffff"><% $cust_main->censustract  %></TD>
   </TR>
 
 % }
 
+% if ( $cust_main->district ) {
+
+  <TR>
+    <TD ALIGN="right"><% mt('Tax district') |h %></TD>
+    <TD BGCOLOR="#ffffff"><% $cust_main->district %></TD>
+  </TR>
+
+% }
+
+
 % if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
 
   <TR>