X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=a0ab403e8d0317c32e7793364d5b0442e994b279;hb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;hp=c59f6af090622b054c3f800f542bfc91268123e4;hpb=c62b6d38ca0e19c2e936c4b1659357babe73d1d7;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index c59f6af09..a0ab403e8 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,4 +1,4 @@ -<% ntable("#cccccc") %><% &ntable("#cccccc",2) %> + @@ -116,15 +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', +% ) +% : ''; + + + + + + +% } + % if ( $conf->exists('cust_main-require_censustract') ) { - - + + + + +% } + +% if ( $cust_main->district ) { + + + + % } + % if ( $conf->exists('ticket_system-selfservice_edit_subject') ) { @@ -138,7 +164,7 @@ <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %> % } -
<% mt('Customer number') |h %>
<% mt('Spouse Date of Birth') |h %><% $dt ? $dt->strftime($date_format) : '' %>
<% mt('Census tract') |h %><% $cust_main->censustract %> + <% mt('Census tract ([_1])', $cust_main->ship_location->censusyear) |h %> + <% $cust_main->ship_location->censustract %>
<% mt('Tax district') |h %><% $cust_main->ship_location->district %>
+ <%init> my( $cust_main ) = @_;