X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fsvc_dish.html;h=f1c83a71958a6bea3aabf6a56b172fd553f89516;hb=38f5c59a6a3b92881c0f60bc8dccc9acd0feef41;hp=6c8851e77f7ac1e9a581517054eb0f22187c97d4;hpb=b65b8096089410001dfbcd35f9a56f9405b9f5f1;p=freeside.git diff --git a/httemplate/edit/process/svc_dish.html b/httemplate/edit/process/svc_dish.html index 6c8851e77..f1c83a719 100644 --- a/httemplate/edit/process/svc_dish.html +++ b/httemplate/edit/process/svc_dish.html @@ -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; +};