summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main/Billing.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-11-12 15:34:55 -0800
committerMark Wells <mark@freeside.biz>2015-11-12 15:34:55 -0800
commitbc4c63e61b2113088d164dc86ebca429e219fc0b (patch)
tree10cef30d6d2ebb3695ef9359c2a2b672824c38c0 /FS/FS/cust_main/Billing.pm
parent03c5dc73291c514d7373d3a15d671018edeb9568 (diff)
fix selfservice display when there are term discounts defined, looks like fallout from #15539
Diffstat (limited to 'FS/FS/cust_main/Billing.pm')
-rw-r--r--FS/FS/cust_main/Billing.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index eee0958..d3c618d 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -1183,7 +1183,8 @@ sub _make_lines {
} else {
# the normal case, not a supplemental package
$next_bill = $part_pkg->add_freq($sdate, $options{freq_override} || 0);
- return "unparsable frequency: ". $part_pkg->freq
+ return "unparsable frequency: ".
+ ($options{freq_override} || $part_pkg->freq)
if $next_bill == -1;
}