Refactor VM resource specs resolution and enhance order payment success email with addon summary; add UpdateVmConfigJob for CPU/RAM updates

This commit is contained in:
baodev0
2026-07-17 14:00:42 +07:00
parent d9da3b5bb3
commit ad20cd5bdc
12 changed files with 458 additions and 33 deletions
+2
View File
@@ -308,6 +308,8 @@ class OrderService
$qty = max(1, (int) ($entry['qty'] ?? 1));
$resolved[] = [
'addon_id' => $addon->id,
'code' => strtolower((string) $addon->code),
'name' => $addon->name,
'qty' => $qty,
'price' => $addon->price,
'subtotal' => $addon->price * $qty,