fix historical services showing up on invoices, RT#24405
[freeside.git] / 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];