diff options
author | Mark Wells <mark@freeside.biz> | 2015-06-04 18:49:25 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-06-04 18:49:25 -0700 |
commit | 75918c60e09cd556e753fc7be18bba97e360eef9 (patch) | |
tree | e402c6ebbea6c17dcb2439da179433674e6de94c /FS/FS/cust_bill_pkg.pm | |
parent | 0a847ef34e29f867dea12cd0bc59d39eb38cdda1 (diff) |
provide pkgpart in _item_discount for template use, #35103
Diffstat (limited to 'FS/FS/cust_bill_pkg.pm')
-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 a5c4410..8233ce0 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) { |