[freeside-commits] freeside/httemplate/edit/process svc_dish.html, 1.1, 1.2
Mark Wells
mark at wavetail.420.am
Sat Apr 30 14:08:17 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv25437/httemplate/edit/process
Modified Files:
svc_dish.html
Log Message:
svc_dish fixes, #11454
Index: svc_dish.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/svc_dish.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- svc_dish.html 1 Apr 2011 02:52:14 -0000 1.1
+++ svc_dish.html 30 Apr 2011 21:08:15 -0000 1.2
@@ -1,5 +1,6 @@
<% include( 'elements/svc_Common.html',
'table' => 'svc_dish',
+ 'value_callback' => $value_callback,
)
%>
<%init>
@@ -7,4 +8,8 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+my $value_callback = sub {
+ my ($field, $value) = @_;
+ ($field eq 'installdate') ? parse_datetime($value) : $value;
+};
</%init>
More information about the freeside-commits
mailing list