feat: Implement comprehensive product management, including categories, pricing, and integration into the order system.
This commit is contained in:
@@ -17,7 +17,7 @@ class StoreOrderRequest extends FormRequest
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'product_id' => 'required|exists:products,id',
|
||||
'product_id' => ['required', Rule::exists('products', 'uuid')->whereNull('deleted_at')],
|
||||
'billing_cycle'=> ['required', Rule::enum(ProductBillingCycle::class), 'exists:product_pricings,billing_cycle'],
|
||||
'server_name' => 'nullable|string|max:255',
|
||||
'os_id' => 'nullable|exists:os,id',
|
||||
|
||||
Reference in New Issue
Block a user