From: ivan Date: Mon, 28 Feb 2011 00:42:00 +0000 (+0000) Subject: fix port editing not to redirect to svc_Common view without graphs, RT#10574 X-Git-Tag: freeside_2_3_0~545 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ae97c1ccb5052608d65ca30f073029d38d0d9a4e fix port editing not to redirect to svc_Common view without graphs, RT#10574 --- diff --git a/httemplate/edit/process/svc_port.html b/httemplate/edit/process/svc_port.html new file mode 100644 index 000000000..f873a6417 --- /dev/null +++ b/httemplate/edit/process/svc_port.html @@ -0,0 +1,10 @@ +<% include( 'elements/svc_Common.html', + 'table' => 'svc_port', + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific? + + diff --git a/httemplate/edit/svc_port.cgi b/httemplate/edit/svc_port.cgi index e17b38087..118c4ede7 100644 --- a/httemplate/edit/svc_port.cgi +++ b/httemplate/edit/svc_port.cgi @@ -3,7 +3,7 @@ 'table' => 'svc_port', 'fields' => \@fields, 'labels' => \%labels, - 'post_url' => popurl(1). "process/svc_Common.html", #? + #'post_url' => popurl(1). "process/svc_Common.html", #? ) %> <%init>