[freeside-commits] branch FREESIDE_2_3_BRANCH updated. d80073cfc680610510eab052d1dd6294a295815a
Ivan
ivan at 420.am
Mon Jul 30 14:50:36 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via d80073cfc680610510eab052d1dd6294a295815a (commit)
from ac789321ade0f8fb86f410afcc16f2f2c8b8e22d (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 d80073cfc680610510eab052d1dd6294a295815a
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jul 30 14:50:35 2012 -0700
fix package changes/cancels with credits turned on, for delayed packages, RT#18576
diff --git a/FS/FS/part_pkg/delayed_Mixin.pm b/FS/FS/part_pkg/delayed_Mixin.pm
index d28480d..83e543a 100644
--- a/FS/FS/part_pkg/delayed_Mixin.pm
+++ b/FS/FS/part_pkg/delayed_Mixin.pm
@@ -2,6 +2,7 @@ package FS::part_pkg::delayed_Mixin;
use strict;
use vars qw(%info);
+use NEXT;
%info = (
'disabled' => 1,
@@ -45,7 +46,7 @@ sub calc_remain {
&& $last_bill == $cust_pkg->setup;
}
- return $self->SUPER::calc_remain($cust_pkg, %options);
+ return $self->NEXT::calc_remain($cust_pkg, %options);
}
sub can_start_date { ! shift->option('delay_setup', 1) }
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_pkg/delayed_Mixin.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list