provide pkgpart in _item_discount for template use, #35103
authorMark Wells <mark@freeside.biz>
Fri, 5 Jun 2015 01:42:58 +0000 (18:42 -0700)
committerMark Wells <mark@freeside.biz>
Fri, 5 Jun 2015 01:45:42 +0000 (18:45 -0700)
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) {