From ea1f12bb5c5764f784e884fa8d7c37e5cd0b28e0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 25 Jan 2017 22:34:42 -0800 Subject: [PATCH] can't find any indication this did anything back to 3.x --- FS/FS/Conf.pm | 7 ------- FS/FS/part_pkg/voip_inbound.pm | 3 --- httemplate/edit/cust_main/billing.html | 8 -------- httemplate/view/cust_main/billing.html | 7 ------- 4 files changed, 25 deletions(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index b3654b94f..4bc7404b4 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -3584,13 +3584,6 @@ and customer address. Include units.', }, { - 'key' => 'voip-cust_cdr_spools', - 'section' => 'deprecated', - 'description' => 'Deprecated, used to enable the per-customer option for individual CDR spools.', - 'type' => 'checkbox', - }, - - { 'key' => 'voip-cust_cdr_squelch', 'section' => 'telephony_invoicing', 'description' => 'Enable the per-customer option for not printing CDR on invoices.', diff --git a/FS/FS/part_pkg/voip_inbound.pm b/FS/FS/part_pkg/voip_inbound.pm index 15af706c1..e9ab1f733 100644 --- a/FS/FS/part_pkg/voip_inbound.pm +++ b/FS/FS/part_pkg/voip_inbound.pm @@ -206,9 +206,6 @@ sub calc_usage { if $self->recur_temporality eq 'preceding' && ( $last_bill eq '' || $last_bill == 0 ); - my $spool_cdr = $cust_pkg->cust_main->spool_cdr; - - my $charges = 0; # my $downstream_cdr = ''; diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 649c4c945..5714f9a2b 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -224,14 +224,6 @@ function toggle(obj) { % # CDR flags / options % ### -% if ( $conf->exists('voip-cust_cdr_spools') ) { - - spool_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Spool CDRs') |h %> - -% } else { - -% } - % if ( $conf->exists('voip-cust_cdr_squelch') ) { squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt($conf->exists('voip-cdr_email') ? 'Omit CDRs from printed invoices' : 'Omit CDRs from invoices') |h %> diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 49dbeaeba..bd589d79e 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -200,13 +200,6 @@ set_display_recurring(<% encode_json({'display_recurring' => [ $cust_main->displ -% if ( $conf->exists('voip-cust_cdr_spools') ) { - - <% mt('Spool CDRs') |h %> - <% $cust_main->spool_cdr ? $yes : $no %> - -% } - % if ( $conf->exists('voip-cust_cdr_squelch') ) { <% mt($conf->exists('voip-cdr_email') ? 'Print CDRs' : 'Show CDRs') |h %> -- 2.11.0