[freeside-commits] freeside/httemplate/browse part_svc.cgi, 1.37, 1.38
Mark Wells
mark at wavetail.420.am
Thu Nov 10 13:40:07 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv22579/httemplate/browse
Modified Files:
part_svc.cgi
Log Message:
RADIUS groups for svc_broadband, #14695
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_svc.cgi,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -w -d -r1.37 -r1.38
--- part_svc.cgi 1 Apr 2011 02:52:13 -0000 1.37
+++ part_svc.cgi 10 Nov 2011 21:40:04 -0000 1.38
@@ -60,12 +60,14 @@
<TH COLSPAN=2 CLASS="grid" BGCOLOR="#cccccc">Modifier</TH>
</TR>
-
+% my $conf = FS::Conf->new;
% foreach my $part_svc ( @part_svc ) {
% my $svcdb = $part_svc->svcdb;
% my $svc_x = "FS::$svcdb"->new( { svcpart => $part_svc->svcpart } );
% my @dfields = $svc_x->fields;
-% push @dfields, 'usergroup' if $svcdb eq 'svc_acct'; #kludge
+% push @dfields, 'usergroup' if $svcdb eq 'svc_acct' #double kludge
+% or ($svcdb eq 'svc_broadband'
+% and $conf->exists('svc_broadband-radius'));
% my @fields =
% grep { my $col = $part_svc->part_svc_column($_);
% my $def = FS::part_svc->svc_table_fields($svcdb)->{$_};
More information about the freeside-commits
mailing list