summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-02-05 04:49:41 +0000
committerivan <ivan>2011-02-05 04:49:41 +0000
commitaa11ac28cd55fc1fd633906be7342ccbf4e489e0 (patch)
tree16b8ea53783e4da979d435fe05f30bb076e67b35
parentbfcd05f8ead55f8ef1a6c05d410ebe8cf791409c (diff)
add more debug tracing to invoice generation, RT#11452
-rw-r--r--FS/FS/cust_bill.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 33490c951..58beea219 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -4247,6 +4247,9 @@ sub _items_cust_bill_pkg {
if ( $cust_bill_pkg->setup != 0 && (!$type || $type eq 'S') ) {
+ warn "$me _items_cust_bill_pkg adding setup\n"
+ if $DEBUG > 1;
+
my $description = $desc;
$description .= ' Setup' if $cust_bill_pkg->recur != 0;
@@ -4295,6 +4298,9 @@ sub _items_cust_bill_pkg {
)
{
+ warn "$me _items_cust_bill_pkg adding recur/usage\n"
+ if $DEBUG > 1;
+
my $is_summary = $display->summary;
my $description = ($is_summary && $type && $type eq 'U')
? "Usage charges" : $desc;