This commit is contained in:
baodev0
2026-09-29 11:18:34 +07:00
parent b057d23d71
commit ab2f9ad702
3 changed files with 28 additions and 45 deletions
@@ -25,6 +25,7 @@ class CreateCustomerRequest extends FormRequest
'fullname' => 'required',
'email' => 'required|email',
'password' => $this->isMethod('post') ? 'required|min:6' : 'nullable|min:6',
'status' => 'nullable|integer|in:0,1,2,3',
'company' => 'nullable',
'phone' => 'nullable',
'address' => 'nullable',