Set HostingAccount expires_at when provisioning from a customer order.
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:
isaacclad
2026-07-13 17:14:11 +00:00
co-authored by Cursor
parent b7f320ca30
commit ebacc3e409
+1
View File
@@ -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,