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:
@@ -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',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user