diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:36 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:36 -0700 |
commit | c1cabbc4cea2e0cfd9e1db668100b97069140cf5 (patch) | |
tree | 2ca980e18ec0f6ad4c7dc49bc1047d384c7b711d /httemplate/view | |
parent | 8f3139933969cd2bc2a7d866d713c267f6d3cb18 (diff) |
add anniversary date, RT#18631
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/misc.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index a0ab403e8..dc6da53f1 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -130,6 +130,20 @@ % } +% if ( $conf->exists('cust_main-enable_anniversary_date') ) { +% my $dt = $cust_main->anniversary_date ne '' +% ? DateTime->from_epoch( 'epoch' => $cust_main->anniversary_date, +% 'time_zone' =>'floating', +% ) +% : ''; + + <TR> + <TD ALIGN="right"><% mt('Anniversary Date') |h %></TD> + <TD BGCOLOR="#ffffff"><% $dt ? $dt->strftime($date_format) : '' %></TD> + </TR> + +% } + % if ( $conf->exists('cust_main-require_censustract') ) { <TR> |