From 75918c60e09cd556e753fc7be18bba97e360eef9 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 4 Jun 2015 18:49:25 -0700 Subject: [PATCH] provide pkgpart in _item_discount for template use, #35103 --- FS/FS/cust_bill_pkg.pm | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.11.0