feat: implement VMware vCenter integration, enhance product pricing display, and update order processing logic.
This commit is contained in:
@@ -24,6 +24,7 @@ class ModuleVmware extends Model
|
||||
'password',
|
||||
'hostname',
|
||||
'vmware_id',
|
||||
'vcenter_id',
|
||||
'os_id',
|
||||
'customer_id',
|
||||
'status'
|
||||
@@ -38,6 +39,10 @@ class ModuleVmware extends Model
|
||||
{
|
||||
return $this->belongsTo(\App\Models\ModuleIpAddress::class, 'module_ip_address_id', 'id');
|
||||
}
|
||||
public function vCenter()
|
||||
{
|
||||
return $this->belongsTo(\App\Models\vCenter::class, 'vcenter_id', 'id');
|
||||
}
|
||||
public function os()
|
||||
{
|
||||
return $this->belongsTo(\App\Models\Os::class);
|
||||
|
||||
Reference in New Issue
Block a user