diff options
author | Mark Wells <mark@freeside.biz> | 2015-06-04 18:50:59 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-06-04 18:50:59 -0700 |
commit | 3a0faf78a1dc1e037409fd3e43461af42e47a82d (patch) | |
tree | 9dbf0c3864a90fc3c90a44b50e8f489bf249a5ac | |
parent | 6d674b7531e814b9162696d1919ce644c955b407 (diff) |
provide pkgpart in _item_discount for template use, #35103
-rw-r--r-- | FS/FS/cust_bill_pkg.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index a5c441008..8233ce0d6 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -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) { |