hide display of date ranges when including a setup package as an add-on with a recurr...
[freeside.git] / FS / FS / Template_Mixin.pm
index 759b04e..2bf96ae 100644 (file)
@@ -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 = '';