projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
52f30b1
)
provide pkgpart in _item_discount for template use, #35103
author
Mark Wells
<mark@freeside.biz>
Fri, 5 Jun 2015 01:42:58 +0000
(18:42 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 5 Jun 2015 01:45:42 +0000
(18:45 -0700)
FS/FS/cust_bill_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill_pkg.pm
b/FS/FS/cust_bill_pkg.pm
index
70c7adc
..
4448da6
100644
(file)
--- 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,
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) {
# maybe should show quantity/unit discount?
};
foreach my $pkg_discount (@pkg_discounts) {