update sometimes
This commit is contained in:
@@ -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