[freeside-commits] freeside/httemplate/edit/process svc_phone.html, 1.4, 1.4.4.1

Erik Levinson levinse at wavetail.420.am
Sat Dec 25 20:09:39 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv29725/httemplate/edit/process

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	svc_phone.html 
Log Message:
added basic LNP capability to svc_phone including SS, RT10948

Index: svc_phone.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/svc_phone.html,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -u -w -d -r1.4 -r1.4.4.1
--- svc_phone.html	12 Mar 2010 21:29:04 -0000	1.4
+++ svc_phone.html	26 Dec 2010 04:09:37 -0000	1.4.4.1
@@ -1,6 +1,7 @@
 <% include( 'elements/svc_Common.html',
                'table'    => 'svc_phone',
                'args_callback' => $args_callback,
+	       'value_callback' => $value_callback,
            )
 %>
 <%init>
@@ -24,6 +25,9 @@
 
 };
 
-
+my $value_callback = sub {
+     my ($field, $value) = @_;
+     ($field =~ /_date$/) ? parse_datetime($value) : $value;
+};
 
 </%init>



More information about the freeside-commits mailing list