summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-06-04 18:42:58 -0700
committerMark Wells <mark@freeside.biz>2015-06-04 18:45:42 -0700
commitf94f089ecfc6094c90b4ae31ee83777fe53d403d (patch)
treeac01284362979d70db3f04f5ed8ac8f0b4eaa732
parent52f30b1d784918f63cd403fa03a20eacf9c1a471 (diff)
provide pkgpart in _item_discount for template use, #35103
-rw-r--r--FS/FS/cust_bill_pkg.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm
index 70c7adc7a..4448da62e 100644
--- a/FS/FS/cust_bill_pkg.pm
+++ b/FS/FS/cust_bill_pkg.pm
@@ -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) {