projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876bc8b
)
quantities for setup fees on non-flat-rate packages, #13136
author
Mark Wells
<mark@freeside.biz>
Thu, 9 Apr 2015 02:09:36 +0000
(19:09 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 10 Apr 2015 05:55:30 +0000
(22:55 -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
ebf8869
..
b73c62c
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 {