summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-05-07 11:18:15 -0700
committerIvan Kohler <ivan@freeside.biz>2012-05-07 11:18:15 -0700
commita7ec3dcd42e7f15b2bce2abfb5dc9ea07c964cd4 (patch)
tree7cf92b30280aad14040824f6516396b72d421f10 /httemplate/view
parentdf42da2496a364dc9d0e6866de280448066413a9 (diff)
add spouse_birthdate, RT#17577
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/misc.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
index c7a3ebf86..813881c26 100644
--- a/httemplate/view/cust_main/misc.html
+++ b/httemplate/view/cust_main/misc.html
@@ -116,6 +116,20 @@
% }
+% 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>