break _bytecount subroutines out of FS::UI::Web
[freeside.git] / httemplate / edit / process / svc_Common.html
1 <%init>
2
3 $cgi->param('svcdb') =~ /^(svc_\w+)$/ or die "unparsable svcdb";
4 my $table = $1;
5 require "FS/$table.pm";
6
7 </%init>
8 <% include( 'elements/svc_Common.html',
9               'table'    => $table,
10               'redirect' => popurl(3)."view/svc_Common.html?svcdb=$table;svcnum=",
11               'error_redirect' => popurl(3)."edit/svc_Common.html?svcdb=$table;",
12           )
13 %>