X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=737f68cc157ce56dc5496007d04ac5c587d25ad9;hp=51b97668ec605a55c667ceab133dd568ed98698c;hb=d72073a19a37641e1f8fb888b827be9d7ac74bed;hpb=876eb5c57cbd2b6686ad875b84d9400a3418719c diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 51b97668e..737f68cc1 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2861,8 +2861,12 @@ sub _items_cust_bill_pkg { #at least until cust_bill_pkg has "past" ranges in addition to #the "future" sdate/edate ones... see #3032 + my @dates = ( $self->_date ); + my $prev = $cust_bill_pkg->previous_cust_bill_pkg; + push @dates, $prev->sdate if $prev; + push @d, map &{$escape_function}($_), - $cust_pkg->h_labels_short($self->_date) + $cust_pkg->h_labels_short(@dates) #$cust_bill_pkg->edate, #$cust_bill_pkg->sdate) unless $cust_pkg->part_pkg->hide_svc_detail