feat: implement VMware vCenter integration, enhance product pricing display, and update order processing logic.

This commit is contained in:
pbao9
2026-03-01 23:10:35 +07:00
parent 6b18c3ff12
commit 1cfcaee871
27 changed files with 1738 additions and 104 deletions
+5
View File
@@ -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);