projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move use statements to handler.pl, do not show 1/1/70 for new birthdates, and improve...
[freeside.git]
/
httemplate
/
view
/
cust_main
/
misc.html
diff --git
a/httemplate/view/cust_main/misc.html
b/httemplate/view/cust_main/misc.html
index
fdc5ba4
..
9528db2
100644
(file)
--- a/
httemplate/view/cust_main/misc.html
+++ b/
httemplate/view/cust_main/misc.html
@@
-91,11
+91,19
@@
<TD BGCOLOR="#ffffff"><% $cust_main->otaker %></TD>
</TR>
<TD BGCOLOR="#ffffff"><% $cust_main->otaker %></TD>
</TR>
+ <TR>
+ <TD ALIGN="right">Signup Date</TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %></TD>
+ </TR>
+
% if ( $conf->exists('cust_main-enable_birthdate') ) {
% if ( $conf->exists('cust_main-enable_birthdate') ) {
+% my $dt = DateTime->from_epoch(epoch => $cust_main->birthdate,
+% time_zone=>'floating',
+% );
<TR>
<TD ALIGN="right">Date of Birth</TD>
<TR>
<TD ALIGN="right">Date of Birth</TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->birthdate
? time2str($date_format, $cust_main->birthdate
) : '' %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->birthdate
ne '' ? $dt->strftime($date_format
) : '' %></TD>
</TR>
% }
</TR>
% }