summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg.pm
diff options
context:
space:
mode:
authorjeff <jeff>2009-10-28 19:01:18 +0000
committerjeff <jeff>2009-10-28 19:01:18 +0000
commit2cb70470a8e5c3287146008e4ce2c4eb9f242373 (patch)
treee8d161557d4420f988245f3bf00d25d80b1d73d4 /FS/FS/cust_bill_pkg.pm
parent57f5975a062022e280680feed1f692f3e937414b (diff)
UI changes for credit applications include on the fly tax calculations #4729
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-rw-r--r--FS/FS/cust_bill_pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index 4058f1f38..016b8bf66 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -627,7 +627,8 @@ sub disintegrate {
}
#split usage from recur
- my $usage = sprintf( "%.2f", $cust_bill_pkg{recur}->usage );
+ my $usage = sprintf( "%.2f", $cust_bill_pkg{recur}->usage )
+ if exists($cust_bill_pkg{recur});
warn "usage is $usage\n" if $DEBUG > 1;
if ($usage) {
my $cust_bill_pkg_usage =