X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fbroadband_sqlradius.pm;h=bf95e234d3f63e4b35d2631f6d5217b4e65d93a2;hb=6702f62122aeca25cedd635914a9bd9d1d5a35eb;hp=e58c641cf11eb49c9ac4cb6ab53cc7a8cb06b634;hpb=e29d9d153375962cb431186355be0c3ad6b1bb21;p=freeside.git diff --git a/FS/FS/part_export/broadband_sqlradius.pm b/FS/FS/part_export/broadband_sqlradius.pm index e58c641cf..bf95e234d 100644 --- 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 )], }, + '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', @@ -133,6 +137,8 @@ sub radius_check_suspended { 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';