X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=12faa5738a4641bc17b9900646fd9270c96b6753;hb=5214a5560240667a3a914c45df046b420926a5ec;hp=9346aba4a77e22a963d996cbb5c2470abafd4ef0;hpb=c405e80203f323a83b447d6fc899dbba32d52f2a;p=freeside.git
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
index 9346aba4a..12faa5738 100644
--- a/httemplate/view/cust_main/misc.html
+++ b/httemplate/view/cust_main/misc.html
@@ -1,4 +1,4 @@
-<% ntable("#cccccc") %>
<% &ntable("#cccccc",2) %>
+
<% mt('Customer number') |h %> |
@@ -77,7 +77,7 @@
%
-<%$cust_main->referral_custnum %>:
+<%$referring_cust_main->display_custnum %>:
<%
( $referring_cust_main->company
? $referring_cust_main->company. ' ('.
@@ -116,19 +116,41 @@
% }
+% 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',
+% )
+% : '';
+
+
+ <% mt('Spouse Date of Birth') |h %> |
+ <% $dt ? $dt->strftime($date_format) : '' %> |
+
+
+% }
+
% if ( $conf->exists('cust_main-require_censustract') ) {
- <% mt('Census tract') |h %> |
+
+ <% mt('Census tract ([_1])', $cust_main->censusyear) |h %>
+ |
<% $cust_main->censustract %> |
% }
-% foreach (sort { $a cmp $b } $cust_main->virtual_fields) {
- <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %>
+% if ( $cust_main->district ) {
+
+
+ <% mt('Tax district') |h %> |
+ <% $cust_main->district %> |
+
+
% }
+
% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) {
@@ -138,7 +160,11 @@
% }
- |
+% foreach (sort { $a cmp $b } $cust_main->virtual_fields) {
+ <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %>
+% }
+
+
<%init>
my( $cust_main ) = @_;