X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=f6c1b026c73539f8b5d44aa8e2321cf89431fd10;hb=bc53d77e5cd5543a76bb38aa2acf96fbfa61714d;hp=a4e377078df0fcbb435ee37a9eb765224511b03e;hpb=1fd6d8cf5d7854860ef4fd10ed89828e0c04ec39;p=freeside.git diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index a4e377078..f6c1b026c 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -1,4 +1,4 @@ - + <% my $conf = new FS::Conf; @@ -39,16 +39,27 @@ if ( $svc_acct->domsvc ) { $domain = $mydomain; } -print header('Account View', menubar( +%> + + + +<%= header('Account View', menubar( ( ( $pkgnum || $custnum ) ? ( "View this package (#$pkgnum)" => "${p}view/cust_pkg.cgi?$pkgnum", "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum", ) : ( "Cancel this (unaudited) account" => - "${p}misc/cancel-unaudited.cgi?$svcnum" ) + "javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')" ) ), "Main menu" => $p, -)); +)) %> + +<% #print qq!
Send account information!; @@ -79,6 +90,12 @@ if ( $conf->exists('showpasswords') ) { print ""; $password = ''; +if ( $conf->exists('security_phrase') ) { + my $sec_phrase = $svc_acct->sec_phrase; + print 'Security phrase'. + $svc_acct->sec_phrase. ''; +} + my $svc_acct_pop = qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum}); print "Access number". "". $svc_acct_pop->text. '' @@ -129,6 +146,11 @@ if ($svc_acct->slipip) { print "(No SLIP/PPP account)"; } -print ""; +print 'RADIUS groups'. + join('
', $svc_acct->radius_groups). ''; + +print "". + '
'. joblisting({'svcnum'=>$svcnum}, 1). + ""; %>