[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 413de0ecd1ed0ede46a0cbb83321b8e12ef10ffb
Ivan
ivan at 420.am
Sun Feb 17 18:50:02 PST 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via 413de0ecd1ed0ede46a0cbb83321b8e12ef10ffb (commit)
from 1a887c2d93bb897bf19362a4eff3cf41b834a617 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 413de0ecd1ed0ede46a0cbb83321b8e12ef10ffb
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Feb 17 18:50:00 2013 -0800
fix setup fee discounts w/intro period price plans, RT#21063
diff --git a/FS/FS/part_pkg/delayed_Mixin.pm b/FS/FS/part_pkg/delayed_Mixin.pm
index 83e543a..ab53bda 100644
--- 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 {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_pkg/delayed_Mixin.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list