projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DSL status pulling, RT#13656
[freeside.git]
/
FS
/
FS
/
svc_broadband.pm
diff --git
a/FS/FS/svc_broadband.pm
b/FS/FS/svc_broadband.pm
index
f1a233b
..
ad7dedc
100755
(executable)
--- a/
FS/FS/svc_broadband.pm
+++ b/
FS/FS/svc_broadband.pm
@@
-9,7
+9,7
@@
use FS::addr_block;
use FS::part_svc_router;
use NetAddr::IP;
use FS::part_svc_router;
use NetAddr::IP;
-@ISA = qw( FS::svc_Common );
+@ISA = qw( FS::svc_
Radius_Mixin FS::svc_
Common );
$FS::UID::callback{'FS::svc_broadband'} = sub {
$conf = new FS::Conf;
$FS::UID::callback{'FS::svc_broadband'} = sub {
$conf = new FS::Conf;
@@
-115,6
+115,15
@@
sub table_info {
'longitude' => 'Longitude',
'altitude' => 'Altitude',
'vlan_profile' => 'VLAN profile',
'longitude' => 'Longitude',
'altitude' => 'Altitude',
'vlan_profile' => 'VLAN profile',
+ 'usergroup' => {
+ label => 'RADIUS groups',
+ type => 'select-radius_group.html',
+ #select_table => 'radius_group',
+ #select_key => 'groupnum',
+ #select_label => 'groupname',
+ disable_inventory => 1,
+ multiple => 1,
+ },
},
};
}
},
};
}
@@
-168,7
+177,7
@@
sub search {
#agentnum
if ( $params->{'agentnum'} =~ /^(\d+)$/ and $1 ) {
#agentnum
if ( $params->{'agentnum'} =~ /^(\d+)$/ and $1 ) {
- push @where, "agentnum = $1";
+ push @where, "
cust_main.
agentnum = $1";
}
push @where, $FS::CurrentUser::CurrentUser->agentnums_sql(
'null_right' => 'View/link unlinked services',
}
push @where, $FS::CurrentUser::CurrentUser->agentnums_sql(
'null_right' => 'View/link unlinked services',