summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-02-17 19:01:18 -0800
committerIvan Kohler <ivan@freeside.biz>2013-02-17 19:01:18 -0800
commit6e08b557d59c13ed360084290a9408a2ed909d88 (patch)
tree3a32a59853a7ede965cc2034733aa4674a692afb
parent413de0ecd1ed0ede46a0cbb83321b8e12ef10ffb (diff)
hide display of date ranges when including a setup package as an add-on with a recurring package, RT#21063
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 19db2a0b9..f947f7e04 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -5087,6 +5087,8 @@ sub _items_cust_bill_pkg {
unless (
$conf->exists('disable_line_item_date_ranges')
|| $part_pkg->option('disable_line_item_date_ranges',1)
+ || ! $cust_bill_pkg->sdate
+ || ! $cust_bill_pkg->edate
) {
my $time_period;
my $date_style = '';