From cfcc4c14a40c84d1603c707066e7644aefef5690 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 7 May 2012 11:18:13 -0700 Subject: add spouse_birthdate, RT#17577 --- httemplate/view/cust_main/misc.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'httemplate/view') diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 295328721..12faa5738 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', +% ) +% : ''; + + + <% mt('Spouse Date of Birth') |h %> + <% $dt ? $dt->strftime($date_format) : '' %> + + +% } + % if ( $conf->exists('cust_main-require_censustract') ) { -- cgit v1.2.1