feat: Implement UUID-based customer routing, enhance order request validation, and refactor VM creation job with updated payment logic and ModuleVmware handling.

This commit is contained in:
pbao9
2026-03-12 16:30:02 +07:00
parent 508d5186db
commit dbd3cdafcd
11 changed files with 207 additions and 283 deletions
+6 -4
View File
@@ -25,10 +25,12 @@ class OrderRequest extends FormRequest
'customer_id' => 'required',
'payment_method' => 'required|integer|min:1',
'status' => 'required',
'product.*.product_id' => 'required|numeric|not__in:0',
'product.*.os_id' => 'nullable|integer',
'product.*.billing' => 'required|not__in:0',
'product.*.quantity' => 'required|min:1',
'product.*.product_id' => 'required|numeric|not__in:0',
'product.*.os_id' => 'nullable|integer',
'product.*.billing' => 'required|not__in:0',
'product.*.quantity' => 'required|min:1',
'product.*.server_name' => 'nullable|string|max:255',
'product.*.price_custom' => 'nullable|integer|min:0',
];
}
}