update
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user