From 7bc84db7378c6e23fa1495de539a3136b1f44730 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 5 Feb 2011 04:02:34 +0000 Subject: [PATCH] add more debug tracing to invoice generation, RT#11452 --- FS/FS/cust_bill.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) { -- 2.11.0