From 26e91d6afcd21b7113cdc6aebb37ad5acd3d5de8 Mon Sep 17 00:00:00 2001 From: levinse Date: Thu, 7 Jul 2011 17:00:58 +0000 Subject: add a per-package disable_line_item_date_ranges option, RT13200 --- FS/FS/cust_bill.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FS') diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 37baadd93..2d7341efd 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -4564,7 +4564,8 @@ sub _items_cust_bill_pkg { $description .= " (" . time2str($date_format, $cust_bill_pkg->sdate). " - ". time2str($date_format, $cust_bill_pkg->edate). ")" - unless $conf->exists('disable_line_item_date_ranges'); + unless $conf->exists('disable_line_item_date_ranges') + || $cust_pkg->part_pkg->option('disable_line_item_date_ranges',1); my @d = (); -- cgit v1.2.1