update sometimes
This commit is contained in:
@@ -26,6 +26,7 @@ class OsVersionRequest extends FormRequest
|
||||
'module_host_id' => 'required',
|
||||
'os_group_id' => 'required',
|
||||
'os_id' => 'required',
|
||||
'template_id' => 'nullable',
|
||||
'status' => 'required'
|
||||
];
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ class RechargeRequest extends FormRequest
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'money' => 'required|numeric|min:200000',
|
||||
'total_amount' => 'required|numeric|min:200000',
|
||||
'bankCode' => 'nullable|string',
|
||||
];
|
||||
}
|
||||
@@ -31,9 +31,9 @@ class RechargeRequest extends FormRequest
|
||||
public function messages()
|
||||
{
|
||||
return [
|
||||
'money.required' => 'Vui lòng nhập số tiền cần nạp.',
|
||||
'money.numeric' => 'Số tiền phải là một số.',
|
||||
'money.min' => 'Số tiền nạp vui lòng lớn hơn hoặc bằng 200.000vnđ',
|
||||
'total_amount.required' => 'Vui lòng nhập số tiền cần nạp.',
|
||||
'total_amount.numeric' => 'Số tiền phải là một số.',
|
||||
'total_amount.min' => 'Số tiền nạp vui lòng lớn hơn hoặc bằng 200.000vnđ',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user