projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
462a9a2
)
fix discounts on one-time charges, #28956
author
Mark Wells
<mark@freeside.biz>
Mon, 17 Nov 2014 05:19:01 +0000
(21:19 -0800)
committer
Mark Wells
<mark@freeside.biz>
Mon, 17 Nov 2014 05:19:01 +0000
(21:19 -0800)
FS/FS/cust_main/Billing.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Billing.pm
b/FS/FS/cust_main/Billing.pm
index
2c41ecb
..
a681080
100644
(file)
--- a/
FS/FS/cust_main/Billing.pm
+++ b/
FS/FS/cust_main/Billing.pm
@@
-1087,7
+1087,9
@@
sub _make_lines {
my $setup = 0;
my $unitsetup = 0;
my @setup_discounts = ();
- my %setup_param = ( 'discounts' => \@setup_discounts );
+ my %setup_param = ( 'discounts' => \@setup_discounts,
+ 'real_pkgpart' => $params{real_pkgpart}
+ );
# Conditions for setting setup date and charging the setup fee:
# - this is not a recurring-only billing run
# - and the package is not currently being canceled