Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.6.0-b1
-
Component/s: None
-
Labels:None
Description
When creating an addon for a service, the addon may not be prorated to the parent's service renew date when it should be.
On line 1338 a client group is fetched using a client ID. Change:
&& ($client_group = $this->ClientGroups->get($client->id))
to
&& ($client_group = $this->ClientGroups->get($client->client_group_id))