From c1bc17318fff6d7636601ef8de7fbce3734a785a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 17 Feb 2013 19:01:04 -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/Template_Mixin.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 759b04ef5..2bf96ae35 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2331,6 +2331,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