This commit is contained in:
baodev0
2026-10-08 11:25:28 +07:00
parent 1544629a1f
commit 8651dde6b1
45 changed files with 1543 additions and 357 deletions
+5
View File
@@ -109,6 +109,11 @@ class Service extends Model
return $this->belongsTo(ModuleVmware::class, 'vm_id');
}
public function resolveVmware(): ?ModuleVmware
{
return $this->vmware ?? $this->orderItem?->order?->vmWare?->first();
}
/** The Plesk hosting account associated with this service, if type = hosting. */
public function hostingAccount()
{