projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b91dcaf
)
quantities for setup fees on non-flat-rate packages, #13136
author
Mark Wells
<mark@freeside.biz>
Fri, 10 Apr 2015 18:10:06 +0000
(11:10 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 10 Apr 2015 18:10:06 +0000
(11:10 -0700)
FS/FS/part_pkg/recur_Common.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/recur_Common.pm
b/FS/FS/part_pkg/recur_Common.pm
index
03d5c2c
..
3573cf1
100644
(file)
--- a/
FS/FS/part_pkg/recur_Common.pm
+++ b/
FS/FS/part_pkg/recur_Common.pm
@@
-34,7
+34,7
@@
sub calc_setup {
delete $param->{'setup_charge'};
}
- sprintf('%.2f',
$charge - $discount
);
+ sprintf('%.2f',
($cust_pkg->quantity || 1) * ($charge - $discount)
);
}
sub cutoff_day {