Set HostingAccount expires_at when provisioning from a customer order.
Deploy Ladill Hosting / deploy (push) Successful in 37s
Deploy Ladill Hosting / deploy (push) Successful in 37s
Order expiry was stored on CustomerHostingOrder only, so the accounts list showed a dash. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -168,6 +168,7 @@ class ProvisionHostingOrderJob implements ShouldQueue
|
||||
'warning_count' => 0,
|
||||
'suspended_at' => null,
|
||||
'provisioned_at' => now(),
|
||||
'expires_at' => $this->order->calculateExpiryDate(),
|
||||
'metadata' => [
|
||||
'assigned_duration_months' => $this->order->getCycleLengthInMonths(),
|
||||
'initial_password' => $password,
|
||||
|
||||
Reference in New Issue
Block a user