add more debug tracing to invoice generation, RT#11452
authorivan <ivan>
Sat, 5 Feb 2011 04:02:26 +0000 (04:02 +0000)
committerivan <ivan>
Sat, 5 Feb 2011 04:02:26 +0000 (04:02 +0000)
FS/FS/cust_bill.pm

index 9d7f45b..56d022c 100644 (file)
@@ -4228,8 +4228,9 @@ sub _items_cust_bill_pkg {
   foreach my $cust_bill_pkg ( @$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 ) {
 
     foreach ( $s, $r, ($opt{skip_usage} ? () : $u ) ) {
       if ( $_ && !$cust_bill_pkg->hidden ) {