From b23c92f6e21bd165bafa200f3c03ef223346a074 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 10 Jul 2008 03:16:48 +0000 Subject: [PATCH] restore line item date ranges --- FS/FS/cust_bill.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index c29bb4209..7049da6ea 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2537,8 +2537,9 @@ sub _items_cust_bill_pkg { my $description = $desc; unless ( $conf->exists('disable_line_item_date_ranges') ) { - $desc .= " (" . time2str("%x", $cust_bill_pkg->sdate). - " - ". time2str("%x", $cust_bill_pkg->edate). ")"; + warn "improving description"; + $description .= " (" . time2str("%x", $cust_bill_pkg->sdate). + " - ". time2str("%x", $cust_bill_pkg->edate). ")"; } #at least until cust_bill_pkg has "past" ranges in addition to -- 2.20.1