-<!-- $Id: svc_acct.cgi,v 1.10 2002-01-30 14:18:09 ivan Exp $ -->
+<!-- mason kludge -->
<%
my $conf = new FS::Conf;
print "</TR></TD>";
$password = '';
+if ( $conf->exists('security_phrase') ) {
+ my $sec_phrase = $svc_acct->sec_phrase;
+ print '<TR><TD ALIGN="right">Security phrase</TD><TD BGCOLOR="#ffffff">'.
+ $svc_acct->sec_phrase. '</TD></TR>';
+}
+
my $svc_acct_pop = qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum});
print "<TR><TD ALIGN=\"right\">Access number</TD>".
"<TD BGCOLOR=\"#ffffff\">". $svc_acct_pop->text. '</TD></TR>'
print "<TR><TH COLSPAN=2>(No SLIP/PPP account)</TH></TR>";
}
-print "</TABLE></TD></TR></TABLE></BODY></HTML>";
+print '<TR><TD ALIGN="right">RADIUS groups</TD><TD BGCOLOR="#ffffff">'.
+ join('<BR>', $svc_acct->radius_groups). '</TD></TR>';
+
+print "</TABLE></TD></TR></TABLE>".
+ '<BR>'. joblisting({'svcnum'=>$svcnum}, 1).
+ "</BODY></HTML>";
%>