projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4aa01
)
fix setup fee discounts w/intro period price plans, RT#21063
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 18 Feb 2013 02:49:59 +0000
(18:49 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 18 Feb 2013 02:49:59 +0000
(18:49 -0800)
FS/FS/part_pkg/delayed_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/delayed_Mixin.pm
b/FS/FS/part_pkg/delayed_Mixin.pm
index
83e543a
..
ab53bda
100644
(file)
--- a/
FS/FS/part_pkg/delayed_Mixin.pm
+++ b/
FS/FS/part_pkg/delayed_Mixin.pm
@@
-23,7
+23,8
@@
use NEXT;
);
sub calc_setup {
- my($self, $cust_pkg, $time ) = @_;
+ my $self = shift;
+ my( $cust_pkg, $time ) = @_;
unless ( $self->option('delay_setup', 1) ) {
my $d = $cust_pkg->bill || $time;
@@
-31,7
+32,7
@@
sub calc_setup {
$cust_pkg->bill($d);
}
- $self->
option('setup_fee'
);
+ $self->
NEXT::calc_setup(@_
);
}
sub calc_remain {