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-07-01 00:02:31 -0500
commitc4b904d326fa3bca1f9453ae9f58a50a359f98af (patch)
tree009ed197ff44e90e819eaf1e6b497b8f2d4a5fcb /FS
parenta3696f50ea05e5b8f87c24c5298fc35bee03fc75 (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 5ec2f5a25..0b5a07f7a 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2022,9 +2022,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 '';
}