projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bfcd05f
)
add more debug tracing to invoice generation, RT#11452
author
ivan
<ivan>
Sat, 5 Feb 2011 04:49:41 +0000
(
04:49
+0000)
committer
ivan
<ivan>
Sat, 5 Feb 2011 04:49:41 +0000
(
04:49
+0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
33490c9
..
58beea2
100644
(file)
--- 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') ) {
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;
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;
my $is_summary = $display->summary;
my $description = ($is_summary && $type && $type eq 'U')
? "Usage charges" : $desc;