provide pkgpart in _item_discount for template use, #35103
[freeside.git] / FS / FS / cust_bill_pkg.pm
index 70c7adc..4448da6 100644 (file)
@@ -837,6 +837,8 @@ sub _item_discount {
     description     => $self->mt('Discount'),
     amount          => 0,
     ext_description => \@ext,
+    pkgpart         => $self->pkgpart,
+    feepart         => $self->feepart,
     # maybe should show quantity/unit discount?
   };
   foreach my $pkg_discount (@pkg_discounts) {