[freeside-commits] freeside/httemplate/view/cust_main misc.html, 1.4, 1.5

Jeff Finucane,420,, jeff at wavetail.420.am
Wed Oct 4 14:22:10 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv3524/httemplate/view/cust_main

Modified Files:
	misc.html 
Log Message:
DoB

Index: misc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/misc.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- misc.html	23 Aug 2006 22:25:38 -0000	1.4
+++ misc.html	4 Oct 2006 21:22:08 -0000	1.5
@@ -1,6 +1,7 @@
 %
 %  my( $cust_main ) = @_;
 %  my $conf = new FS::Conf;
+%  my $date_format = ($conf->config('date_format') || "%m/%d/%Y");
 %
 
 
@@ -90,5 +91,10 @@
   <TD BGCOLOR="#ffffff"><% $cust_main->otaker %></TD>
 </TR>
 
+<TR>
+  <TD ALIGN="right">Date of Birth</TD>
+  <TD BGCOLOR="#ffffff"><% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %></TD>
+</TR>
+
 </TABLE></TD></TR></TABLE>
 



More information about the freeside-commits mailing list