},
{
- '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.',
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 = '';
% # CDR flags / options
% ###
-% if ( $conf->exists('voip-cust_cdr_spools') ) {
- <TR>
- <TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="spool_cdr" VALUE="Y" <% $cust_main->spool_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Spool CDRs') |h %></TD>
- </TR>
-% } else {
- <INPUT TYPE="hidden" NAME="spool_cdr" VALUE="<% $cust_main->spool_cdr %>">
-% }
-
% if ( $conf->exists('voip-cust_cdr_squelch') ) {
<TR>
<TD COLSPAN="2"><INPUT TYPE="checkbox" NAME="squelch_cdr" VALUE="Y" <% $cust_main->squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt($conf->exists('voip-cdr_email') ? 'Omit CDRs from printed invoices' : 'Omit CDRs from invoices') |h %></TD>
</TD>
</TR>
-% if ( $conf->exists('voip-cust_cdr_spools') ) {
- <TR>
- <TH ALIGN="right"><% mt('Spool CDRs') |h %></TH>
- <TD><% $cust_main->spool_cdr ? $yes : $no %></TD>
- </TR>
-% }
-
% if ( $conf->exists('voip-cust_cdr_squelch') ) {
<TR>
<TH ALIGN="right"><% mt($conf->exists('voip-cdr_email') ? 'Print CDRs' : 'Show CDRs') |h %></TH>