fix historical services showing up on invoices, RT#24405
authorIvan Kohler <ivan@freeside.biz>
Wed, 7 Aug 2013 19:05:56 +0000 (12:05 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 7 Aug 2013 19:05:56 +0000 (12:05 -0700)
FS/FS/Template_Mixin.pm

index dd0801c..dc3b93d 100644 (file)
@@ -2601,7 +2601,7 @@ sub _items_cust_bill_pkg {
               if $DEBUG > 1;
 
             my @svc_labels = map &{$escape_function}($_),
-                        $cust_pkg->h_labels_short($self->_date, undef, 'I');
+                        $cust_pkg->h_labels_short(@dates, 'I');
             push @d, @svc_labels
               unless $cust_bill_pkg->pkgpart_override; #don't redisplay services
             $svc_label = $svc_labels[0];