diff --git a/extensions/Servers/Proxmox/views/overview.blade.php b/extensions/Servers/Proxmox/views/overview.blade.php index 16514c6b8..65c5942a5 100644 --- a/extensions/Servers/Proxmox/views/overview.blade.php +++ b/extensions/Servers/Proxmox/views/overview.blade.php @@ -893,6 +893,293 @@ + + @php + // Gather comprehensive server information + $diskTotal = (int)($status->maxdisk ?? 0); + $diskUsed = (int)($status->disk ?? 0); + $diskPercent = $diskTotal > 0 ? round(($diskUsed / $diskTotal) * 100, 1) : 0; + + // Get product settings for allocated resources + $productSettings = $server->service?->product?->settings ?? collect(); + $allocatedCores = $productSettings->where('key', 'cores')->first()?->value ?? $cpuCores; + $allocatedMemoryMiB = $productSettings->where('key', 'memory')->first()?->value ?? 0; + $allocatedDiskGiB = $productSettings->where('key', 'disk')->first()?->value ?? 0; + $allocatedBackups = $productSettings->where('key', 'backups')->first()?->value ?? 0; + + // Network totals + $totalNetIn = (int)($status->netin ?? 0); + $totalNetOut = (int)($status->netout ?? 0); + + // Service/billing info + $servicePlan = $server->service?->plan; + $serviceExpires = $server->service?->expires_at; + $serviceStatus = $server->service?->status ?? 'unknown'; + $productName = $server->service?->product?->name ?? 'Unknown Product'; + + // Location info + $locationName = $server->node?->location?->name ?? 'Unknown'; + $nodeName = $server->node?->name ?? 'Unknown'; + @endphp + +
+ Comprehensive details about your virtual machine including specifications, billing, and infrastructure information. +
+Specifications: Allocated CPU, RAM, and storage resources.
+Network: Total bandwidth consumed since VM creation.
+Billing: Service plan and renewal information.
+Infrastructure: Datacenter location and node assignment.
+