From 6e08b557d59c13ed360084290a9408a2ed909d88 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 17 Feb 2013 19:01:18 -0800 Subject: [PATCH] hide display of date ranges when including a setup package as an add-on with a recurring package, RT#21063 --- FS/FS/cust_bill.pm | 2 ++ 1 file changed, 2 insertions(+) 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 = ''; -- 2.11.0