From: ivan Date: Sat, 5 Feb 2011 04:02:34 +0000 (+0000) Subject: add more debug tracing to invoice generation, RT#11452 X-Git-Tag: freeside_2_1_2~79 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=7bc84db7378c6e23fa1495de539a3136b1f44730 add more debug tracing to invoice generation, RT#11452 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 0bfb98547..b8c395a03 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -4197,8 +4197,9 @@ sub _items_cust_bill_pkg { foreach my $cust_bill_pkg ( @$cust_bill_pkg ) { - $discount_show_always = ($cust_bill_pkg->cust_bill_pkg_discount - && $conf->exists('discount-show-always')); + #eating cpu and memory? + #$discount_show_always = ($cust_bill_pkg->cust_bill_pkg_discount + # && $conf->exists('discount-show-always')); foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) { if ( $_ && !$cust_bill_pkg->hidden ) {