update sometimes

This commit is contained in:
pbao9
2025-07-28 17:02:13 +07:00
parent c1698e7fe7
commit 5ea42105f9
25 changed files with 259 additions and 325 deletions
@@ -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đ',
];
}
}