hide display of date ranges when including a setup package as an add-on with a recurr...
authorIvan Kohler <ivan@freeside.biz>
Mon, 18 Feb 2013 03:01:18 +0000 (19:01 -0800)
committerIvan Kohler <ivan@freeside.biz>
Mon, 18 Feb 2013 03:01:18 +0000 (19:01 -0800)
FS/FS/cust_bill.pm

index 19db2a0..f947f7e 100644 (file)
@@ -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 = '';