diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:58 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-07-26 14:02:58 -0700 |
| commit | ef8dcd0957e727a6faf3378c52ebec8c278b01ee (patch) | |
| tree | abc6869a4ccd27e589730043dd3bb65ab642a712 /httemplate/view/cust_main/misc.html | |
| parent | 44470195c16de08d1d48ae0ca9940596bda21849 (diff) | |
add anniversary date, RT#18631
Diffstat (limited to 'httemplate/view/cust_main/misc.html')
| -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 813881c26..5872beb81 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> |
