summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-06-30 05:29:49 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-06-30 05:40:05 -0500
commit204edd2e581a9a0e30f87135ce30a360783801ba (patch)
tree3347375199e1af5c3edbbfa95c0b70cf53587b3d /FS
parent6263b90de8d84b0887f185c1a035f1fb3030b6d2 (diff)
RT#30705: Change contract end date when changing packages [got rid of chronology requirements]
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_pkg.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 5bd307b..8e88728 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -1986,9 +1986,6 @@ sub _check_change {
#option shouldn't be passed, throw error if it's non-empty
return "Cannot add contract end date when changing packages " . $self->pkgnum;
}
- if ($opt->{'start_date'} && ($opt->{'contract_end'} < $opt->{'start_date'})) {
- return "Contract end date is before change date";
- }
}
return '';
}