X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_acct_pop.cgi;h=3c16a1f95b6808e1b7d91feb812c45926cb31734;hb=9464e3517fcae6a735c14b3fb15b91f3886a884a;hp=399502a707738db0d51956cbd30d9a7a90474eb6;hpb=f7fd2a3e34da751cbc02bbf215e99c6dc89adc15;p=freeside.git diff --git a/httemplate/edit/svc_acct_pop.cgi b/httemplate/edit/svc_acct_pop.cgi index 399502a70..3c16a1f95 100755 --- a/httemplate/edit/svc_acct_pop.cgi +++ b/httemplate/edit/svc_acct_pop.cgi @@ -1,5 +1,34 @@ - -<% +<% include('/elements/header.html', "$action Access Number", menubar( + 'View all Access Numbers' => popurl(2). "browse/svc_acct_pop.cgi", + )) +%> + +<% include('/elements/error.html') %> + +
+ + +Access Number #<% $hashref->{popnum} ? $hashref->{popnum} : "(NEW)" %> + +
+City      
+State     
+Area Code 
+Exchange  
+Local     
+
+ +
+"> + +
+ +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); my $svc_acct_pop; if ( $cgi->param('error') ) { @@ -17,40 +46,5 @@ my $action = $svc_acct_pop->popnum ? 'Edit' : 'Add'; my $hashref = $svc_acct_pop->hashref; my $p1 = popurl(1); -print header("$action Access Number", menubar( - 'Main Menu' => popurl(2), - 'View all Access Numbers' => popurl(2). "browse/svc_acct_pop.cgi", -)); - -print qq!Error: !, $cgi->param('error'), - "" - if $cgi->param('error'); - -print qq!
!; -#display - -print qq!!, - "POP #", $hashref->{popnum} ? $hashref->{popnum} : "(NEW)"; - -print < -City -State -Area Code -Exchange -Local - -END - -print qq!
!; - -print < - - -END - -%> +