diff options
| author | Mark Wells <mark@freeside.biz> | 2016-10-06 14:38:08 -0700 | 
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2016-10-06 14:38:08 -0700 | 
| commit | f2374a673c944e1caa381f4fd2d9c2eb833f41b8 (patch) | |
| tree | d26f4ef43d7f9c72415202827ed08ef258bfad3c | |
| parent | ca06d3471ad5ae4e22150c6f63fe94a8c834b887 (diff) | |
on 4.x, always show included minutes on invoice, #71455
| -rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 9 | 
1 files changed, 2 insertions, 7 deletions
| diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 4b5158ef3..420026dcb 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -120,10 +120,6 @@ tie my %accountcode_tollfree_field, 'Tie::IxHash',      'min_included' => { 'name' => 'Minutes included when using the "single price per minute" or "prefix" rating method',                      }, -    'show_min_included' => { 'name' => 'Show included minutes as an invoice detail', -                             'type' => 'checkbox', -                    }, -      'min_charge' => { 'name' => 'Charge per minute when using "single price per minute" rating method',                      }, @@ -329,7 +325,7 @@ tie my %accountcode_tollfree_field, 'Tie::IxHash',                         cdr_svc_method                         rating_method rounding ratenum intrastate_ratenum                          calls_included -                       min_charge min_included show_min_included +                       min_charge min_included                         sec_granularity                         ignore_unrateable                         default_prefix @@ -547,8 +543,7 @@ sub calc_usage {    $formatter->finish; #writes into $details    unshift @$details, $formatter->header if @$details; -  if ( $self->option_cacheable('show_min_included', 1) -       and $included_min_total > 0 ) { +  if ( $included_min_total > 0 ) {      my $min_detail = sprintf('%d / %d ',                         $included_min_total - $included_min_left, | 
