X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=f6c1b026c73539f8b5d44aa8e2321cf89431fd10;hb=91c1b8e16502b31bf824a010a4e2ad1dcf247ec4;hp=31327a6250100330457d4bc97ad74b1a59955092;hpb=22a35047ecdffff80110e06cc08fc84f9ddba9b0;p=freeside.git diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 31327a625..f6c1b026c 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -1,3 +1,4 @@ + <% my $conf = new FS::Conf; @@ -38,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!; @@ -78,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. '' @@ -128,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). + ""; %>