[freeside-commits] branch FREESIDE_3_BRANCH updated. c78fb6183630e524d5fbf587321f552a470afc02
Ivan
ivan at 420.am
Thu Jan 16 01:55:26 PST 2014
The branch, FREESIDE_3_BRANCH has been updated
via c78fb6183630e524d5fbf587321f552a470afc02 (commit)
from 7070356f09267ce78440bff9f36d7ce6cfcd1802 (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 c78fb6183630e524d5fbf587321f552a470afc02
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Jan 16 01:55:23 2014 -0800
don't allow a start date for packages definitions with prorate_defer_bill, RT#25650
diff --git a/FS/FS/part_pkg/delayed_Mixin.pm b/FS/FS/part_pkg/delayed_Mixin.pm
index ae286d3..751a723 100644
--- a/FS/FS/part_pkg/delayed_Mixin.pm
+++ b/FS/FS/part_pkg/delayed_Mixin.pm
@@ -51,7 +51,10 @@ sub calc_remain {
return $self->NEXT::calc_remain($cust_pkg, %options);
}
-sub can_start_date { ! shift->option('delay_setup', 1) }
+sub can_start_date {
+ my $self = shift;
+ ! $self->option('delay_setup', 1) && $self->NEXT::can_start_date(@_);
+}
sub default_start_date {
my $self = shift;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_pkg/delayed_Mixin.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list