Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 5.5.0
-
Fix Version/s: 5.5.1
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
Under Packages > Domain Options > Configuration you can now set the "Renew Days Before Expiration". This causes the renew date to be offset from the domains expiry date so that domains can be invoiced further in advance, such that invoices are due before the domain actually expires.
However, if the domain has a scheduled cancellation date, and then the renew date is sync'd to an earlier time, the domain is invoiced because the cancellation date is in advance of the renew date.
The solution we discussed that seems viable is to skip any adjustment of the renew date if a cancellation date is set at all.
Possible solution (untested)
In plugins/domains/domains_plugin.php around line 1054 change
To
In plugins/domains/domains_plugin.php around line 1497 change
To