projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 83039 - only towers with sectors shown on provisioning page when export requires...
[freeside.git]
/
FS
/
FS
/
part_export
/
broadband_sqlradius.pm
diff --git
a/FS/FS/part_export/broadband_sqlradius.pm
b/FS/FS/part_export/broadband_sqlradius.pm
index
e58c641
..
bf95e23
100644
(file)
--- a/
FS/FS/part_export/broadband_sqlradius.pm
+++ b/
FS/FS/part_export/broadband_sqlradius.pm
@@
-28,6
+28,10
@@
tie %options, 'Tie::IxHash',
type => 'select',
options => [qw( radusergroup usergroup )],
},
type => 'select',
options => [qw( radusergroup usergroup )],
},
+ 'ignore_accounting' => {
+ type => 'checkbox',
+ label => 'Ignore accounting records from this database'
+ },
# session report doesn't currently know about this export anyway
# 'hide_ip' => {
# type => 'checkbox',
# session report doesn't currently know about this export anyway
# 'hide_ip' => {
# type => 'checkbox',
@@
-133,6
+137,8
@@
sub radius_check_suspended {
sub _export_suspend {
my( $self, $svc_broadband ) = (shift, shift);
sub _export_suspend {
my( $self, $svc_broadband ) = (shift, shift);
+ return '' if $self->option('skip_provisioning');
+
local $SIG{HUP} = 'IGNORE';
local $SIG{INT} = 'IGNORE';
local $SIG{QUIT} = 'IGNORE';
local $SIG{HUP} = 'IGNORE';
local $SIG{INT} = 'IGNORE';
local $SIG{QUIT} = 'IGNORE';