provide pkgpart in _item_discount for template use, #35103
[freeside.git] / FS / FS / cust_bill_pkg.pm
index a5c4410..8233ce0 100644 (file)
@@ -834,6 +834,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) {